2021-11-04 10:38:16.624 +0100 [debug] (logger.js) Starting FDK in node v12.22.7 on linux 2021-11-04 10:38:25.546 +0100 [debug] (sequelize.js) setting up sqilite at "/home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/.fdk/store.sqlite" 2021-11-04 10:38:27.868 +0100 [debug] (index.js) Running with args {"cmd":"run","gopts":{},"opts":{},"goptArg":{},"optArg":{},"args":[]} 2021-11-04 10:38:27.873 +0100 [debug] (data-util.js) Read {"version_details":{"fdkCli":{"version":"7.1.0","dl":"https://dl.freshdev.io/cli/fdk-7.1.0.tgz","cmd":"npm install https://dl.freshdev.io/cli/fdk-7.1.0.tgz -g"},"addon":{"version":"1.9.15","dl":"https://dl.freshdev.io/cli-addon/addon-1.9.15.zip"},"forced_versions":["4.3.6"]},"last_updated":{"time_stamp":1635934876562}} 2021-11-04 10:38:27.874 +0100 [debug] (updater.js) last check less than an day ago, not looking for updates 2021-11-04 10:38:29.410 +0100 [debug] (manifest.js) Reloading manifest with {"platform-version":"2.2","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"whitelisted-domains":["https://<%= iparam.freshdesk_domain %>.freshdesk.com"]}. 2021-11-04 10:38:29.411 +0100 [debug] (manifest.js) Inferred db as features. 2021-11-04 10:38:29.431 +0100 [debug] (data-util.js) Read {"version_details":{"fdkCli":{"version":"7.1.0","dl":"https://dl.freshdev.io/cli/fdk-7.1.0.tgz","cmd":"npm install https://dl.freshdev.io/cli/fdk-7.1.0.tgz -g"},"addon":{"version":"1.9.15","dl":"https://dl.freshdev.io/cli-addon/addon-1.9.15.zip"},"forced_versions":["4.3.6"]},"last_updated":{"time_stamp":1635934876562}} 2021-11-04 10:38:29.525 +0100 [debug] (data-util.js) Read {"version_details":{"fdkCli":{"version":"7.1.0","dl":"https://dl.freshdev.io/cli/fdk-7.1.0.tgz","cmd":"npm install https://dl.freshdev.io/cli/fdk-7.1.0.tgz -g"},"addon":{"version":"1.9.15","dl":"https://dl.freshdev.io/cli-addon/addon-1.9.15.zip"},"forced_versions":["4.3.6"]},"last_updated":{"time_stamp":1635934876562}} 2021-11-04 10:38:32.886 +0100 [debug] (file-util.js) Error while requiring /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/.report.json: Cannot find module '/home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/.report.json' Require stack: - /home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/utils/file-util.js - /home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/index.js 2021-11-04 10:38:40.213 +0100 [debug] (data-util.js) Read {"version_details":{"fdkCli":{"version":"7.1.0","dl":"https://dl.freshdev.io/cli/fdk-7.1.0.tgz","cmd":"npm install https://dl.freshdev.io/cli/fdk-7.1.0.tgz -g"},"addon":{"version":"1.9.15","dl":"https://dl.freshdev.io/cli-addon/addon-1.9.15.zip"},"forced_versions":["4.3.6"]},"last_updated":{"time_stamp":1635934876562}} 2021-11-04 10:38:47.836 +0100 [debug] (validate.js) asked to skip the following validations,  2021-11-04 10:38:47.837 +0100 [debug] (validate.js) running validator actions 2021-11-04 10:38:47.837 +0100 [debug] (validate.js) running validator app-dir 2021-11-04 10:38:47.838 +0100 [debug] (validate.js) running validator config-dir 2021-11-04 10:38:47.838 +0100 [debug] (config-dir.js) Checking to see if /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/config/ exists. 2021-11-04 10:38:47.839 +0100 [debug] (config-dir.js) Fetched the following config files iparams.json 2021-11-04 10:38:47.839 +0100 [debug] (validate.js) running validator custom-objects 2021-11-04 10:38:47.839 +0100 [debug] (validate.js) running validator event 2021-11-04 10:38:47.839 +0100 [debug] (validate.js) running validator iparam 2021-11-04 10:38:47.845 +0100 [debug] (validate.js) skipping validator lint 2021-11-04 10:38:47.846 +0100 [debug] (validate.js) running validator manifest 2021-11-04 10:38:47.846 +0100 [debug] (manifest.js) running manifest validation with type run_validation 2021-11-04 10:38:47.847 +0100 [debug] (validate.js) skipping validator manifest-dependency 2021-11-04 10:38:47.847 +0100 [debug] (validate.js) running validator oauth 2021-11-04 10:38:47.847 +0100 [debug] (validate.js) skipping validator pkgsize 2021-11-04 10:38:47.847 +0100 [debug] (validate.js) running validator schema 2021-11-04 10:38:47.847 +0100 [debug] (validate.js) running validator version-check 2021-11-04 10:38:47.849 +0100 [warn] [WARN] App was developed in Node.js runtime 10 or below, and is currently being executed in v12.22.7 2021-11-04 10:38:47.862 +0100 [debug] (validators.js) Validating manifest with platform version "2.2" 2021-11-04 10:38:53.264 +0100 [debug] (version-check.js) Deleting coverage folder 2021-11-04 10:38:53.264 +0100 [debug] (version-check.js) Deleting node_modules folder 2021-11-04 10:38:53.264 +0100 [debug] (version-check.js) Modifying Node.js version in manifest 2021-11-04 10:38:53.273 +0100 [debug] (manifest.js) Reloading manifest with {"platform-version":"2.2","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"whitelisted-domains":["https://<%= iparam.freshdesk_domain %>.freshdesk.com"],"engines":{"node":"12.22.7","fdk":"7.1.0"}}. 2021-11-04 10:38:53.273 +0100 [debug] (manifest.js) Inferred db as features. 2021-11-04 10:38:53.275 +0100 [debug] (watcher.js) Preparing to watch the following files ./app,./config,./manifest.json 2021-11-04 10:38:53.279 +0100 [debug] (data-util.js) Read {} 2021-11-04 10:38:53.280 +0100 [debug] (custom-objects.js) to force or not? false 2021-11-04 10:38:53.280 +0100 [debug] (custom-objects.js) beginning to re-sync db 2021-11-04 10:38:53.600 +0100 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/bigint-pivot.js" 2021-11-04 10:38:53.613 +0100 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field-choice.js" 2021-11-04 10:38:53.620 +0100 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field.js" 2021-11-04 10:38:53.627 +0100 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity.js" 2021-11-04 10:38:53.633 +0100 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/record.js" 2021-11-04 10:38:53.640 +0100 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/string-pivot.js" 2021-11-04 10:38:53.659 +0100 [debug] (data-util.js) Read {} 2021-11-04 10:38:53.659 +0100 [debug] (custom-objects.js) updated local store with latest entity hash 2021-11-04 10:38:53.662 +0100 [info] Starting local testing server at http://*:10001/ Append 'dev=true' to your Freshdesk account URL to start testing e.g. https://domain.freshdesk.com/a/tickets/1?dev=true Quit the server with Control-C. 2021-11-04 10:38:53.663 +0100 [info] To test the installation page, visit - http://localhost:10001/custom_configs 2021-11-04 10:39:54.035 +0100 [debug] (data-util.js) Read {} 2021-11-04 10:39:54.036 +0100 [debug] (iframe.js) Responding to product with {"configs":{},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2021-11-04 10:39:54.047 +0100 [debug] (data-util.js) Read {} 2021-11-04 10:39:54.047 +0100 [debug] (iframe.js) Responding to product with {"configs":{},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2021-11-04 10:39:54.064 +0100 [debug] (data-util.js) Read {} 2021-11-04 10:39:54.064 +0100 [debug] (iframe.js) Responding to product with {"configs":{},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2021-11-04 10:39:54.070 +0100 [debug] (data-util.js) Read {} 2021-11-04 10:39:54.070 +0100 [debug] (iframe.js) Responding to product with {"configs":{},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2021-11-04 10:39:54.083 +0100 [debug] (iframe.js) Responding with contents of /template.html 2021-11-04 10:39:54.092 +0100 [debug] (data-util.js) Read {} 2021-11-04 10:39:54.092 +0100 [debug] (iframe.js) Responding to product with {"configs":{},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2021-11-04 10:39:54.102 +0100 [debug] (data-util.js) Read {} 2021-11-04 10:39:54.103 +0100 [debug] (iframe.js) Responding to product with {"configs":{},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2021-11-04 10:39:54.109 +0100 [debug] (iframe.js) Responding with contents of /app.js 2021-11-04 10:39:54.117 +0100 [debug] (coverage-util.js) Instrumenting /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/app/app.js 2021-11-04 10:39:54.238 +0100 [debug] (data-util.js) Read {} 2021-11-04 10:39:54.239 +0100 [debug] (iframe.js) Responding to product with {"configs":{},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2021-11-04 10:39:56.417 +0100 [debug] (coverage-util.js) Writing coverage. 2021-11-04 10:39:56.598 +0100 [debug] (data-util.js) Read {} 2021-11-04 10:39:56.598 +0100 [debug] (iframe.js) Responding to product with {"configs":{},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2021-11-04 10:40:04.248 +0100 [debug] (coverage-util.js) Writing coverage. 2021-11-04 10:40:18.426 +0100 [debug] (data-util.js) Read {} 2021-11-04 10:40:18.426 +0100 [debug] (iframe.js) Responding to product with {"configs":{},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2021-11-04 10:40:22.042 +0100 [debug] (data-util.js) Read {} 2021-11-04 10:40:22.043 +0100 [debug] (iframe.js) Responding to product with {"configs":{},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2021-11-04 10:40:46.858 +0100 [debug] (data-util.js) Read {} 2021-11-04 10:40:46.858 +0100 [debug] (iframe.js) Responding to product with {"configs":{},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2021-11-04 10:40:48.844 +0100 [debug] (data-util.js) Read {} 2021-11-04 10:40:48.844 +0100 [debug] (iframe.js) Responding to product with {"configs":{},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2021-11-04 10:41:08.252 +0100 [debug] (coverage-util.js) Writing coverage. 2021-11-04 10:41:29.698 +0100 [debug] (data-util.js) Read {} 2021-11-04 10:41:29.699 +0100 [debug] (iframe.js) Responding to product with {"configs":{},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2021-11-04 10:41:29.707 +0100 [debug] (data-util.js) Read {} 2021-11-04 10:41:29.707 +0100 [debug] (iframe.js) Responding to product with {"configs":{},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2021-11-04 10:41:29.734 +0100 [debug] (data-util.js) Read {} 2021-11-04 10:41:29.734 +0100 [debug] (iframe.js) Responding to product with {"configs":{},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2021-11-04 10:41:29.742 +0100 [debug] (data-util.js) Read {} 2021-11-04 10:41:29.742 +0100 [debug] (iframe.js) Responding to product with {"configs":{},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2021-11-04 10:41:29.758 +0100 [debug] (data-util.js) Read {} 2021-11-04 10:41:29.758 +0100 [debug] (iframe.js) Responding to product with {"configs":{},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2021-11-04 10:41:29.759 +0100 [debug] (iframe.js) Responding with contents of /template.html 2021-11-04 10:41:29.768 +0100 [debug] (data-util.js) Read {} 2021-11-04 10:41:29.768 +0100 [debug] (iframe.js) Responding to product with {"configs":{},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2021-11-04 10:41:29.777 +0100 [debug] (data-util.js) Read {} 2021-11-04 10:41:29.777 +0100 [debug] (iframe.js) Responding to product with {"configs":{},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2021-11-04 10:41:29.785 +0100 [debug] (iframe.js) Responding with contents of /app.js 2021-11-04 10:41:29.786 +0100 [debug] (coverage-util.js) Instrumenting /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/app/app.js 2021-11-04 10:41:31.907 +0100 [debug] (coverage-util.js) Writing coverage. 2021-11-04 10:41:32.045 +0100 [debug] (data-util.js) Read {} 2021-11-04 10:41:32.046 +0100 [debug] (iframe.js) Responding to product with {"configs":{},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2021-11-04 10:41:41.903 +0100 [debug] (coverage-util.js) Writing coverage. 2021-11-04 10:46:07.897 +0100 [debug] (coverage-util.js) Writing coverage. 2021-11-04 10:49:20.066 +0100 [debug] (data-util.js) Read {} 2021-11-04 10:49:20.066 +0100 [debug] (iframe.js) Responding to product with {"configs":{},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2021-11-04 10:49:20.113 +0100 [debug] (data-util.js) Read {} 2021-11-04 11:16:49.126 +0100 [debug] (data-util.js) Read {} 2021-11-04 11:42:32.063 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://newaccount1635860938018.freshdesk.com/","freshdesk_key":"8fSP0nXRj56OLH5brbv"}}} 2021-11-04 11:42:32.064 +0100 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://newaccount1635860938018.freshdesk.com/"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2021-11-04 11:42:32.071 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://newaccount1635860938018.freshdesk.com/","freshdesk_key":"8fSP0nXRj56OLH5brbv"}}} 2021-11-04 11:42:32.072 +0100 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://newaccount1635860938018.freshdesk.com/"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2021-11-04 11:42:32.090 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://newaccount1635860938018.freshdesk.com/","freshdesk_key":"8fSP0nXRj56OLH5brbv"}}} 2021-11-04 11:42:32.090 +0100 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://newaccount1635860938018.freshdesk.com/"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2021-11-04 11:42:32.097 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://newaccount1635860938018.freshdesk.com/","freshdesk_key":"8fSP0nXRj56OLH5brbv"}}} 2021-11-04 11:42:32.097 +0100 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://newaccount1635860938018.freshdesk.com/"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2021-11-04 11:42:32.109 +0100 [debug] (iframe.js) Responding with contents of /template.html 2021-11-04 11:42:32.110 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://newaccount1635860938018.freshdesk.com/","freshdesk_key":"8fSP0nXRj56OLH5brbv"}}} 2021-11-04 11:42:32.111 +0100 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://newaccount1635860938018.freshdesk.com/"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2021-11-04 11:42:32.121 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://newaccount1635860938018.freshdesk.com/","freshdesk_key":"8fSP0nXRj56OLH5brbv"}}} 2021-11-04 11:42:32.122 +0100 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://newaccount1635860938018.freshdesk.com/"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2021-11-04 11:42:32.123 +0100 [debug] (iframe.js) Responding with contents of /app.js 2021-11-04 11:42:32.123 +0100 [debug] (coverage-util.js) Instrumenting /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/app/app.js 2021-11-04 11:42:32.188 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://newaccount1635860938018.freshdesk.com/","freshdesk_key":"8fSP0nXRj56OLH5brbv"}}} 2021-11-04 11:42:32.188 +0100 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://newaccount1635860938018.freshdesk.com/"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2021-11-04 11:42:34.209 +0100 [debug] (coverage-util.js) Writing coverage. 2021-11-04 11:42:34.437 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://newaccount1635860938018.freshdesk.com/","freshdesk_key":"8fSP0nXRj56OLH5brbv"}}} 2021-11-04 11:42:34.438 +0100 [debug] (iframe.js) Responding to product with {"configs":{},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2021-11-04 11:42:37.221 +0100 [debug] (data-pipe.js) received call for route "proxy" with action "execute" and body {"action":"execute","data":{"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://https://newaccount1635860938018.freshdesk.com/.freshdesk.com/api/v2/tickets/7/time_entries","method":"get"}} 2021-11-04 11:42:37.222 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://newaccount1635860938018.freshdesk.com/","freshdesk_key":"8fSP0nXRj56OLH5brbv"}}} 2021-11-04 11:42:37.245 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://newaccount1635860938018.freshdesk.com/","freshdesk_key":"8fSP0nXRj56OLH5brbv"}}} 2021-11-04 11:42:37.246 +0100 [debug] (proxy.js) Substituing Templates {"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://https://newaccount1635860938018.freshdesk.com/.freshdesk.com/api/v2/tickets/7/time_entries","method":"get"} with {"iparam":{"freshdesk_domain":"https://newaccount1635860938018.freshdesk.com/","freshdesk_key":"8fSP0nXRj56OLH5brbv"},"oauth_iparams":{}} 2021-11-04 11:42:37.247 +0100 [debug] (proxy.js) Parsed https://https://newaccount1635860938018.freshdesk.com/.freshdesk.com/api/v2/tickets/7/time_entries as {"protocol":"https:","slashes":true,"auth":null,"host":"https","port":null,"hostname":"https","hash":null,"search":null,"query":null,"pathname":"//newaccount1635860938018.freshdesk.com/.freshdesk.com/api/v2/tickets/7/time_entries","path":"//newaccount1635860938018.freshdesk.com/.freshdesk.com/api/v2/tickets/7/time_entries","href":"https://https//newaccount1635860938018.freshdesk.com/.freshdesk.com/api/v2/tickets/7/time_entries"} 2021-11-04 11:42:37.248 +0100 [debug] (proxy.js) Proxy errored with Invalid URL - Must be FQDN 2021-11-04 11:42:38.203 +0100 [debug] (coverage-util.js) Writing coverage. 2021-11-04 11:42:43.105 +0100 [debug] (data-pipe.js) received call for route "proxy" with action "execute" and body {"action":"execute","data":{"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://https://newaccount1635860938018.freshdesk.com/.freshdesk.com/api/v2/tickets/7/time_entries","method":"get"}} 2021-11-04 11:42:43.106 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://newaccount1635860938018.freshdesk.com/","freshdesk_key":"8fSP0nXRj56OLH5brbv"}}} 2021-11-04 11:42:43.106 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://newaccount1635860938018.freshdesk.com/","freshdesk_key":"8fSP0nXRj56OLH5brbv"}}} 2021-11-04 11:42:43.106 +0100 [debug] (proxy.js) Substituing Templates {"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://https://newaccount1635860938018.freshdesk.com/.freshdesk.com/api/v2/tickets/7/time_entries","method":"get"} with {"iparam":{"freshdesk_domain":"https://newaccount1635860938018.freshdesk.com/","freshdesk_key":"8fSP0nXRj56OLH5brbv"},"oauth_iparams":{}} 2021-11-04 11:42:43.107 +0100 [debug] (proxy.js) Parsed https://https://newaccount1635860938018.freshdesk.com/.freshdesk.com/api/v2/tickets/7/time_entries as {"protocol":"https:","slashes":true,"auth":null,"host":"https","port":null,"hostname":"https","hash":null,"search":null,"query":null,"pathname":"//newaccount1635860938018.freshdesk.com/.freshdesk.com/api/v2/tickets/7/time_entries","path":"//newaccount1635860938018.freshdesk.com/.freshdesk.com/api/v2/tickets/7/time_entries","href":"https://https//newaccount1635860938018.freshdesk.com/.freshdesk.com/api/v2/tickets/7/time_entries"} 2021-11-04 11:42:43.107 +0100 [debug] (proxy.js) Proxy errored with Invalid URL - Must be FQDN 2021-11-04 11:42:44.210 +0100 [debug] (coverage-util.js) Writing coverage. 2021-11-04 11:42:46.996 +0100 [debug] (data-pipe.js) received call for route "proxy" with action "execute" and body {"action":"execute","data":{"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://https://newaccount1635860938018.freshdesk.com/.freshdesk.com/api/v2/tickets/7/time_entries","method":"get"}} 2021-11-04 11:42:46.996 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://newaccount1635860938018.freshdesk.com/","freshdesk_key":"8fSP0nXRj56OLH5brbv"}}} 2021-11-04 11:42:46.996 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://newaccount1635860938018.freshdesk.com/","freshdesk_key":"8fSP0nXRj56OLH5brbv"}}} 2021-11-04 11:42:46.996 +0100 [debug] (proxy.js) Substituing Templates {"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://https://newaccount1635860938018.freshdesk.com/.freshdesk.com/api/v2/tickets/7/time_entries","method":"get"} with {"iparam":{"freshdesk_domain":"https://newaccount1635860938018.freshdesk.com/","freshdesk_key":"8fSP0nXRj56OLH5brbv"},"oauth_iparams":{}} 2021-11-04 11:42:46.997 +0100 [debug] (proxy.js) Parsed https://https://newaccount1635860938018.freshdesk.com/.freshdesk.com/api/v2/tickets/7/time_entries as {"protocol":"https:","slashes":true,"auth":null,"host":"https","port":null,"hostname":"https","hash":null,"search":null,"query":null,"pathname":"//newaccount1635860938018.freshdesk.com/.freshdesk.com/api/v2/tickets/7/time_entries","path":"//newaccount1635860938018.freshdesk.com/.freshdesk.com/api/v2/tickets/7/time_entries","href":"https://https//newaccount1635860938018.freshdesk.com/.freshdesk.com/api/v2/tickets/7/time_entries"} 2021-11-04 11:42:46.997 +0100 [debug] (proxy.js) Proxy errored with Invalid URL - Must be FQDN 2021-11-04 11:42:48.195 +0100 [debug] (coverage-util.js) Writing coverage. 2021-11-04 11:42:58.061 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://newaccount1635860938018.freshdesk.com/","freshdesk_key":"8fSP0nXRj56OLH5brbv"}}} 2021-11-04 11:42:58.061 +0100 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://newaccount1635860938018.freshdesk.com/"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2021-11-04 11:43:00.664 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://newaccount1635860938018.freshdesk.com/","freshdesk_key":"8fSP0nXRj56OLH5brbv"}}} 2021-11-04 11:43:00.665 +0100 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://newaccount1635860938018.freshdesk.com/"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2021-11-04 11:43:05.265 +0100 [debug] (data-pipe.js) received call for route "proxy" with action "execute" and body {"action":"execute","data":{"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://https://newaccount1635860938018.freshdesk.com/.freshdesk.com/api/v2/tickets/7/time_entries","method":"get"}} 2021-11-04 11:43:05.266 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://newaccount1635860938018.freshdesk.com/","freshdesk_key":"8fSP0nXRj56OLH5brbv"}}} 2021-11-04 11:43:05.266 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://newaccount1635860938018.freshdesk.com/","freshdesk_key":"8fSP0nXRj56OLH5brbv"}}} 2021-11-04 11:43:05.266 +0100 [debug] (proxy.js) Substituing Templates {"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://https://newaccount1635860938018.freshdesk.com/.freshdesk.com/api/v2/tickets/7/time_entries","method":"get"} with {"iparam":{"freshdesk_domain":"https://newaccount1635860938018.freshdesk.com/","freshdesk_key":"8fSP0nXRj56OLH5brbv"},"oauth_iparams":{}} 2021-11-04 11:43:05.267 +0100 [debug] (proxy.js) Parsed https://https://newaccount1635860938018.freshdesk.com/.freshdesk.com/api/v2/tickets/7/time_entries as {"protocol":"https:","slashes":true,"auth":null,"host":"https","port":null,"hostname":"https","hash":null,"search":null,"query":null,"pathname":"//newaccount1635860938018.freshdesk.com/.freshdesk.com/api/v2/tickets/7/time_entries","path":"//newaccount1635860938018.freshdesk.com/.freshdesk.com/api/v2/tickets/7/time_entries","href":"https://https//newaccount1635860938018.freshdesk.com/.freshdesk.com/api/v2/tickets/7/time_entries"} 2021-11-04 11:43:05.267 +0100 [debug] (proxy.js) Proxy errored with Invalid URL - Must be FQDN 2021-11-04 11:43:06.206 +0100 [debug] (coverage-util.js) Writing coverage. 2021-11-04 11:43:19.588 +0100 [debug] (data-pipe.js) received call for route "proxy" with action "execute" and body {"action":"execute","data":{"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://https://newaccount1635860938018.freshdesk.com/.freshdesk.com/api/v2/tickets/7/time_entries","method":"get"}} 2021-11-04 11:43:19.588 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://newaccount1635860938018.freshdesk.com/","freshdesk_key":"8fSP0nXRj56OLH5brbv"}}} 2021-11-04 11:43:19.589 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://newaccount1635860938018.freshdesk.com/","freshdesk_key":"8fSP0nXRj56OLH5brbv"}}} 2021-11-04 11:43:19.589 +0100 [debug] (proxy.js) Substituing Templates {"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://https://newaccount1635860938018.freshdesk.com/.freshdesk.com/api/v2/tickets/7/time_entries","method":"get"} with {"iparam":{"freshdesk_domain":"https://newaccount1635860938018.freshdesk.com/","freshdesk_key":"8fSP0nXRj56OLH5brbv"},"oauth_iparams":{}} 2021-11-04 11:43:19.590 +0100 [debug] (proxy.js) Parsed https://https://newaccount1635860938018.freshdesk.com/.freshdesk.com/api/v2/tickets/7/time_entries as {"protocol":"https:","slashes":true,"auth":null,"host":"https","port":null,"hostname":"https","hash":null,"search":null,"query":null,"pathname":"//newaccount1635860938018.freshdesk.com/.freshdesk.com/api/v2/tickets/7/time_entries","path":"//newaccount1635860938018.freshdesk.com/.freshdesk.com/api/v2/tickets/7/time_entries","href":"https://https//newaccount1635860938018.freshdesk.com/.freshdesk.com/api/v2/tickets/7/time_entries"} 2021-11-04 11:43:19.590 +0100 [debug] (proxy.js) Proxy errored with Invalid URL - Must be FQDN 2021-11-04 11:43:20.200 +0100 [debug] (coverage-util.js) Writing coverage. 2021-11-04 11:43:24.977 +0100 [info] NOTE: We recommend a coverage of 80% for apps that are to be published in the public marketplace. 2021-11-04 11:54:15.444 +0100 [debug] (logger.js) Starting FDK in node v12.22.7 on linux 2021-11-04 11:54:16.312 +0100 [debug] (sequelize.js) setting up sqilite at "/home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/.fdk/store.sqlite" 2021-11-04 11:54:17.237 +0100 [debug] (index.js) Running with args {"cmd":"run","gopts":{},"opts":{},"goptArg":{},"optArg":{},"args":[]} 2021-11-04 11:54:17.237 +0100 [debug] (data-util.js) Read {"version_details":{"fdkCli":{"version":"7.1.0","dl":"https://dl.freshdev.io/cli/fdk-7.1.0.tgz","cmd":"npm install https://dl.freshdev.io/cli/fdk-7.1.0.tgz -g"},"addon":{"version":"1.9.15","dl":"https://dl.freshdev.io/cli-addon/addon-1.9.15.zip"},"forced_versions":["4.3.6"]},"last_updated":{"time_stamp":1635934876562}} 2021-11-04 11:54:17.238 +0100 [debug] (updater.js) last check more than an day ago, looking for updates again 2021-11-04 11:54:17.403 +0100 [debug] (updater.js) remote fdk - 7.1.0, local fdk - 7.1.0 2021-11-04 11:54:17.404 +0100 [debug] (data-util.js) Read {"version_details":{"fdkCli":{"version":"7.1.0","dl":"https://dl.freshdev.io/cli/fdk-7.1.0.tgz","cmd":"npm install https://dl.freshdev.io/cli/fdk-7.1.0.tgz -g"},"addon":{"version":"1.9.15","dl":"https://dl.freshdev.io/cli-addon/addon-1.9.15.zip"},"forced_versions":["4.3.6"]},"last_updated":{"time_stamp":1635934876562}} 2021-11-04 11:54:17.404 +0100 [debug] (updater.js) remote addon - 1.9.15, local addon - 1.9.15 2021-11-04 11:54:17.404 +0100 [debug] (data-util.js) Read {"version_details":{"fdkCli":{"version":"7.1.0","dl":"https://dl.freshdev.io/cli/fdk-7.1.0.tgz","cmd":"npm install https://dl.freshdev.io/cli/fdk-7.1.0.tgz -g"},"addon":{"version":"1.9.15","dl":"https://dl.freshdev.io/cli-addon/addon-1.9.15.zip"},"forced_versions":["4.3.6"]},"last_updated":{"time_stamp":1635934876562}} 2021-11-04 11:54:17.410 +0100 [debug] (data-util.js) Read {"version_details":{"fdkCli":{"version":"7.1.0","dl":"https://dl.freshdev.io/cli/fdk-7.1.0.tgz","cmd":"npm install https://dl.freshdev.io/cli/fdk-7.1.0.tgz -g"},"addon":{"version":"1.9.15","dl":"https://dl.freshdev.io/cli-addon/addon-1.9.15.zip"},"forced_versions":["4.3.6"]},"last_updated":{"time_stamp":1635934876562}} 2021-11-04 11:54:17.704 +0100 [debug] (manifest.js) Reloading manifest with {"platform-version":"2.2","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"whitelisted-domains":["https://<%= iparam.freshdesk_domain %>.freshdesk.com"],"engines":{"node":"12.22.7","fdk":"7.1.0"}}. 2021-11-04 11:54:17.705 +0100 [debug] (manifest.js) Inferred db as features. 2021-11-04 11:54:17.711 +0100 [debug] (data-util.js) Read {"version_details":{"fdkCli":{"version":"7.1.0","dl":"https://dl.freshdev.io/cli/fdk-7.1.0.tgz","cmd":"npm install https://dl.freshdev.io/cli/fdk-7.1.0.tgz -g"},"addon":{"version":"1.9.15","dl":"https://dl.freshdev.io/cli-addon/addon-1.9.15.zip"},"forced_versions":["4.3.6"]},"last_updated":{"time_stamp":1636023257405}} 2021-11-04 11:54:17.727 +0100 [debug] (data-util.js) Read {"version_details":{"fdkCli":{"version":"7.1.0","dl":"https://dl.freshdev.io/cli/fdk-7.1.0.tgz","cmd":"npm install https://dl.freshdev.io/cli/fdk-7.1.0.tgz -g"},"addon":{"version":"1.9.15","dl":"https://dl.freshdev.io/cli-addon/addon-1.9.15.zip"},"forced_versions":["4.3.6"]},"last_updated":{"time_stamp":1636023257405}} 2021-11-04 11:54:18.923 +0100 [debug] (data-util.js) Read {"version_details":{"fdkCli":{"version":"7.1.0","dl":"https://dl.freshdev.io/cli/fdk-7.1.0.tgz","cmd":"npm install https://dl.freshdev.io/cli/fdk-7.1.0.tgz -g"},"addon":{"version":"1.9.15","dl":"https://dl.freshdev.io/cli-addon/addon-1.9.15.zip"},"forced_versions":["4.3.6"]},"last_updated":{"time_stamp":1636023257405}} 2021-11-04 11:54:21.566 +0100 [debug] (validate.js) asked to skip the following validations,  2021-11-04 11:54:21.567 +0100 [debug] (validate.js) running validator actions 2021-11-04 11:54:21.567 +0100 [debug] (validate.js) running validator app-dir 2021-11-04 11:54:21.568 +0100 [debug] (validate.js) running validator config-dir 2021-11-04 11:54:21.568 +0100 [debug] (config-dir.js) Checking to see if /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/config/ exists. 2021-11-04 11:54:21.568 +0100 [debug] (config-dir.js) Fetched the following config files iparams.json 2021-11-04 11:54:21.568 +0100 [debug] (validate.js) running validator custom-objects 2021-11-04 11:54:21.568 +0100 [debug] (validate.js) running validator event 2021-11-04 11:54:21.568 +0100 [debug] (validate.js) running validator iparam 2021-11-04 11:54:21.570 +0100 [debug] (validate.js) skipping validator lint 2021-11-04 11:54:21.571 +0100 [debug] (validate.js) running validator manifest 2021-11-04 11:54:21.571 +0100 [debug] (manifest.js) running manifest validation with type run_validation 2021-11-04 11:54:21.572 +0100 [debug] (validate.js) skipping validator manifest-dependency 2021-11-04 11:54:21.572 +0100 [debug] (validate.js) running validator oauth 2021-11-04 11:54:21.572 +0100 [debug] (validate.js) skipping validator pkgsize 2021-11-04 11:54:21.572 +0100 [debug] (validate.js) running validator schema 2021-11-04 11:54:21.572 +0100 [debug] (validate.js) running validator version-check 2021-11-04 11:54:21.573 +0100 [debug] (validators.js) Validating manifest with platform version "2.2" 2021-11-04 11:54:21.574 +0100 [debug] (watcher.js) Preparing to watch the following files ./app,./config,./manifest.json 2021-11-04 11:54:21.577 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://newaccount1635860938018.freshdesk.com/","freshdesk_key":"8fSP0nXRj56OLH5brbv"}}} 2021-11-04 11:54:21.577 +0100 [debug] (custom-objects.js) to force or not? false 2021-11-04 11:54:21.577 +0100 [debug] (custom-objects.js) beginning to re-sync db 2021-11-04 11:54:21.927 +0100 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/bigint-pivot.js" 2021-11-04 11:54:21.929 +0100 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field-choice.js" 2021-11-04 11:54:21.930 +0100 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field.js" 2021-11-04 11:54:21.931 +0100 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity.js" 2021-11-04 11:54:21.932 +0100 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/record.js" 2021-11-04 11:54:21.932 +0100 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/string-pivot.js" 2021-11-04 11:54:21.946 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://newaccount1635860938018.freshdesk.com/","freshdesk_key":"8fSP0nXRj56OLH5brbv"}}} 2021-11-04 11:54:21.947 +0100 [debug] (custom-objects.js) updated local store with latest entity hash 2021-11-04 11:54:21.950 +0100 [info] Starting local testing server at http://*:10001/ Append 'dev=true' to your Freshdesk account URL to start testing e.g. https://domain.freshdesk.com/a/tickets/1?dev=true Quit the server with Control-C. 2021-11-04 11:54:21.951 +0100 [info] To test the installation page, visit - http://localhost:10001/custom_configs 2021-11-04 11:54:34.047 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://newaccount1635860938018.freshdesk.com/","freshdesk_key":"8fSP0nXRj56OLH5brbv"}}} 2021-11-04 11:54:34.048 +0100 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://newaccount1635860938018.freshdesk.com/"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2021-11-04 11:54:34.055 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://newaccount1635860938018.freshdesk.com/","freshdesk_key":"8fSP0nXRj56OLH5brbv"}}} 2021-11-04 11:54:34.055 +0100 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://newaccount1635860938018.freshdesk.com/"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2021-11-04 11:54:34.075 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://newaccount1635860938018.freshdesk.com/","freshdesk_key":"8fSP0nXRj56OLH5brbv"}}} 2021-11-04 11:54:34.075 +0100 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://newaccount1635860938018.freshdesk.com/"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2021-11-04 11:54:34.081 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://newaccount1635860938018.freshdesk.com/","freshdesk_key":"8fSP0nXRj56OLH5brbv"}}} 2021-11-04 11:54:34.081 +0100 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://newaccount1635860938018.freshdesk.com/"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2021-11-04 11:54:34.099 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://newaccount1635860938018.freshdesk.com/","freshdesk_key":"8fSP0nXRj56OLH5brbv"}}} 2021-11-04 11:54:34.099 +0100 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://newaccount1635860938018.freshdesk.com/"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2021-11-04 11:54:34.103 +0100 [debug] (iframe.js) Responding with contents of /template.html 2021-11-04 11:54:34.112 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://newaccount1635860938018.freshdesk.com/","freshdesk_key":"8fSP0nXRj56OLH5brbv"}}} 2021-11-04 11:54:34.112 +0100 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://newaccount1635860938018.freshdesk.com/"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2021-11-04 11:54:34.138 +0100 [debug] (iframe.js) Responding with contents of /app.js 2021-11-04 11:54:34.154 +0100 [debug] (coverage-util.js) Instrumenting /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/app/app.js 2021-11-04 11:54:34.259 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://newaccount1635860938018.freshdesk.com/","freshdesk_key":"8fSP0nXRj56OLH5brbv"}}} 2021-11-04 11:54:34.259 +0100 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://newaccount1635860938018.freshdesk.com/"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2021-11-04 11:54:36.285 +0100 [debug] (coverage-util.js) Writing coverage. 2021-11-04 11:54:36.408 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://newaccount1635860938018.freshdesk.com/","freshdesk_key":"8fSP0nXRj56OLH5brbv"}}} 2021-11-04 11:54:36.408 +0100 [debug] (iframe.js) Responding to product with {"configs":{},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2021-11-04 11:54:40.414 +0100 [debug] (data-pipe.js) received call for route "proxy" with action "execute" and body {"action":"execute","data":{"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://https://newaccount1635860938018.freshdesk.com/.freshdesk.com/api/v2/tickets/1/time_entries","method":"get"}} 2021-11-04 11:54:40.415 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://newaccount1635860938018.freshdesk.com/","freshdesk_key":"8fSP0nXRj56OLH5brbv"}}} 2021-11-04 11:54:40.418 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://newaccount1635860938018.freshdesk.com/","freshdesk_key":"8fSP0nXRj56OLH5brbv"}}} 2021-11-04 11:54:40.418 +0100 [debug] (proxy.js) Substituing Templates {"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://https://newaccount1635860938018.freshdesk.com/.freshdesk.com/api/v2/tickets/1/time_entries","method":"get"} with {"iparam":{"freshdesk_domain":"https://newaccount1635860938018.freshdesk.com/","freshdesk_key":"8fSP0nXRj56OLH5brbv"},"oauth_iparams":{}} 2021-11-04 11:54:40.420 +0100 [debug] (proxy.js) Parsed https://https://newaccount1635860938018.freshdesk.com/.freshdesk.com/api/v2/tickets/1/time_entries as {"protocol":"https:","slashes":true,"auth":null,"host":"https","port":null,"hostname":"https","hash":null,"search":null,"query":null,"pathname":"//newaccount1635860938018.freshdesk.com/.freshdesk.com/api/v2/tickets/1/time_entries","path":"//newaccount1635860938018.freshdesk.com/.freshdesk.com/api/v2/tickets/1/time_entries","href":"https://https//newaccount1635860938018.freshdesk.com/.freshdesk.com/api/v2/tickets/1/time_entries"} 2021-11-04 11:54:40.420 +0100 [debug] (proxy.js) Proxy errored with Invalid URL - Must be FQDN 2021-11-04 11:54:42.281 +0100 [debug] (coverage-util.js) Writing coverage. 2021-11-04 11:55:06.779 +0100 [debug] (data-pipe.js) received call for route "proxy" with action "execute" and body {"action":"execute","data":{"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://https://newaccount1635860938018.freshdesk.com/.freshdesk.com/api/v2/tickets/1/time_entries","method":"get"}} 2021-11-04 11:55:06.779 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://newaccount1635860938018.freshdesk.com/","freshdesk_key":"8fSP0nXRj56OLH5brbv"}}} 2021-11-04 11:55:06.780 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://newaccount1635860938018.freshdesk.com/","freshdesk_key":"8fSP0nXRj56OLH5brbv"}}} 2021-11-04 11:55:06.780 +0100 [debug] (proxy.js) Substituing Templates {"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://https://newaccount1635860938018.freshdesk.com/.freshdesk.com/api/v2/tickets/1/time_entries","method":"get"} with {"iparam":{"freshdesk_domain":"https://newaccount1635860938018.freshdesk.com/","freshdesk_key":"8fSP0nXRj56OLH5brbv"},"oauth_iparams":{}} 2021-11-04 11:55:06.780 +0100 [debug] (proxy.js) Parsed https://https://newaccount1635860938018.freshdesk.com/.freshdesk.com/api/v2/tickets/1/time_entries as {"protocol":"https:","slashes":true,"auth":null,"host":"https","port":null,"hostname":"https","hash":null,"search":null,"query":null,"pathname":"//newaccount1635860938018.freshdesk.com/.freshdesk.com/api/v2/tickets/1/time_entries","path":"//newaccount1635860938018.freshdesk.com/.freshdesk.com/api/v2/tickets/1/time_entries","href":"https://https//newaccount1635860938018.freshdesk.com/.freshdesk.com/api/v2/tickets/1/time_entries"} 2021-11-04 11:55:06.781 +0100 [debug] (proxy.js) Proxy errored with Invalid URL - Must be FQDN 2021-11-04 11:55:08.269 +0100 [debug] (coverage-util.js) Writing coverage. 2021-11-04 11:55:10.329 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://newaccount1635860938018.freshdesk.com/","freshdesk_key":"8fSP0nXRj56OLH5brbv"}}} 2021-11-04 11:55:10.330 +0100 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://newaccount1635860938018.freshdesk.com/"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2021-11-04 11:55:13.136 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://newaccount1635860938018.freshdesk.com/","freshdesk_key":"8fSP0nXRj56OLH5brbv"}}} 2021-11-04 11:55:13.136 +0100 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://newaccount1635860938018.freshdesk.com/"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2021-11-04 11:55:17.679 +0100 [debug] (data-pipe.js) received call for route "proxy" with action "execute" and body {"action":"execute","data":{"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://https://newaccount1635860938018.freshdesk.com/.freshdesk.com/api/v2/tickets/1/time_entries","method":"get"}} 2021-11-04 11:55:17.680 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://newaccount1635860938018.freshdesk.com/","freshdesk_key":"8fSP0nXRj56OLH5brbv"}}} 2021-11-04 11:55:17.680 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://newaccount1635860938018.freshdesk.com/","freshdesk_key":"8fSP0nXRj56OLH5brbv"}}} 2021-11-04 11:55:17.680 +0100 [debug] (proxy.js) Substituing Templates {"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://https://newaccount1635860938018.freshdesk.com/.freshdesk.com/api/v2/tickets/1/time_entries","method":"get"} with {"iparam":{"freshdesk_domain":"https://newaccount1635860938018.freshdesk.com/","freshdesk_key":"8fSP0nXRj56OLH5brbv"},"oauth_iparams":{}} 2021-11-04 11:55:17.681 +0100 [debug] (proxy.js) Parsed https://https://newaccount1635860938018.freshdesk.com/.freshdesk.com/api/v2/tickets/1/time_entries as {"protocol":"https:","slashes":true,"auth":null,"host":"https","port":null,"hostname":"https","hash":null,"search":null,"query":null,"pathname":"//newaccount1635860938018.freshdesk.com/.freshdesk.com/api/v2/tickets/1/time_entries","path":"//newaccount1635860938018.freshdesk.com/.freshdesk.com/api/v2/tickets/1/time_entries","href":"https://https//newaccount1635860938018.freshdesk.com/.freshdesk.com/api/v2/tickets/1/time_entries"} 2021-11-04 11:55:17.681 +0100 [debug] (proxy.js) Proxy errored with Invalid URL - Must be FQDN 2021-11-04 11:55:18.278 +0100 [debug] (coverage-util.js) Writing coverage. 2021-11-04 12:01:14.155 +0100 [debug] (data-pipe.js) received call for route "proxy" with action "execute" and body {"action":"execute","data":{"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://https://newaccount1635860938018.freshdesk.com/.freshdesk.com/api/v2/tickets/1/time_entries","method":"get"}} 2021-11-04 12:01:14.156 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://newaccount1635860938018.freshdesk.com/","freshdesk_key":"8fSP0nXRj56OLH5brbv"}}} 2021-11-04 12:01:14.156 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://newaccount1635860938018.freshdesk.com/","freshdesk_key":"8fSP0nXRj56OLH5brbv"}}} 2021-11-04 12:01:14.156 +0100 [debug] (proxy.js) Substituing Templates {"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://https://newaccount1635860938018.freshdesk.com/.freshdesk.com/api/v2/tickets/1/time_entries","method":"get"} with {"iparam":{"freshdesk_domain":"https://newaccount1635860938018.freshdesk.com/","freshdesk_key":"8fSP0nXRj56OLH5brbv"},"oauth_iparams":{}} 2021-11-04 12:01:14.157 +0100 [debug] (proxy.js) Parsed https://https://newaccount1635860938018.freshdesk.com/.freshdesk.com/api/v2/tickets/1/time_entries as {"protocol":"https:","slashes":true,"auth":null,"host":"https","port":null,"hostname":"https","hash":null,"search":null,"query":null,"pathname":"//newaccount1635860938018.freshdesk.com/.freshdesk.com/api/v2/tickets/1/time_entries","path":"//newaccount1635860938018.freshdesk.com/.freshdesk.com/api/v2/tickets/1/time_entries","href":"https://https//newaccount1635860938018.freshdesk.com/.freshdesk.com/api/v2/tickets/1/time_entries"} 2021-11-04 12:01:14.157 +0100 [debug] (proxy.js) Proxy errored with Invalid URL - Must be FQDN 2021-11-04 12:01:14.277 +0100 [debug] (coverage-util.js) Writing coverage. 2021-11-04 12:01:16.637 +0100 [info] NOTE: We recommend a coverage of 80% for apps that are to be published in the public marketplace. 2022-02-15 10:11:53.684 +0100 [debug] (logger.js) Starting FDK in node v12.22.7 on linux 2022-02-15 10:12:17.576 +0100 [debug] (sequelize.js) setting up sqilite at "/home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/.fdk/store.sqlite" 2022-02-15 10:12:22.975 +0100 [debug] (index.js) Running with args {"cmd":"run","gopts":{},"opts":{},"goptArg":{},"optArg":{},"args":[]} 2022-02-15 10:12:22.990 +0100 [debug] (data-util.js) Read {"version_details":{"fdkCli":{"version":"7.1.2","dl":"https://dl.freshdev.io/cli/fdk-7.1.2.tgz","cmd":"npm install https://dl.freshdev.io/cli/fdk-7.1.2.tgz -g"},"addon":{"version":"1.9.16","dl":"https://dl.freshdev.io/cli-addon/addon-1.9.16.zip"},"forced_versions":["4.3.6"]},"last_updated":{"time_stamp":1638798840132}} 2022-02-15 10:12:22.991 +0100 [debug] (updater.js) last check more than an day ago, looking for updates again 2022-02-15 10:12:23.655 +0100 [debug] (updater.js) remote fdk - 7.4.0, local fdk - 7.1.2 2022-02-15 10:12:23.658 +0100 [debug] (data-util.js) Read {"version_details":{"fdkCli":{"version":"7.1.2","dl":"https://dl.freshdev.io/cli/fdk-7.1.2.tgz","cmd":"npm install https://dl.freshdev.io/cli/fdk-7.1.2.tgz -g"},"addon":{"version":"1.9.16","dl":"https://dl.freshdev.io/cli-addon/addon-1.9.16.zip"},"forced_versions":["4.3.6"]},"last_updated":{"time_stamp":1638798840132}} 2022-02-15 10:12:23.658 +0100 [debug] (updater.js) remote addon - 1.9.20, local addon - 1.9.16 2022-02-15 10:12:25.571 +0100 [debug] (data-util.js) Read {"version_details":{"fdkCli":{"version":"7.1.2","dl":"https://dl.freshdev.io/cli/fdk-7.1.2.tgz","cmd":"npm install https://dl.freshdev.io/cli/fdk-7.1.2.tgz -g"},"addon":{"version":"1.9.16","dl":"https://dl.freshdev.io/cli-addon/addon-1.9.16.zip"},"forced_versions":["4.3.6"]},"last_updated":{"time_stamp":1638798840132}} 2022-02-15 10:12:25.579 +0100 [debug] (data-util.js) Read {"version_details":{"fdkCli":{"version":"7.4.0","dl":"https://dl.freshdev.io/cli/fdk-7.4.0.tgz","cmd":"npm install https://dl.freshdev.io/cli/fdk-7.4.0.tgz -g"},"addon":{"version":"1.9.20","dl":"https://dl.freshdev.io/cli-addon/addon-1.9.20.zip"},"forced_versions":["4.3.6"]},"last_updated":{"time_stamp":1638798840132}} 2022-02-15 10:15:12.235 +0100 [debug] (updater.js) user responded to update prompt with "false" 2022-02-15 10:15:16.325 +0100 [debug] (manifest.js) Reloading manifest with {"platform-version":"2.2","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"whitelisted-domains":["https://<%= iparam.freshdesk_domain %>.freshdesk.com"],"engines":{"node":"12.22.7","fdk":"7.1.0"}}. 2022-02-15 10:15:16.326 +0100 [debug] (manifest.js) Inferred db as features. 2022-02-15 10:15:16.382 +0100 [debug] (data-util.js) Read {"version_details":{"fdkCli":{"version":"7.4.0","dl":"https://dl.freshdev.io/cli/fdk-7.4.0.tgz","cmd":"npm install https://dl.freshdev.io/cli/fdk-7.4.0.tgz -g"},"addon":{"version":"1.9.20","dl":"https://dl.freshdev.io/cli-addon/addon-1.9.20.zip"},"forced_versions":["4.3.6"]},"last_updated":{"time_stamp":1644916345572}} 2022-02-15 10:15:16.617 +0100 [debug] (data-util.js) Read {"version_details":{"fdkCli":{"version":"7.4.0","dl":"https://dl.freshdev.io/cli/fdk-7.4.0.tgz","cmd":"npm install https://dl.freshdev.io/cli/fdk-7.4.0.tgz -g"},"addon":{"version":"1.9.20","dl":"https://dl.freshdev.io/cli-addon/addon-1.9.20.zip"},"forced_versions":["4.3.6"]},"last_updated":{"time_stamp":1644916345572}} 2022-02-15 10:15:42.958 +0100 [debug] (data-util.js) Read {"version_details":{"fdkCli":{"version":"7.4.0","dl":"https://dl.freshdev.io/cli/fdk-7.4.0.tgz","cmd":"npm install https://dl.freshdev.io/cli/fdk-7.4.0.tgz -g"},"addon":{"version":"1.9.20","dl":"https://dl.freshdev.io/cli-addon/addon-1.9.20.zip"},"forced_versions":["4.3.6"]},"last_updated":{"time_stamp":1644916345572}} 2022-02-15 10:15:59.249 +0100 [debug] (validate.js) asked to skip the following validations,  2022-02-15 10:15:59.250 +0100 [debug] (validate.js) running validator actions 2022-02-15 10:15:59.251 +0100 [debug] (validate.js) running validator app-dir 2022-02-15 10:15:59.253 +0100 [debug] (validate.js) running validator config-dir 2022-02-15 10:15:59.254 +0100 [debug] (config-dir.js) Checking to see if /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/config/ exists. 2022-02-15 10:15:59.255 +0100 [debug] (config-dir.js) Fetched the following config files iparams.json 2022-02-15 10:15:59.255 +0100 [debug] (validate.js) running validator custom-objects 2022-02-15 10:15:59.256 +0100 [debug] (validate.js) running validator event 2022-02-15 10:15:59.256 +0100 [debug] (validate.js) running validator iparam 2022-02-15 10:15:59.271 +0100 [debug] (validate.js) skipping validator lint 2022-02-15 10:15:59.272 +0100 [debug] (validate.js) running validator manifest 2022-02-15 10:15:59.272 +0100 [debug] (manifest.js) running manifest validation with type run_validation 2022-02-15 10:15:59.273 +0100 [debug] (validate.js) skipping validator manifest-dependency 2022-02-15 10:15:59.273 +0100 [debug] (validate.js) running validator oauth 2022-02-15 10:15:59.273 +0100 [debug] (validate.js) skipping validator pkgsize 2022-02-15 10:15:59.274 +0100 [debug] (validate.js) running validator schema 2022-02-15 10:15:59.274 +0100 [debug] (validate.js) running validator version-check 2022-02-15 10:15:59.281 +0100 [debug] (watcher.js) Preparing to watch the following files ./app,./config,./manifest.json 2022-02-15 10:15:59.299 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://newaccount1635860938018.freshdesk.com/","freshdesk_key":"8fSP0nXRj56OLH5brbv"}}} 2022-02-15 10:15:59.300 +0100 [debug] (custom-objects.js) to force or not? false 2022-02-15 10:15:59.300 +0100 [debug] (custom-objects.js) beginning to re-sync db 2022-02-15 10:16:00.235 +0100 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/bigint-pivot.js" 2022-02-15 10:16:00.273 +0100 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field-choice.js" 2022-02-15 10:16:00.291 +0100 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field.js" 2022-02-15 10:16:00.309 +0100 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity.js" 2022-02-15 10:16:00.328 +0100 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/record.js" 2022-02-15 10:16:00.352 +0100 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/string-pivot.js" 2022-02-15 10:16:00.422 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://newaccount1635860938018.freshdesk.com/","freshdesk_key":"8fSP0nXRj56OLH5brbv"}}} 2022-02-15 10:16:00.425 +0100 [debug] (custom-objects.js) updated local store with latest entity hash 2022-02-15 10:16:00.430 +0100 [info] Starting local testing server at http://*:10001/ Append 'dev=true' to your Freshdesk account URL to start testing e.g. https://domain.freshdesk.com/a/tickets/1?dev=true Quit the server with Control-C. 2022-02-15 10:16:00.432 +0100 [info] To test the installation page, visit - http://localhost:10001/custom_configs 2022-02-15 10:16:11.885 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://newaccount1635860938018.freshdesk.com/","freshdesk_key":"8fSP0nXRj56OLH5brbv"}}} 2022-02-15 10:16:11.888 +0100 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://newaccount1635860938018.freshdesk.com/"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-02-15 10:16:11.916 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://newaccount1635860938018.freshdesk.com/","freshdesk_key":"8fSP0nXRj56OLH5brbv"}}} 2022-02-15 10:16:53.574 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://newaccount1635860938018.freshdesk.com/","freshdesk_key":"8fSP0nXRj56OLH5brbv"}}} 2022-02-15 10:17:17.837 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://mycompany7573.freshdesk.com","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 10:17:17.838 +0100 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://mycompany7573.freshdesk.com"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-02-15 10:17:17.882 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://mycompany7573.freshdesk.com","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 10:17:17.883 +0100 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://mycompany7573.freshdesk.com"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-02-15 10:17:17.973 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://mycompany7573.freshdesk.com","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 10:17:17.974 +0100 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://mycompany7573.freshdesk.com"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-02-15 10:17:18.010 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://mycompany7573.freshdesk.com","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 10:17:18.011 +0100 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://mycompany7573.freshdesk.com"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-02-15 10:17:18.067 +0100 [debug] (iframe.js) Responding with contents of /template.html 2022-02-15 10:17:18.120 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://mycompany7573.freshdesk.com","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 10:17:18.121 +0100 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://mycompany7573.freshdesk.com"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-02-15 10:17:18.126 +0100 [debug] (iframe.js) Responding with contents of /app.js 2022-02-15 10:17:18.164 +0100 [debug] (coverage-util.js) Instrumenting /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/app/app.js 2022-02-15 10:17:18.610 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://mycompany7573.freshdesk.com","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 10:17:18.611 +0100 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://mycompany7573.freshdesk.com"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-02-15 10:17:18.657 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://mycompany7573.freshdesk.com","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 10:17:18.658 +0100 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://mycompany7573.freshdesk.com"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-02-15 10:17:20.819 +0100 [debug] (coverage-util.js) Writing coverage. 2022-02-15 10:17:25.244 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://mycompany7573.freshdesk.com","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 10:17:25.245 +0100 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://mycompany7573.freshdesk.com"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-02-15 10:17:33.913 +0100 [debug] (data-pipe.js) received call for route "proxy" with action "execute" and body {"action":"execute","data":{"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://https://mycompany7573.freshdesk.com.freshdesk.com/api/v2/tickets/2/time_entries","method":"get"}} 2022-02-15 10:17:33.916 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://mycompany7573.freshdesk.com","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 10:17:33.965 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://mycompany7573.freshdesk.com","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 10:17:33.966 +0100 [debug] (proxy.js) Substituing Templates {"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://https://mycompany7573.freshdesk.com.freshdesk.com/api/v2/tickets/2/time_entries","method":"get"} with {"iparam":{"freshdesk_domain":"https://mycompany7573.freshdesk.com","freshdesk_key":"InkU762V0Yzge4RcTLL"},"oauth_iparams":{}} 2022-02-15 10:17:33.970 +0100 [debug] (proxy.js) Parsed https://https://mycompany7573.freshdesk.com.freshdesk.com/api/v2/tickets/2/time_entries as {"protocol":"https:","slashes":true,"auth":null,"host":"https","port":null,"hostname":"https","hash":null,"search":null,"query":null,"pathname":"//mycompany7573.freshdesk.com.freshdesk.com/api/v2/tickets/2/time_entries","path":"//mycompany7573.freshdesk.com.freshdesk.com/api/v2/tickets/2/time_entries","href":"https://https//mycompany7573.freshdesk.com.freshdesk.com/api/v2/tickets/2/time_entries"} 2022-02-15 10:17:33.973 +0100 [debug] (proxy.js) Proxy errored with Invalid URL - Must be FQDN 2022-02-15 10:17:34.822 +0100 [debug] (coverage-util.js) Writing coverage. 2022-02-15 10:17:46.795 +0100 [debug] (data-pipe.js) received call for route "proxy" with action "execute" and body {"action":"execute","data":{"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://https://mycompany7573.freshdesk.com.freshdesk.com/api/v2/tickets/2/time_entries","method":"get"}} 2022-02-15 10:17:46.797 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://mycompany7573.freshdesk.com","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 10:17:46.799 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://mycompany7573.freshdesk.com","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 10:17:46.799 +0100 [debug] (proxy.js) Substituing Templates {"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://https://mycompany7573.freshdesk.com.freshdesk.com/api/v2/tickets/2/time_entries","method":"get"} with {"iparam":{"freshdesk_domain":"https://mycompany7573.freshdesk.com","freshdesk_key":"InkU762V0Yzge4RcTLL"},"oauth_iparams":{}} 2022-02-15 10:17:46.802 +0100 [debug] (proxy.js) Parsed https://https://mycompany7573.freshdesk.com.freshdesk.com/api/v2/tickets/2/time_entries as {"protocol":"https:","slashes":true,"auth":null,"host":"https","port":null,"hostname":"https","hash":null,"search":null,"query":null,"pathname":"//mycompany7573.freshdesk.com.freshdesk.com/api/v2/tickets/2/time_entries","path":"//mycompany7573.freshdesk.com.freshdesk.com/api/v2/tickets/2/time_entries","href":"https://https//mycompany7573.freshdesk.com.freshdesk.com/api/v2/tickets/2/time_entries"} 2022-02-15 10:17:46.803 +0100 [debug] (proxy.js) Proxy errored with Invalid URL - Must be FQDN 2022-02-15 10:17:46.823 +0100 [debug] (coverage-util.js) Writing coverage. 2022-02-15 10:17:52.643 +0100 [debug] (data-pipe.js) received call for route "proxy" with action "execute" and body {"action":"execute","data":{"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://https://mycompany7573.freshdesk.com.freshdesk.com/api/v2/tickets/2/time_entries","method":"get"}} 2022-02-15 10:17:52.645 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://mycompany7573.freshdesk.com","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 10:17:52.646 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://mycompany7573.freshdesk.com","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 10:17:52.647 +0100 [debug] (proxy.js) Substituing Templates {"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://https://mycompany7573.freshdesk.com.freshdesk.com/api/v2/tickets/2/time_entries","method":"get"} with {"iparam":{"freshdesk_domain":"https://mycompany7573.freshdesk.com","freshdesk_key":"InkU762V0Yzge4RcTLL"},"oauth_iparams":{}} 2022-02-15 10:17:52.649 +0100 [debug] (proxy.js) Parsed https://https://mycompany7573.freshdesk.com.freshdesk.com/api/v2/tickets/2/time_entries as {"protocol":"https:","slashes":true,"auth":null,"host":"https","port":null,"hostname":"https","hash":null,"search":null,"query":null,"pathname":"//mycompany7573.freshdesk.com.freshdesk.com/api/v2/tickets/2/time_entries","path":"//mycompany7573.freshdesk.com.freshdesk.com/api/v2/tickets/2/time_entries","href":"https://https//mycompany7573.freshdesk.com.freshdesk.com/api/v2/tickets/2/time_entries"} 2022-02-15 10:17:52.649 +0100 [debug] (proxy.js) Proxy errored with Invalid URL - Must be FQDN 2022-02-15 10:17:52.833 +0100 [debug] (coverage-util.js) Writing coverage. 2022-02-15 10:17:53.831 +0100 [debug] (data-pipe.js) received call for route "proxy" with action "execute" and body {"action":"execute","data":{"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://https://mycompany7573.freshdesk.com.freshdesk.com/api/v2/tickets/2/time_entries","method":"get"}} 2022-02-15 10:17:53.833 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://mycompany7573.freshdesk.com","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 10:17:53.835 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://mycompany7573.freshdesk.com","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 10:17:53.836 +0100 [debug] (proxy.js) Substituing Templates {"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://https://mycompany7573.freshdesk.com.freshdesk.com/api/v2/tickets/2/time_entries","method":"get"} with {"iparam":{"freshdesk_domain":"https://mycompany7573.freshdesk.com","freshdesk_key":"InkU762V0Yzge4RcTLL"},"oauth_iparams":{}} 2022-02-15 10:17:53.853 +0100 [debug] (proxy.js) Parsed https://https://mycompany7573.freshdesk.com.freshdesk.com/api/v2/tickets/2/time_entries as {"protocol":"https:","slashes":true,"auth":null,"host":"https","port":null,"hostname":"https","hash":null,"search":null,"query":null,"pathname":"//mycompany7573.freshdesk.com.freshdesk.com/api/v2/tickets/2/time_entries","path":"//mycompany7573.freshdesk.com.freshdesk.com/api/v2/tickets/2/time_entries","href":"https://https//mycompany7573.freshdesk.com.freshdesk.com/api/v2/tickets/2/time_entries"} 2022-02-15 10:17:53.854 +0100 [debug] (proxy.js) Proxy errored with Invalid URL - Must be FQDN 2022-02-15 10:17:54.133 +0100 [debug] (data-pipe.js) received call for route "proxy" with action "execute" and body {"action":"execute","data":{"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://https://mycompany7573.freshdesk.com.freshdesk.com/api/v2/tickets/2/time_entries","method":"get"}} 2022-02-15 10:17:54.135 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://mycompany7573.freshdesk.com","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 10:17:54.136 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://mycompany7573.freshdesk.com","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 10:17:54.136 +0100 [debug] (proxy.js) Substituing Templates {"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://https://mycompany7573.freshdesk.com.freshdesk.com/api/v2/tickets/2/time_entries","method":"get"} with {"iparam":{"freshdesk_domain":"https://mycompany7573.freshdesk.com","freshdesk_key":"InkU762V0Yzge4RcTLL"},"oauth_iparams":{}} 2022-02-15 10:17:54.138 +0100 [debug] (proxy.js) Parsed https://https://mycompany7573.freshdesk.com.freshdesk.com/api/v2/tickets/2/time_entries as {"protocol":"https:","slashes":true,"auth":null,"host":"https","port":null,"hostname":"https","hash":null,"search":null,"query":null,"pathname":"//mycompany7573.freshdesk.com.freshdesk.com/api/v2/tickets/2/time_entries","path":"//mycompany7573.freshdesk.com.freshdesk.com/api/v2/tickets/2/time_entries","href":"https://https//mycompany7573.freshdesk.com.freshdesk.com/api/v2/tickets/2/time_entries"} 2022-02-15 10:17:54.139 +0100 [debug] (proxy.js) Proxy errored with Invalid URL - Must be FQDN 2022-02-15 10:17:54.359 +0100 [debug] (data-pipe.js) received call for route "proxy" with action "execute" and body {"action":"execute","data":{"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://https://mycompany7573.freshdesk.com.freshdesk.com/api/v2/tickets/2/time_entries","method":"get"}} 2022-02-15 10:17:54.362 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://mycompany7573.freshdesk.com","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 10:17:54.363 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://mycompany7573.freshdesk.com","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 10:17:54.364 +0100 [debug] (proxy.js) Substituing Templates {"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://https://mycompany7573.freshdesk.com.freshdesk.com/api/v2/tickets/2/time_entries","method":"get"} with {"iparam":{"freshdesk_domain":"https://mycompany7573.freshdesk.com","freshdesk_key":"InkU762V0Yzge4RcTLL"},"oauth_iparams":{}} 2022-02-15 10:17:54.367 +0100 [debug] (proxy.js) Parsed https://https://mycompany7573.freshdesk.com.freshdesk.com/api/v2/tickets/2/time_entries as {"protocol":"https:","slashes":true,"auth":null,"host":"https","port":null,"hostname":"https","hash":null,"search":null,"query":null,"pathname":"//mycompany7573.freshdesk.com.freshdesk.com/api/v2/tickets/2/time_entries","path":"//mycompany7573.freshdesk.com.freshdesk.com/api/v2/tickets/2/time_entries","href":"https://https//mycompany7573.freshdesk.com.freshdesk.com/api/v2/tickets/2/time_entries"} 2022-02-15 10:17:54.367 +0100 [debug] (proxy.js) Proxy errored with Invalid URL - Must be FQDN 2022-02-15 10:17:54.553 +0100 [debug] (data-pipe.js) received call for route "proxy" with action "execute" and body {"action":"execute","data":{"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://https://mycompany7573.freshdesk.com.freshdesk.com/api/v2/tickets/2/time_entries","method":"get"}} 2022-02-15 10:17:54.555 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://mycompany7573.freshdesk.com","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 10:17:54.556 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://mycompany7573.freshdesk.com","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 10:17:54.557 +0100 [debug] (proxy.js) Substituing Templates {"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://https://mycompany7573.freshdesk.com.freshdesk.com/api/v2/tickets/2/time_entries","method":"get"} with {"iparam":{"freshdesk_domain":"https://mycompany7573.freshdesk.com","freshdesk_key":"InkU762V0Yzge4RcTLL"},"oauth_iparams":{}} 2022-02-15 10:17:54.561 +0100 [debug] (proxy.js) Parsed https://https://mycompany7573.freshdesk.com.freshdesk.com/api/v2/tickets/2/time_entries as {"protocol":"https:","slashes":true,"auth":null,"host":"https","port":null,"hostname":"https","hash":null,"search":null,"query":null,"pathname":"//mycompany7573.freshdesk.com.freshdesk.com/api/v2/tickets/2/time_entries","path":"//mycompany7573.freshdesk.com.freshdesk.com/api/v2/tickets/2/time_entries","href":"https://https//mycompany7573.freshdesk.com.freshdesk.com/api/v2/tickets/2/time_entries"} 2022-02-15 10:17:54.561 +0100 [debug] (proxy.js) Proxy errored with Invalid URL - Must be FQDN 2022-02-15 10:17:54.820 +0100 [debug] (coverage-util.js) Writing coverage. 2022-02-15 10:17:54.859 +0100 [debug] (data-pipe.js) received call for route "proxy" with action "execute" and body {"action":"execute","data":{"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://https://mycompany7573.freshdesk.com.freshdesk.com/api/v2/tickets/2/time_entries","method":"get"}} 2022-02-15 10:17:54.860 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://mycompany7573.freshdesk.com","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 10:17:54.861 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://mycompany7573.freshdesk.com","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 10:17:54.861 +0100 [debug] (proxy.js) Substituing Templates {"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://https://mycompany7573.freshdesk.com.freshdesk.com/api/v2/tickets/2/time_entries","method":"get"} with {"iparam":{"freshdesk_domain":"https://mycompany7573.freshdesk.com","freshdesk_key":"InkU762V0Yzge4RcTLL"},"oauth_iparams":{}} 2022-02-15 10:17:54.862 +0100 [debug] (proxy.js) Parsed https://https://mycompany7573.freshdesk.com.freshdesk.com/api/v2/tickets/2/time_entries as {"protocol":"https:","slashes":true,"auth":null,"host":"https","port":null,"hostname":"https","hash":null,"search":null,"query":null,"pathname":"//mycompany7573.freshdesk.com.freshdesk.com/api/v2/tickets/2/time_entries","path":"//mycompany7573.freshdesk.com.freshdesk.com/api/v2/tickets/2/time_entries","href":"https://https//mycompany7573.freshdesk.com.freshdesk.com/api/v2/tickets/2/time_entries"} 2022-02-15 10:17:54.862 +0100 [debug] (proxy.js) Proxy errored with Invalid URL - Must be FQDN 2022-02-15 10:17:54.934 +0100 [debug] (data-pipe.js) received call for route "proxy" with action "execute" and body {"action":"execute","data":{"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://https://mycompany7573.freshdesk.com.freshdesk.com/api/v2/tickets/2/time_entries","method":"get"}} 2022-02-15 10:17:54.935 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://mycompany7573.freshdesk.com","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 10:17:54.936 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://mycompany7573.freshdesk.com","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 10:17:54.936 +0100 [debug] (proxy.js) Substituing Templates {"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://https://mycompany7573.freshdesk.com.freshdesk.com/api/v2/tickets/2/time_entries","method":"get"} with {"iparam":{"freshdesk_domain":"https://mycompany7573.freshdesk.com","freshdesk_key":"InkU762V0Yzge4RcTLL"},"oauth_iparams":{}} 2022-02-15 10:17:54.937 +0100 [debug] (proxy.js) Parsed https://https://mycompany7573.freshdesk.com.freshdesk.com/api/v2/tickets/2/time_entries as {"protocol":"https:","slashes":true,"auth":null,"host":"https","port":null,"hostname":"https","hash":null,"search":null,"query":null,"pathname":"//mycompany7573.freshdesk.com.freshdesk.com/api/v2/tickets/2/time_entries","path":"//mycompany7573.freshdesk.com.freshdesk.com/api/v2/tickets/2/time_entries","href":"https://https//mycompany7573.freshdesk.com.freshdesk.com/api/v2/tickets/2/time_entries"} 2022-02-15 10:17:54.937 +0100 [debug] (proxy.js) Proxy errored with Invalid URL - Must be FQDN 2022-02-15 10:17:56.827 +0100 [debug] (coverage-util.js) Writing coverage. 2022-02-15 10:17:57.712 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://mycompany7573.freshdesk.com","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 10:17:57.713 +0100 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://mycompany7573.freshdesk.com"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-02-15 10:18:05.341 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://mycompany7573.freshdesk.com","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 10:18:05.342 +0100 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://mycompany7573.freshdesk.com"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-02-15 10:18:13.255 +0100 [debug] (data-pipe.js) received call for route "proxy" with action "execute" and body {"action":"execute","data":{"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://https://mycompany7573.freshdesk.com.freshdesk.com/api/v2/tickets/2/time_entries","method":"get"}} 2022-02-15 10:18:13.260 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://mycompany7573.freshdesk.com","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 10:18:13.262 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://mycompany7573.freshdesk.com","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 10:18:13.263 +0100 [debug] (proxy.js) Substituing Templates {"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://https://mycompany7573.freshdesk.com.freshdesk.com/api/v2/tickets/2/time_entries","method":"get"} with {"iparam":{"freshdesk_domain":"https://mycompany7573.freshdesk.com","freshdesk_key":"InkU762V0Yzge4RcTLL"},"oauth_iparams":{}} 2022-02-15 10:18:13.266 +0100 [debug] (proxy.js) Parsed https://https://mycompany7573.freshdesk.com.freshdesk.com/api/v2/tickets/2/time_entries as {"protocol":"https:","slashes":true,"auth":null,"host":"https","port":null,"hostname":"https","hash":null,"search":null,"query":null,"pathname":"//mycompany7573.freshdesk.com.freshdesk.com/api/v2/tickets/2/time_entries","path":"//mycompany7573.freshdesk.com.freshdesk.com/api/v2/tickets/2/time_entries","href":"https://https//mycompany7573.freshdesk.com.freshdesk.com/api/v2/tickets/2/time_entries"} 2022-02-15 10:18:13.267 +0100 [debug] (proxy.js) Proxy errored with Invalid URL - Must be FQDN 2022-02-15 10:18:14.839 +0100 [debug] (coverage-util.js) Writing coverage. 2022-02-15 10:19:13.234 +0100 [debug] (data-pipe.js) received call for route "proxy" with action "execute" and body {"action":"execute","data":{"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://https://mycompany7573.freshdesk.com.freshdesk.com/api/v2/tickets/2/time_entries","method":"get"}} 2022-02-15 10:19:13.236 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://mycompany7573.freshdesk.com","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 10:19:13.237 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://mycompany7573.freshdesk.com","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 10:19:13.238 +0100 [debug] (proxy.js) Substituing Templates {"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://https://mycompany7573.freshdesk.com.freshdesk.com/api/v2/tickets/2/time_entries","method":"get"} with {"iparam":{"freshdesk_domain":"https://mycompany7573.freshdesk.com","freshdesk_key":"InkU762V0Yzge4RcTLL"},"oauth_iparams":{}} 2022-02-15 10:19:13.240 +0100 [debug] (proxy.js) Parsed https://https://mycompany7573.freshdesk.com.freshdesk.com/api/v2/tickets/2/time_entries as {"protocol":"https:","slashes":true,"auth":null,"host":"https","port":null,"hostname":"https","hash":null,"search":null,"query":null,"pathname":"//mycompany7573.freshdesk.com.freshdesk.com/api/v2/tickets/2/time_entries","path":"//mycompany7573.freshdesk.com.freshdesk.com/api/v2/tickets/2/time_entries","href":"https://https//mycompany7573.freshdesk.com.freshdesk.com/api/v2/tickets/2/time_entries"} 2022-02-15 10:19:13.241 +0100 [debug] (proxy.js) Proxy errored with Invalid URL - Must be FQDN 2022-02-15 10:19:14.821 +0100 [debug] (coverage-util.js) Writing coverage. 2022-02-15 10:19:45.695 +0100 [debug] (data-pipe.js) received call for route "proxy" with action "execute" and body {"action":"execute","data":{"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://https://mycompany7573.freshdesk.com.freshdesk.com/api/v2/tickets/2/time_entries","method":"get"}} 2022-02-15 10:19:45.697 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://mycompany7573.freshdesk.com","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 10:19:45.698 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://mycompany7573.freshdesk.com","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 10:19:45.699 +0100 [debug] (proxy.js) Substituing Templates {"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://https://mycompany7573.freshdesk.com.freshdesk.com/api/v2/tickets/2/time_entries","method":"get"} with {"iparam":{"freshdesk_domain":"https://mycompany7573.freshdesk.com","freshdesk_key":"InkU762V0Yzge4RcTLL"},"oauth_iparams":{}} 2022-02-15 10:19:45.702 +0100 [debug] (proxy.js) Parsed https://https://mycompany7573.freshdesk.com.freshdesk.com/api/v2/tickets/2/time_entries as {"protocol":"https:","slashes":true,"auth":null,"host":"https","port":null,"hostname":"https","hash":null,"search":null,"query":null,"pathname":"//mycompany7573.freshdesk.com.freshdesk.com/api/v2/tickets/2/time_entries","path":"//mycompany7573.freshdesk.com.freshdesk.com/api/v2/tickets/2/time_entries","href":"https://https//mycompany7573.freshdesk.com.freshdesk.com/api/v2/tickets/2/time_entries"} 2022-02-15 10:19:45.703 +0100 [debug] (proxy.js) Proxy errored with Invalid URL - Must be FQDN 2022-02-15 10:19:46.826 +0100 [debug] (coverage-util.js) Writing coverage. 2022-02-15 10:21:04.260 +0100 [debug] (data-pipe.js) received call for route "proxy" with action "execute" and body {"action":"execute","data":{"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://https://mycompany7573.freshdesk.com.freshdesk.com/api/v2/tickets/2/time_entries","method":"get"}} 2022-02-15 10:21:04.262 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://mycompany7573.freshdesk.com","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 10:21:04.263 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://mycompany7573.freshdesk.com","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 10:21:04.264 +0100 [debug] (proxy.js) Substituing Templates {"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://https://mycompany7573.freshdesk.com.freshdesk.com/api/v2/tickets/2/time_entries","method":"get"} with {"iparam":{"freshdesk_domain":"https://mycompany7573.freshdesk.com","freshdesk_key":"InkU762V0Yzge4RcTLL"},"oauth_iparams":{}} 2022-02-15 10:21:04.267 +0100 [debug] (proxy.js) Parsed https://https://mycompany7573.freshdesk.com.freshdesk.com/api/v2/tickets/2/time_entries as {"protocol":"https:","slashes":true,"auth":null,"host":"https","port":null,"hostname":"https","hash":null,"search":null,"query":null,"pathname":"//mycompany7573.freshdesk.com.freshdesk.com/api/v2/tickets/2/time_entries","path":"//mycompany7573.freshdesk.com.freshdesk.com/api/v2/tickets/2/time_entries","href":"https://https//mycompany7573.freshdesk.com.freshdesk.com/api/v2/tickets/2/time_entries"} 2022-02-15 10:21:04.268 +0100 [debug] (proxy.js) Proxy errored with Invalid URL - Must be FQDN 2022-02-15 10:21:04.833 +0100 [debug] (coverage-util.js) Writing coverage. 2022-02-15 10:22:24.269 +0100 [info] NOTE: We recommend a coverage of 80% for apps that are to be published in the public marketplace. 2022-02-15 10:22:28.030 +0100 [debug] (logger.js) Starting FDK in node v12.22.7 on linux 2022-02-15 10:22:30.606 +0100 [debug] (sequelize.js) setting up sqilite at "/home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/.fdk/store.sqlite" 2022-02-15 10:22:32.347 +0100 [debug] (index.js) Running with args {"cmd":"run","gopts":{},"opts":{},"goptArg":{},"optArg":{},"args":[]} 2022-02-15 10:22:32.349 +0100 [debug] (data-util.js) Read {"version_details":{"fdkCli":{"version":"7.4.0","dl":"https://dl.freshdev.io/cli/fdk-7.4.0.tgz","cmd":"npm install https://dl.freshdev.io/cli/fdk-7.4.0.tgz -g"},"addon":{"version":"1.9.20","dl":"https://dl.freshdev.io/cli-addon/addon-1.9.20.zip"},"forced_versions":["4.3.6"]},"last_updated":{"time_stamp":1644916345572}} 2022-02-15 10:22:32.349 +0100 [debug] (updater.js) last check less than an day ago, not looking for updates 2022-02-15 10:22:32.929 +0100 [debug] (manifest.js) Reloading manifest with {"platform-version":"2.2","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"whitelisted-domains":["https://<%= iparam.freshdesk_domain %>.freshdesk.com"],"engines":{"node":"12.22.7","fdk":"7.1.0"}}. 2022-02-15 10:22:32.929 +0100 [debug] (manifest.js) Inferred db as features. 2022-02-15 10:22:32.934 +0100 [debug] (data-util.js) Read {"version_details":{"fdkCli":{"version":"7.4.0","dl":"https://dl.freshdev.io/cli/fdk-7.4.0.tgz","cmd":"npm install https://dl.freshdev.io/cli/fdk-7.4.0.tgz -g"},"addon":{"version":"1.9.20","dl":"https://dl.freshdev.io/cli-addon/addon-1.9.20.zip"},"forced_versions":["4.3.6"]},"last_updated":{"time_stamp":1644916345572}} 2022-02-15 10:22:32.961 +0100 [debug] (data-util.js) Read {"version_details":{"fdkCli":{"version":"7.4.0","dl":"https://dl.freshdev.io/cli/fdk-7.4.0.tgz","cmd":"npm install https://dl.freshdev.io/cli/fdk-7.4.0.tgz -g"},"addon":{"version":"1.9.20","dl":"https://dl.freshdev.io/cli-addon/addon-1.9.20.zip"},"forced_versions":["4.3.6"]},"last_updated":{"time_stamp":1644916345572}} 2022-02-15 10:22:35.481 +0100 [debug] (data-util.js) Read {"version_details":{"fdkCli":{"version":"7.4.0","dl":"https://dl.freshdev.io/cli/fdk-7.4.0.tgz","cmd":"npm install https://dl.freshdev.io/cli/fdk-7.4.0.tgz -g"},"addon":{"version":"1.9.20","dl":"https://dl.freshdev.io/cli-addon/addon-1.9.20.zip"},"forced_versions":["4.3.6"]},"last_updated":{"time_stamp":1644916345572}} 2022-02-15 10:22:39.704 +0100 [debug] (validate.js) asked to skip the following validations,  2022-02-15 10:22:39.705 +0100 [debug] (validate.js) running validator actions 2022-02-15 10:22:39.705 +0100 [debug] (validate.js) running validator app-dir 2022-02-15 10:22:39.707 +0100 [debug] (validate.js) running validator config-dir 2022-02-15 10:22:39.708 +0100 [debug] (config-dir.js) Checking to see if /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/config/ exists. 2022-02-15 10:22:39.709 +0100 [debug] (config-dir.js) Fetched the following config files iparams.json 2022-02-15 10:22:39.709 +0100 [debug] (validate.js) running validator custom-objects 2022-02-15 10:22:39.710 +0100 [debug] (validate.js) running validator event 2022-02-15 10:22:39.710 +0100 [debug] (validate.js) running validator iparam 2022-02-15 10:22:39.715 +0100 [debug] (validate.js) skipping validator lint 2022-02-15 10:22:39.716 +0100 [debug] (validate.js) running validator manifest 2022-02-15 10:22:39.716 +0100 [debug] (manifest.js) running manifest validation with type run_validation 2022-02-15 10:22:39.717 +0100 [debug] (validate.js) skipping validator manifest-dependency 2022-02-15 10:22:39.717 +0100 [debug] (validate.js) running validator oauth 2022-02-15 10:22:39.717 +0100 [debug] (validate.js) skipping validator pkgsize 2022-02-15 10:22:39.717 +0100 [debug] (validate.js) running validator schema 2022-02-15 10:22:39.718 +0100 [debug] (validate.js) running validator version-check 2022-02-15 10:22:39.724 +0100 [debug] (watcher.js) Preparing to watch the following files ./app,./config,./manifest.json 2022-02-15 10:22:39.732 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://mycompany7573.freshdesk.com","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 10:22:39.732 +0100 [debug] (custom-objects.js) to force or not? false 2022-02-15 10:22:39.732 +0100 [debug] (custom-objects.js) beginning to re-sync db 2022-02-15 10:22:40.595 +0100 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/bigint-pivot.js" 2022-02-15 10:22:40.601 +0100 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field-choice.js" 2022-02-15 10:22:40.602 +0100 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field.js" 2022-02-15 10:22:40.604 +0100 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity.js" 2022-02-15 10:22:40.606 +0100 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/record.js" 2022-02-15 10:22:40.608 +0100 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/string-pivot.js" 2022-02-15 10:22:40.653 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://mycompany7573.freshdesk.com","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 10:22:40.655 +0100 [debug] (custom-objects.js) updated local store with latest entity hash 2022-02-15 10:22:40.661 +0100 [info] Starting local testing server at http://*:10001/ Append 'dev=true' to your Freshdesk account URL to start testing e.g. https://domain.freshdesk.com/a/tickets/1?dev=true Quit the server with Control-C. 2022-02-15 10:22:40.663 +0100 [info] To test the installation page, visit - http://localhost:10001/custom_configs 2022-02-15 10:22:59.607 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://mycompany7573.freshdesk.com","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 10:22:59.611 +0100 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://mycompany7573.freshdesk.com"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-02-15 10:22:59.975 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://mycompany7573.freshdesk.com","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 10:23:05.187 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://mycompany7573.freshdesk.com","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 10:23:19.850 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://mycompany7573.freshdesk.com","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 10:23:19.851 +0100 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://mycompany7573.freshdesk.com"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-02-15 10:23:19.890 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://mycompany7573.freshdesk.com","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 10:23:19.890 +0100 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://mycompany7573.freshdesk.com"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-02-15 10:23:19.959 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://mycompany7573.freshdesk.com","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 10:23:19.960 +0100 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://mycompany7573.freshdesk.com"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-02-15 10:23:19.989 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://mycompany7573.freshdesk.com","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 10:23:19.990 +0100 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://mycompany7573.freshdesk.com"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-02-15 10:23:20.050 +0100 [debug] (iframe.js) Responding with contents of /template.html 2022-02-15 10:23:20.091 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://mycompany7573.freshdesk.com","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 10:23:20.092 +0100 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://mycompany7573.freshdesk.com"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-02-15 10:23:20.114 +0100 [debug] (iframe.js) Responding with contents of /app.js 2022-02-15 10:23:20.148 +0100 [debug] (coverage-util.js) Instrumenting /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/app/app.js 2022-02-15 10:23:20.734 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://mycompany7573.freshdesk.com","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 10:23:20.735 +0100 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://mycompany7573.freshdesk.com"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-02-15 10:23:20.791 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://mycompany7573.freshdesk.com","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 10:23:20.792 +0100 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://mycompany7573.freshdesk.com"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-02-15 10:23:22.981 +0100 [debug] (coverage-util.js) Writing coverage. 2022-02-15 10:23:27.906 +0100 [debug] (data-pipe.js) received call for route "proxy" with action "execute" and body {"action":"execute","data":{"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://https://mycompany7573.freshdesk.com.freshdesk.com/api/v2/tickets/2","method":"get"}} 2022-02-15 10:23:27.907 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://mycompany7573.freshdesk.com","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 10:23:27.911 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://mycompany7573.freshdesk.com","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 10:23:27.912 +0100 [debug] (proxy.js) Substituing Templates {"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://https://mycompany7573.freshdesk.com.freshdesk.com/api/v2/tickets/2","method":"get"} with {"iparam":{"freshdesk_domain":"https://mycompany7573.freshdesk.com","freshdesk_key":"InkU762V0Yzge4RcTLL"},"oauth_iparams":{}} 2022-02-15 10:23:27.913 +0100 [debug] (proxy.js) Parsed https://https://mycompany7573.freshdesk.com.freshdesk.com/api/v2/tickets/2 as {"protocol":"https:","slashes":true,"auth":null,"host":"https","port":null,"hostname":"https","hash":null,"search":null,"query":null,"pathname":"//mycompany7573.freshdesk.com.freshdesk.com/api/v2/tickets/2","path":"//mycompany7573.freshdesk.com.freshdesk.com/api/v2/tickets/2","href":"https://https//mycompany7573.freshdesk.com.freshdesk.com/api/v2/tickets/2"} 2022-02-15 10:23:27.914 +0100 [debug] (proxy.js) Proxy errored with Invalid URL - Must be FQDN 2022-02-15 10:23:28.974 +0100 [debug] (coverage-util.js) Writing coverage. 2022-02-15 10:24:56.862 +0100 [info] NOTE: We recommend a coverage of 80% for apps that are to be published in the public marketplace. 2022-02-15 10:24:58.796 +0100 [debug] (logger.js) Starting FDK in node v12.22.7 on linux 2022-02-15 10:24:59.580 +0100 [debug] (sequelize.js) setting up sqilite at "/home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/.fdk/store.sqlite" 2022-02-15 10:25:00.890 +0100 [debug] (index.js) Running with args {"cmd":"run","gopts":{},"opts":{},"goptArg":{},"optArg":{},"args":[]} 2022-02-15 10:25:00.891 +0100 [debug] (data-util.js) Read {"version_details":{"fdkCli":{"version":"7.4.0","dl":"https://dl.freshdev.io/cli/fdk-7.4.0.tgz","cmd":"npm install https://dl.freshdev.io/cli/fdk-7.4.0.tgz -g"},"addon":{"version":"1.9.20","dl":"https://dl.freshdev.io/cli-addon/addon-1.9.20.zip"},"forced_versions":["4.3.6"]},"last_updated":{"time_stamp":1644916345572}} 2022-02-15 10:25:00.891 +0100 [debug] (updater.js) last check less than an day ago, not looking for updates 2022-02-15 10:25:01.186 +0100 [debug] (manifest.js) Reloading manifest with {"platform-version":"2.2","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"whitelisted-domains":["https://<%= iparam.freshdesk_domain %>.freshdesk.com"],"engines":{"node":"12.22.7","fdk":"7.1.0"}}. 2022-02-15 10:25:01.186 +0100 [debug] (manifest.js) Inferred db as features. 2022-02-15 10:25:01.189 +0100 [debug] (data-util.js) Read {"version_details":{"fdkCli":{"version":"7.4.0","dl":"https://dl.freshdev.io/cli/fdk-7.4.0.tgz","cmd":"npm install https://dl.freshdev.io/cli/fdk-7.4.0.tgz -g"},"addon":{"version":"1.9.20","dl":"https://dl.freshdev.io/cli-addon/addon-1.9.20.zip"},"forced_versions":["4.3.6"]},"last_updated":{"time_stamp":1644916345572}} 2022-02-15 10:25:01.205 +0100 [debug] (data-util.js) Read {"version_details":{"fdkCli":{"version":"7.4.0","dl":"https://dl.freshdev.io/cli/fdk-7.4.0.tgz","cmd":"npm install https://dl.freshdev.io/cli/fdk-7.4.0.tgz -g"},"addon":{"version":"1.9.20","dl":"https://dl.freshdev.io/cli-addon/addon-1.9.20.zip"},"forced_versions":["4.3.6"]},"last_updated":{"time_stamp":1644916345572}} 2022-02-15 10:25:03.372 +0100 [debug] (data-util.js) Read {"version_details":{"fdkCli":{"version":"7.4.0","dl":"https://dl.freshdev.io/cli/fdk-7.4.0.tgz","cmd":"npm install https://dl.freshdev.io/cli/fdk-7.4.0.tgz -g"},"addon":{"version":"1.9.20","dl":"https://dl.freshdev.io/cli-addon/addon-1.9.20.zip"},"forced_versions":["4.3.6"]},"last_updated":{"time_stamp":1644916345572}} 2022-02-15 10:25:07.688 +0100 [debug] (validate.js) asked to skip the following validations,  2022-02-15 10:25:07.690 +0100 [debug] (validate.js) running validator actions 2022-02-15 10:25:07.690 +0100 [debug] (validate.js) running validator app-dir 2022-02-15 10:25:07.693 +0100 [debug] (validate.js) running validator config-dir 2022-02-15 10:25:07.694 +0100 [debug] (config-dir.js) Checking to see if /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/config/ exists. 2022-02-15 10:25:07.695 +0100 [debug] (config-dir.js) Fetched the following config files iparams.json 2022-02-15 10:25:07.695 +0100 [debug] (validate.js) running validator custom-objects 2022-02-15 10:25:07.696 +0100 [debug] (validate.js) running validator event 2022-02-15 10:25:07.696 +0100 [debug] (validate.js) running validator iparam 2022-02-15 10:25:07.703 +0100 [debug] (validate.js) skipping validator lint 2022-02-15 10:25:07.703 +0100 [debug] (validate.js) running validator manifest 2022-02-15 10:25:07.704 +0100 [debug] (manifest.js) running manifest validation with type run_validation 2022-02-15 10:25:07.704 +0100 [debug] (validate.js) skipping validator manifest-dependency 2022-02-15 10:25:07.704 +0100 [debug] (validate.js) running validator oauth 2022-02-15 10:25:07.705 +0100 [debug] (validate.js) skipping validator pkgsize 2022-02-15 10:25:07.705 +0100 [debug] (validate.js) running validator schema 2022-02-15 10:25:07.706 +0100 [debug] (validate.js) running validator version-check 2022-02-15 10:25:07.714 +0100 [debug] (watcher.js) Preparing to watch the following files ./app,./config,./manifest.json 2022-02-15 10:25:07.722 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://mycompany7573.freshdesk.com","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 10:25:07.723 +0100 [debug] (custom-objects.js) to force or not? false 2022-02-15 10:25:07.724 +0100 [debug] (custom-objects.js) beginning to re-sync db 2022-02-15 10:25:08.615 +0100 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/bigint-pivot.js" 2022-02-15 10:25:08.625 +0100 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field-choice.js" 2022-02-15 10:25:08.628 +0100 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field.js" 2022-02-15 10:25:08.631 +0100 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity.js" 2022-02-15 10:25:08.633 +0100 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/record.js" 2022-02-15 10:25:08.634 +0100 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/string-pivot.js" 2022-02-15 10:25:08.683 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://mycompany7573.freshdesk.com","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 10:25:08.686 +0100 [debug] (custom-objects.js) updated local store with latest entity hash 2022-02-15 10:25:08.694 +0100 [info] Starting local testing server at http://*:10001/ Append 'dev=true' to your Freshdesk account URL to start testing e.g. https://domain.freshdesk.com/a/tickets/1?dev=true Quit the server with Control-C. 2022-02-15 10:25:08.696 +0100 [info] To test the installation page, visit - http://localhost:10001/custom_configs 2022-02-15 10:25:30.216 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://mycompany7573.freshdesk.com","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 10:25:30.218 +0100 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://mycompany7573.freshdesk.com"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-02-15 10:25:30.256 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://mycompany7573.freshdesk.com","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 10:25:30.257 +0100 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://mycompany7573.freshdesk.com"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-02-15 10:25:30.318 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://mycompany7573.freshdesk.com","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 10:25:30.319 +0100 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://mycompany7573.freshdesk.com"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-02-15 10:25:30.347 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://mycompany7573.freshdesk.com","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 10:25:30.347 +0100 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://mycompany7573.freshdesk.com"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-02-15 10:25:30.403 +0100 [debug] (iframe.js) Responding with contents of /template.html 2022-02-15 10:25:30.414 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://mycompany7573.freshdesk.com","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 10:25:30.415 +0100 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://mycompany7573.freshdesk.com"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-02-15 10:25:30.449 +0100 [debug] (iframe.js) Responding with contents of /app.js 2022-02-15 10:25:30.474 +0100 [debug] (coverage-util.js) Instrumenting /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/app/app.js 2022-02-15 10:25:30.657 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://mycompany7573.freshdesk.com","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 10:25:30.657 +0100 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://mycompany7573.freshdesk.com"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-02-15 10:25:30.670 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://mycompany7573.freshdesk.com","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 10:25:30.671 +0100 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://mycompany7573.freshdesk.com"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-02-15 10:25:32.800 +0100 [debug] (coverage-util.js) Writing coverage. 2022-02-15 10:25:36.495 +0100 [debug] (data-pipe.js) received call for route "proxy" with action "execute" and body {"action":"execute","data":{"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://https://mycompany7573.freshdesk.com.freshdesk.com/api/v2/tickets/2","method":"get"}} 2022-02-15 10:25:36.496 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://mycompany7573.freshdesk.com","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 10:25:36.503 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://mycompany7573.freshdesk.com","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 10:25:36.504 +0100 [debug] (proxy.js) Substituing Templates {"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://https://mycompany7573.freshdesk.com.freshdesk.com/api/v2/tickets/2","method":"get"} with {"iparam":{"freshdesk_domain":"https://mycompany7573.freshdesk.com","freshdesk_key":"InkU762V0Yzge4RcTLL"},"oauth_iparams":{}} 2022-02-15 10:25:36.508 +0100 [debug] (proxy.js) Parsed https://https://mycompany7573.freshdesk.com.freshdesk.com/api/v2/tickets/2 as {"protocol":"https:","slashes":true,"auth":null,"host":"https","port":null,"hostname":"https","hash":null,"search":null,"query":null,"pathname":"//mycompany7573.freshdesk.com.freshdesk.com/api/v2/tickets/2","path":"//mycompany7573.freshdesk.com.freshdesk.com/api/v2/tickets/2","href":"https://https//mycompany7573.freshdesk.com.freshdesk.com/api/v2/tickets/2"} 2022-02-15 10:25:36.510 +0100 [debug] (proxy.js) Proxy errored with Invalid URL - Must be FQDN 2022-02-15 10:25:36.789 +0100 [debug] (coverage-util.js) Writing coverage. 2022-02-15 10:26:32.588 +0100 [info] NOTE: We recommend a coverage of 80% for apps that are to be published in the public marketplace. 2022-02-15 10:26:34.484 +0100 [debug] (logger.js) Starting FDK in node v12.22.7 on linux 2022-02-15 10:26:35.203 +0100 [debug] (sequelize.js) setting up sqilite at "/home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/.fdk/store.sqlite" 2022-02-15 10:26:36.499 +0100 [debug] (index.js) Running with args {"cmd":"run","gopts":{},"opts":{},"goptArg":{},"optArg":{},"args":[]} 2022-02-15 10:26:36.499 +0100 [debug] (data-util.js) Read {"version_details":{"fdkCli":{"version":"7.4.0","dl":"https://dl.freshdev.io/cli/fdk-7.4.0.tgz","cmd":"npm install https://dl.freshdev.io/cli/fdk-7.4.0.tgz -g"},"addon":{"version":"1.9.20","dl":"https://dl.freshdev.io/cli-addon/addon-1.9.20.zip"},"forced_versions":["4.3.6"]},"last_updated":{"time_stamp":1644916345572}} 2022-02-15 10:26:36.500 +0100 [debug] (updater.js) last check less than an day ago, not looking for updates 2022-02-15 10:26:36.747 +0100 [debug] (manifest.js) Reloading manifest with {"platform-version":"2.2","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"whitelisted-domains":["https://<%= iparam.freshdesk_domain %>.freshdesk.com"],"engines":{"node":"12.22.7","fdk":"7.1.0"}}. 2022-02-15 10:26:36.748 +0100 [debug] (manifest.js) Inferred db as features. 2022-02-15 10:26:36.750 +0100 [debug] (data-util.js) Read {"version_details":{"fdkCli":{"version":"7.4.0","dl":"https://dl.freshdev.io/cli/fdk-7.4.0.tgz","cmd":"npm install https://dl.freshdev.io/cli/fdk-7.4.0.tgz -g"},"addon":{"version":"1.9.20","dl":"https://dl.freshdev.io/cli-addon/addon-1.9.20.zip"},"forced_versions":["4.3.6"]},"last_updated":{"time_stamp":1644916345572}} 2022-02-15 10:26:36.763 +0100 [debug] (data-util.js) Read {"version_details":{"fdkCli":{"version":"7.4.0","dl":"https://dl.freshdev.io/cli/fdk-7.4.0.tgz","cmd":"npm install https://dl.freshdev.io/cli/fdk-7.4.0.tgz -g"},"addon":{"version":"1.9.20","dl":"https://dl.freshdev.io/cli-addon/addon-1.9.20.zip"},"forced_versions":["4.3.6"]},"last_updated":{"time_stamp":1644916345572}} 2022-02-15 10:26:38.844 +0100 [debug] (data-util.js) Read {"version_details":{"fdkCli":{"version":"7.4.0","dl":"https://dl.freshdev.io/cli/fdk-7.4.0.tgz","cmd":"npm install https://dl.freshdev.io/cli/fdk-7.4.0.tgz -g"},"addon":{"version":"1.9.20","dl":"https://dl.freshdev.io/cli-addon/addon-1.9.20.zip"},"forced_versions":["4.3.6"]},"last_updated":{"time_stamp":1644916345572}} 2022-02-15 10:26:43.304 +0100 [debug] (validate.js) asked to skip the following validations,  2022-02-15 10:26:43.305 +0100 [debug] (validate.js) running validator actions 2022-02-15 10:26:43.306 +0100 [debug] (validate.js) running validator app-dir 2022-02-15 10:26:43.308 +0100 [debug] (validate.js) running validator config-dir 2022-02-15 10:26:43.309 +0100 [debug] (config-dir.js) Checking to see if /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/config/ exists. 2022-02-15 10:26:43.309 +0100 [debug] (config-dir.js) Fetched the following config files iparams.json 2022-02-15 10:26:43.309 +0100 [debug] (validate.js) running validator custom-objects 2022-02-15 10:26:43.310 +0100 [debug] (validate.js) running validator event 2022-02-15 10:26:43.310 +0100 [debug] (validate.js) running validator iparam 2022-02-15 10:26:43.317 +0100 [debug] (validate.js) skipping validator lint 2022-02-15 10:26:43.317 +0100 [debug] (validate.js) running validator manifest 2022-02-15 10:26:43.317 +0100 [debug] (manifest.js) running manifest validation with type run_validation 2022-02-15 10:26:43.318 +0100 [debug] (validate.js) skipping validator manifest-dependency 2022-02-15 10:26:43.318 +0100 [debug] (validate.js) running validator oauth 2022-02-15 10:26:43.318 +0100 [debug] (validate.js) skipping validator pkgsize 2022-02-15 10:26:43.319 +0100 [debug] (validate.js) running validator schema 2022-02-15 10:26:43.319 +0100 [debug] (validate.js) running validator version-check 2022-02-15 10:26:43.325 +0100 [debug] (watcher.js) Preparing to watch the following files ./app,./config,./manifest.json 2022-02-15 10:26:43.334 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://mycompany7573.freshdesk.com","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 10:26:43.334 +0100 [debug] (custom-objects.js) to force or not? false 2022-02-15 10:26:43.334 +0100 [debug] (custom-objects.js) beginning to re-sync db 2022-02-15 10:26:44.159 +0100 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/bigint-pivot.js" 2022-02-15 10:26:44.164 +0100 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field-choice.js" 2022-02-15 10:26:44.167 +0100 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field.js" 2022-02-15 10:26:44.169 +0100 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity.js" 2022-02-15 10:26:44.171 +0100 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/record.js" 2022-02-15 10:26:44.173 +0100 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/string-pivot.js" 2022-02-15 10:26:44.220 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://mycompany7573.freshdesk.com","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 10:26:44.222 +0100 [debug] (custom-objects.js) updated local store with latest entity hash 2022-02-15 10:26:44.231 +0100 [info] Starting local testing server at http://*:10001/ Append 'dev=true' to your Freshdesk account URL to start testing e.g. https://domain.freshdesk.com/a/tickets/1?dev=true Quit the server with Control-C. 2022-02-15 10:26:44.233 +0100 [info] To test the installation page, visit - http://localhost:10001/custom_configs 2022-02-15 10:27:04.615 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://mycompany7573.freshdesk.com","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 10:27:04.618 +0100 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://mycompany7573.freshdesk.com"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-02-15 10:27:04.669 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://mycompany7573.freshdesk.com","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 10:27:04.670 +0100 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://mycompany7573.freshdesk.com"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-02-15 10:27:04.770 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://mycompany7573.freshdesk.com","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 10:27:04.771 +0100 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://mycompany7573.freshdesk.com"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-02-15 10:27:04.817 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://mycompany7573.freshdesk.com","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 10:27:04.818 +0100 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://mycompany7573.freshdesk.com"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-02-15 10:27:04.873 +0100 [debug] (iframe.js) Responding with contents of /template.html 2022-02-15 10:27:04.905 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://mycompany7573.freshdesk.com","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 10:27:04.906 +0100 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://mycompany7573.freshdesk.com"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-02-15 10:27:04.954 +0100 [debug] (iframe.js) Responding with contents of /app.js 2022-02-15 10:27:04.998 +0100 [debug] (coverage-util.js) Instrumenting /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/app/app.js 2022-02-15 10:27:05.638 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://mycompany7573.freshdesk.com","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 10:27:05.638 +0100 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://mycompany7573.freshdesk.com"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-02-15 10:27:05.684 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://mycompany7573.freshdesk.com","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 10:27:05.685 +0100 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://mycompany7573.freshdesk.com"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-02-15 10:27:07.890 +0100 [debug] (coverage-util.js) Writing coverage. 2022-02-15 10:27:23.775 +0100 [debug] (coverage-util.js) Writing coverage. 2022-02-15 10:27:23.857 +0100 [debug] (data-pipe.js) received call for route "proxy" with action "execute" and body {"action":"execute","data":{"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://https://mycompany7573.freshdesk.com.freshdesk.com/api/v2/tickets/2","method":"get"}} 2022-02-15 10:27:23.862 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://mycompany7573.freshdesk.com","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 10:27:23.882 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://mycompany7573.freshdesk.com","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 10:27:23.883 +0100 [debug] (proxy.js) Substituing Templates {"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://https://mycompany7573.freshdesk.com.freshdesk.com/api/v2/tickets/2","method":"get"} with {"iparam":{"freshdesk_domain":"https://mycompany7573.freshdesk.com","freshdesk_key":"InkU762V0Yzge4RcTLL"},"oauth_iparams":{}} 2022-02-15 10:27:23.892 +0100 [debug] (proxy.js) Parsed https://https://mycompany7573.freshdesk.com.freshdesk.com/api/v2/tickets/2 as {"protocol":"https:","slashes":true,"auth":null,"host":"https","port":null,"hostname":"https","hash":null,"search":null,"query":null,"pathname":"//mycompany7573.freshdesk.com.freshdesk.com/api/v2/tickets/2","path":"//mycompany7573.freshdesk.com.freshdesk.com/api/v2/tickets/2","href":"https://https//mycompany7573.freshdesk.com.freshdesk.com/api/v2/tickets/2"} 2022-02-15 10:27:23.895 +0100 [debug] (proxy.js) Proxy errored with Invalid URL - Must be FQDN 2022-02-15 10:27:25.796 +0100 [debug] (coverage-util.js) Writing coverage. 2022-02-15 10:27:58.730 +0100 [debug] (data-pipe.js) received call for route "proxy" with action "execute" and body {"action":"execute","data":{"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://https://mycompany7573.freshdesk.com.freshdesk.com/api/v2/tickets/2","method":"get"}} 2022-02-15 10:27:58.733 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://mycompany7573.freshdesk.com","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 10:27:58.734 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://mycompany7573.freshdesk.com","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 10:27:58.735 +0100 [debug] (proxy.js) Substituing Templates {"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://https://mycompany7573.freshdesk.com.freshdesk.com/api/v2/tickets/2","method":"get"} with {"iparam":{"freshdesk_domain":"https://mycompany7573.freshdesk.com","freshdesk_key":"InkU762V0Yzge4RcTLL"},"oauth_iparams":{}} 2022-02-15 10:27:58.738 +0100 [debug] (proxy.js) Parsed https://https://mycompany7573.freshdesk.com.freshdesk.com/api/v2/tickets/2 as {"protocol":"https:","slashes":true,"auth":null,"host":"https","port":null,"hostname":"https","hash":null,"search":null,"query":null,"pathname":"//mycompany7573.freshdesk.com.freshdesk.com/api/v2/tickets/2","path":"//mycompany7573.freshdesk.com.freshdesk.com/api/v2/tickets/2","href":"https://https//mycompany7573.freshdesk.com.freshdesk.com/api/v2/tickets/2"} 2022-02-15 10:27:58.740 +0100 [debug] (proxy.js) Proxy errored with Invalid URL - Must be FQDN 2022-02-15 10:27:59.772 +0100 [debug] (coverage-util.js) Writing coverage. 2022-02-15 10:29:25.139 +0100 [info] NOTE: We recommend a coverage of 80% for apps that are to be published in the public marketplace. 2022-02-15 10:29:26.992 +0100 [debug] (logger.js) Starting FDK in node v12.22.7 on linux 2022-02-15 10:29:28.090 +0100 [debug] (sequelize.js) setting up sqilite at "/home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/.fdk/store.sqlite" 2022-02-15 10:29:29.364 +0100 [debug] (index.js) Running with args {"cmd":"run","gopts":{},"opts":{},"goptArg":{},"optArg":{},"args":[]} 2022-02-15 10:29:29.365 +0100 [debug] (data-util.js) Read {"version_details":{"fdkCli":{"version":"7.4.0","dl":"https://dl.freshdev.io/cli/fdk-7.4.0.tgz","cmd":"npm install https://dl.freshdev.io/cli/fdk-7.4.0.tgz -g"},"addon":{"version":"1.9.20","dl":"https://dl.freshdev.io/cli-addon/addon-1.9.20.zip"},"forced_versions":["4.3.6"]},"last_updated":{"time_stamp":1644916345572}} 2022-02-15 10:29:29.365 +0100 [debug] (updater.js) last check less than an day ago, not looking for updates 2022-02-15 10:29:29.654 +0100 [debug] (manifest.js) Reloading manifest with {"platform-version":"2.2","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"whitelisted-domains":["https://<%= iparam.freshdesk_domain %>.freshdesk.com"],"engines":{"node":"12.22.7","fdk":"7.1.0"}}. 2022-02-15 10:29:29.654 +0100 [debug] (manifest.js) Inferred db as features. 2022-02-15 10:29:29.658 +0100 [debug] (data-util.js) Read {"version_details":{"fdkCli":{"version":"7.4.0","dl":"https://dl.freshdev.io/cli/fdk-7.4.0.tgz","cmd":"npm install https://dl.freshdev.io/cli/fdk-7.4.0.tgz -g"},"addon":{"version":"1.9.20","dl":"https://dl.freshdev.io/cli-addon/addon-1.9.20.zip"},"forced_versions":["4.3.6"]},"last_updated":{"time_stamp":1644916345572}} 2022-02-15 10:29:29.685 +0100 [debug] (data-util.js) Read {"version_details":{"fdkCli":{"version":"7.4.0","dl":"https://dl.freshdev.io/cli/fdk-7.4.0.tgz","cmd":"npm install https://dl.freshdev.io/cli/fdk-7.4.0.tgz -g"},"addon":{"version":"1.9.20","dl":"https://dl.freshdev.io/cli-addon/addon-1.9.20.zip"},"forced_versions":["4.3.6"]},"last_updated":{"time_stamp":1644916345572}} 2022-02-15 10:29:32.085 +0100 [debug] (data-util.js) Read {"version_details":{"fdkCli":{"version":"7.4.0","dl":"https://dl.freshdev.io/cli/fdk-7.4.0.tgz","cmd":"npm install https://dl.freshdev.io/cli/fdk-7.4.0.tgz -g"},"addon":{"version":"1.9.20","dl":"https://dl.freshdev.io/cli-addon/addon-1.9.20.zip"},"forced_versions":["4.3.6"]},"last_updated":{"time_stamp":1644916345572}} 2022-02-15 10:29:36.438 +0100 [debug] (validate.js) asked to skip the following validations,  2022-02-15 10:29:36.439 +0100 [debug] (validate.js) running validator actions 2022-02-15 10:29:36.440 +0100 [debug] (validate.js) running validator app-dir 2022-02-15 10:29:36.442 +0100 [debug] (validate.js) running validator config-dir 2022-02-15 10:29:36.443 +0100 [debug] (config-dir.js) Checking to see if /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/config/ exists. 2022-02-15 10:29:36.443 +0100 [debug] (config-dir.js) Fetched the following config files iparams.json 2022-02-15 10:29:36.444 +0100 [debug] (validate.js) running validator custom-objects 2022-02-15 10:29:36.444 +0100 [debug] (validate.js) running validator event 2022-02-15 10:29:36.445 +0100 [debug] (validate.js) running validator iparam 2022-02-15 10:29:36.450 +0100 [debug] (validate.js) skipping validator lint 2022-02-15 10:29:36.450 +0100 [debug] (validate.js) running validator manifest 2022-02-15 10:29:36.451 +0100 [debug] (manifest.js) running manifest validation with type run_validation 2022-02-15 10:29:36.451 +0100 [debug] (validate.js) skipping validator manifest-dependency 2022-02-15 10:29:36.451 +0100 [debug] (validate.js) running validator oauth 2022-02-15 10:29:36.452 +0100 [debug] (validate.js) skipping validator pkgsize 2022-02-15 10:29:36.452 +0100 [debug] (validate.js) running validator schema 2022-02-15 10:29:36.453 +0100 [debug] (validate.js) running validator version-check 2022-02-15 10:29:36.460 +0100 [debug] (watcher.js) Preparing to watch the following files ./app,./config,./manifest.json 2022-02-15 10:29:36.468 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://mycompany7573.freshdesk.com","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 10:29:36.468 +0100 [debug] (custom-objects.js) to force or not? false 2022-02-15 10:29:36.468 +0100 [debug] (custom-objects.js) beginning to re-sync db 2022-02-15 10:29:37.211 +0100 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/bigint-pivot.js" 2022-02-15 10:29:37.216 +0100 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field-choice.js" 2022-02-15 10:29:37.218 +0100 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field.js" 2022-02-15 10:29:37.219 +0100 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity.js" 2022-02-15 10:29:37.221 +0100 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/record.js" 2022-02-15 10:29:37.224 +0100 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/string-pivot.js" 2022-02-15 10:29:37.268 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://mycompany7573.freshdesk.com","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 10:29:37.271 +0100 [debug] (custom-objects.js) updated local store with latest entity hash 2022-02-15 10:29:37.278 +0100 [info] Starting local testing server at http://*:10001/ Append 'dev=true' to your Freshdesk account URL to start testing e.g. https://domain.freshdesk.com/a/tickets/1?dev=true Quit the server with Control-C. 2022-02-15 10:29:37.280 +0100 [info] To test the installation page, visit - http://localhost:10001/custom_configs 2022-02-15 10:29:52.183 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://mycompany7573.freshdesk.com","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 10:29:52.186 +0100 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://mycompany7573.freshdesk.com"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-02-15 10:29:52.214 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://mycompany7573.freshdesk.com","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 10:29:52.215 +0100 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://mycompany7573.freshdesk.com"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-02-15 10:29:52.277 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://mycompany7573.freshdesk.com","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 10:29:52.277 +0100 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://mycompany7573.freshdesk.com"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-02-15 10:29:52.313 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://mycompany7573.freshdesk.com","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 10:29:52.314 +0100 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://mycompany7573.freshdesk.com"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-02-15 10:29:52.383 +0100 [debug] (iframe.js) Responding with contents of /template.html 2022-02-15 10:29:52.415 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://mycompany7573.freshdesk.com","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 10:29:52.416 +0100 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://mycompany7573.freshdesk.com"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-02-15 10:29:52.460 +0100 [debug] (iframe.js) Responding with contents of /app.js 2022-02-15 10:29:52.465 +0100 [debug] (coverage-util.js) Instrumenting /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/app/app.js 2022-02-15 10:29:53.060 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://mycompany7573.freshdesk.com","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 10:29:53.061 +0100 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://mycompany7573.freshdesk.com"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-02-15 10:29:53.091 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://mycompany7573.freshdesk.com","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 10:29:53.091 +0100 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://mycompany7573.freshdesk.com"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-02-15 10:29:55.133 +0100 [debug] (coverage-util.js) Writing coverage. 2022-02-15 10:30:08.351 +0100 [debug] (data-pipe.js) received call for route "proxy" with action "execute" and body {"action":"execute","data":{"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://https://mycompany7573.freshdesk.com.freshdesk.com/api/v2/tickets/2","method":"get"}} 2022-02-15 10:30:08.359 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://mycompany7573.freshdesk.com","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 10:30:08.379 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://mycompany7573.freshdesk.com","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 10:30:08.380 +0100 [debug] (proxy.js) Substituing Templates {"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://https://mycompany7573.freshdesk.com.freshdesk.com/api/v2/tickets/2","method":"get"} with {"iparam":{"freshdesk_domain":"https://mycompany7573.freshdesk.com","freshdesk_key":"InkU762V0Yzge4RcTLL"},"oauth_iparams":{}} 2022-02-15 10:30:08.388 +0100 [debug] (proxy.js) Parsed https://https://mycompany7573.freshdesk.com.freshdesk.com/api/v2/tickets/2 as {"protocol":"https:","slashes":true,"auth":null,"host":"https","port":null,"hostname":"https","hash":null,"search":null,"query":null,"pathname":"//mycompany7573.freshdesk.com.freshdesk.com/api/v2/tickets/2","path":"//mycompany7573.freshdesk.com.freshdesk.com/api/v2/tickets/2","href":"https://https//mycompany7573.freshdesk.com.freshdesk.com/api/v2/tickets/2"} 2022-02-15 10:30:08.392 +0100 [debug] (proxy.js) Proxy errored with Invalid URL - Must be FQDN 2022-02-15 10:30:09.120 +0100 [debug] (coverage-util.js) Writing coverage. 2022-02-15 10:30:21.312 +0100 [debug] (data-pipe.js) received call for route "proxy" with action "execute" and body {"action":"execute","data":{"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://https://mycompany7573.freshdesk.com.freshdesk.com/api/v2/tickets/2","method":"get"}} 2022-02-15 10:30:21.315 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://mycompany7573.freshdesk.com","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 10:30:21.316 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://mycompany7573.freshdesk.com","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 10:30:21.316 +0100 [debug] (proxy.js) Substituing Templates {"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://https://mycompany7573.freshdesk.com.freshdesk.com/api/v2/tickets/2","method":"get"} with {"iparam":{"freshdesk_domain":"https://mycompany7573.freshdesk.com","freshdesk_key":"InkU762V0Yzge4RcTLL"},"oauth_iparams":{}} 2022-02-15 10:30:21.320 +0100 [debug] (proxy.js) Parsed https://https://mycompany7573.freshdesk.com.freshdesk.com/api/v2/tickets/2 as {"protocol":"https:","slashes":true,"auth":null,"host":"https","port":null,"hostname":"https","hash":null,"search":null,"query":null,"pathname":"//mycompany7573.freshdesk.com.freshdesk.com/api/v2/tickets/2","path":"//mycompany7573.freshdesk.com.freshdesk.com/api/v2/tickets/2","href":"https://https//mycompany7573.freshdesk.com.freshdesk.com/api/v2/tickets/2"} 2022-02-15 10:30:21.320 +0100 [debug] (proxy.js) Proxy errored with Invalid URL - Must be FQDN 2022-02-15 10:30:23.128 +0100 [debug] (coverage-util.js) Writing coverage. 2022-02-15 10:30:30.502 +0100 [debug] (data-pipe.js) received call for route "proxy" with action "execute" and body {"action":"execute","data":{"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://https://mycompany7573.freshdesk.com.freshdesk.com/api/v2/tickets/2","method":"get"}} 2022-02-15 10:30:30.504 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://mycompany7573.freshdesk.com","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 10:30:30.506 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://mycompany7573.freshdesk.com","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 10:30:30.506 +0100 [debug] (proxy.js) Substituing Templates {"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://https://mycompany7573.freshdesk.com.freshdesk.com/api/v2/tickets/2","method":"get"} with {"iparam":{"freshdesk_domain":"https://mycompany7573.freshdesk.com","freshdesk_key":"InkU762V0Yzge4RcTLL"},"oauth_iparams":{}} 2022-02-15 10:30:30.510 +0100 [debug] (proxy.js) Parsed https://https://mycompany7573.freshdesk.com.freshdesk.com/api/v2/tickets/2 as {"protocol":"https:","slashes":true,"auth":null,"host":"https","port":null,"hostname":"https","hash":null,"search":null,"query":null,"pathname":"//mycompany7573.freshdesk.com.freshdesk.com/api/v2/tickets/2","path":"//mycompany7573.freshdesk.com.freshdesk.com/api/v2/tickets/2","href":"https://https//mycompany7573.freshdesk.com.freshdesk.com/api/v2/tickets/2"} 2022-02-15 10:30:30.510 +0100 [debug] (proxy.js) Proxy errored with Invalid URL - Must be FQDN 2022-02-15 10:30:31.126 +0100 [debug] (coverage-util.js) Writing coverage. 2022-02-15 10:31:24.423 +0100 [info] NOTE: We recommend a coverage of 80% for apps that are to be published in the public marketplace. 2022-02-15 10:37:39.781 +0100 [debug] (logger.js) Starting FDK in node v12.22.7 on linux 2022-02-15 10:37:40.759 +0100 [debug] (sequelize.js) setting up sqilite at "/home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/.fdk/store.sqlite" 2022-02-15 10:37:42.047 +0100 [debug] (index.js) Running with args {"cmd":"run","gopts":{},"opts":{},"goptArg":{},"optArg":{},"args":[]} 2022-02-15 10:37:42.048 +0100 [debug] (data-util.js) Read {"version_details":{"fdkCli":{"version":"7.4.0","dl":"https://dl.freshdev.io/cli/fdk-7.4.0.tgz","cmd":"npm install https://dl.freshdev.io/cli/fdk-7.4.0.tgz -g"},"addon":{"version":"1.9.20","dl":"https://dl.freshdev.io/cli-addon/addon-1.9.20.zip"},"forced_versions":["4.3.6"]},"last_updated":{"time_stamp":1644916345572}} 2022-02-15 10:37:42.049 +0100 [debug] (updater.js) last check less than an day ago, not looking for updates 2022-02-15 10:37:42.474 +0100 [debug] (manifest.js) Reloading manifest with {"platform-version":"2.2","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"whitelisted-domains":["https://<%= iparam.freshdesk_domain %>.freshdesk.com"],"engines":{"node":"12.22.7","fdk":"7.1.0"}}. 2022-02-15 10:37:42.474 +0100 [debug] (manifest.js) Inferred db as features. 2022-02-15 10:37:42.476 +0100 [debug] (data-util.js) Read {"version_details":{"fdkCli":{"version":"7.4.0","dl":"https://dl.freshdev.io/cli/fdk-7.4.0.tgz","cmd":"npm install https://dl.freshdev.io/cli/fdk-7.4.0.tgz -g"},"addon":{"version":"1.9.20","dl":"https://dl.freshdev.io/cli-addon/addon-1.9.20.zip"},"forced_versions":["4.3.6"]},"last_updated":{"time_stamp":1644916345572}} 2022-02-15 10:37:42.492 +0100 [debug] (data-util.js) Read {"version_details":{"fdkCli":{"version":"7.4.0","dl":"https://dl.freshdev.io/cli/fdk-7.4.0.tgz","cmd":"npm install https://dl.freshdev.io/cli/fdk-7.4.0.tgz -g"},"addon":{"version":"1.9.20","dl":"https://dl.freshdev.io/cli-addon/addon-1.9.20.zip"},"forced_versions":["4.3.6"]},"last_updated":{"time_stamp":1644916345572}} 2022-02-15 10:37:45.223 +0100 [debug] (data-util.js) Read {"version_details":{"fdkCli":{"version":"7.4.0","dl":"https://dl.freshdev.io/cli/fdk-7.4.0.tgz","cmd":"npm install https://dl.freshdev.io/cli/fdk-7.4.0.tgz -g"},"addon":{"version":"1.9.20","dl":"https://dl.freshdev.io/cli-addon/addon-1.9.20.zip"},"forced_versions":["4.3.6"]},"last_updated":{"time_stamp":1644916345572}} 2022-02-15 10:37:50.044 +0100 [debug] (validate.js) asked to skip the following validations,  2022-02-15 10:37:50.044 +0100 [debug] (validate.js) running validator actions 2022-02-15 10:37:50.045 +0100 [debug] (validate.js) running validator app-dir 2022-02-15 10:37:50.047 +0100 [debug] (validate.js) running validator config-dir 2022-02-15 10:37:50.048 +0100 [debug] (config-dir.js) Checking to see if /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/config/ exists. 2022-02-15 10:37:50.048 +0100 [debug] (config-dir.js) Fetched the following config files iparams.json 2022-02-15 10:37:50.048 +0100 [debug] (validate.js) running validator custom-objects 2022-02-15 10:37:50.049 +0100 [debug] (validate.js) running validator event 2022-02-15 10:37:50.049 +0100 [debug] (validate.js) running validator iparam 2022-02-15 10:37:50.056 +0100 [debug] (validate.js) skipping validator lint 2022-02-15 10:37:50.056 +0100 [debug] (validate.js) running validator manifest 2022-02-15 10:37:50.057 +0100 [debug] (manifest.js) running manifest validation with type run_validation 2022-02-15 10:37:50.058 +0100 [debug] (validate.js) skipping validator manifest-dependency 2022-02-15 10:37:50.058 +0100 [debug] (validate.js) running validator oauth 2022-02-15 10:37:50.058 +0100 [debug] (validate.js) skipping validator pkgsize 2022-02-15 10:37:50.058 +0100 [debug] (validate.js) running validator schema 2022-02-15 10:37:50.059 +0100 [debug] (validate.js) running validator version-check 2022-02-15 10:37:50.067 +0100 [debug] (watcher.js) Preparing to watch the following files ./app,./config,./manifest.json 2022-02-15 10:37:50.079 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://mycompany7573.freshdesk.com","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 10:37:50.080 +0100 [debug] (custom-objects.js) to force or not? false 2022-02-15 10:37:50.081 +0100 [debug] (custom-objects.js) beginning to re-sync db 2022-02-15 10:37:50.255 +0100 [debug] (coverage-util.js) Writing coverage. 2022-02-15 10:37:51.244 +0100 [debug] (coverage-util.js) Writing coverage. 2022-02-15 10:37:51.401 +0100 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/bigint-pivot.js" 2022-02-15 10:37:51.410 +0100 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field-choice.js" 2022-02-15 10:37:51.413 +0100 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field.js" 2022-02-15 10:37:51.417 +0100 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity.js" 2022-02-15 10:37:51.420 +0100 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/record.js" 2022-02-15 10:37:51.454 +0100 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/string-pivot.js" 2022-02-15 10:37:51.517 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://mycompany7573.freshdesk.com","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 10:37:51.519 +0100 [debug] (custom-objects.js) updated local store with latest entity hash 2022-02-15 10:37:51.523 +0100 [info] Starting local testing server at http://*:10001/ Append 'dev=true' to your Freshdesk account URL to start testing e.g. https://domain.freshdesk.com/a/tickets/1?dev=true Quit the server with Control-C. 2022-02-15 10:37:51.525 +0100 [info] To test the installation page, visit - http://localhost:10001/custom_configs 2022-02-15 10:38:04.842 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://mycompany7573.freshdesk.com","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 10:38:04.845 +0100 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://mycompany7573.freshdesk.com"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-02-15 10:38:04.888 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://mycompany7573.freshdesk.com","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 10:38:04.889 +0100 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://mycompany7573.freshdesk.com"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-02-15 10:38:04.989 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://mycompany7573.freshdesk.com","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 10:38:04.990 +0100 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://mycompany7573.freshdesk.com"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-02-15 10:38:05.038 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://mycompany7573.freshdesk.com","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 10:38:05.039 +0100 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://mycompany7573.freshdesk.com"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-02-15 10:38:05.129 +0100 [debug] (iframe.js) Responding with contents of /template.html 2022-02-15 10:38:05.154 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://mycompany7573.freshdesk.com","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 10:38:05.155 +0100 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://mycompany7573.freshdesk.com"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-02-15 10:38:05.201 +0100 [debug] (iframe.js) Responding with contents of /app.js 2022-02-15 10:38:05.203 +0100 [debug] (coverage-util.js) Instrumenting /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/app/app.js 2022-02-15 10:38:05.860 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://mycompany7573.freshdesk.com","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 10:38:05.861 +0100 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://mycompany7573.freshdesk.com"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-02-15 10:38:05.914 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://mycompany7573.freshdesk.com","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 10:38:05.915 +0100 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://mycompany7573.freshdesk.com"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-02-15 10:38:08.130 +0100 [debug] (coverage-util.js) Writing coverage. 2022-02-15 10:48:03.428 +0100 [info] NOTE: We recommend a coverage of 80% for apps that are to be published in the public marketplace. 2022-02-15 10:48:05.445 +0100 [debug] (logger.js) Starting FDK in node v12.22.7 on linux 2022-02-15 10:48:06.283 +0100 [debug] (sequelize.js) setting up sqilite at "/home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/.fdk/store.sqlite" 2022-02-15 10:48:07.603 +0100 [debug] (index.js) Running with args {"cmd":"run","gopts":{},"opts":{},"goptArg":{},"optArg":{},"args":[]} 2022-02-15 10:48:07.605 +0100 [debug] (data-util.js) Read {"version_details":{"fdkCli":{"version":"7.4.0","dl":"https://dl.freshdev.io/cli/fdk-7.4.0.tgz","cmd":"npm install https://dl.freshdev.io/cli/fdk-7.4.0.tgz -g"},"addon":{"version":"1.9.20","dl":"https://dl.freshdev.io/cli-addon/addon-1.9.20.zip"},"forced_versions":["4.3.6"]},"last_updated":{"time_stamp":1644916345572}} 2022-02-15 10:48:07.605 +0100 [debug] (updater.js) last check less than an day ago, not looking for updates 2022-02-15 10:48:08.018 +0100 [debug] (manifest.js) Reloading manifest with {"platform-version":"2.2","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"whitelisted-domains":["https://<%= iparam.freshdesk_domain %>.freshdesk.com"],"engines":{"node":"12.22.7","fdk":"7.1.0"}}. 2022-02-15 10:48:08.018 +0100 [debug] (manifest.js) Inferred db as features. 2022-02-15 10:48:08.020 +0100 [debug] (data-util.js) Read {"version_details":{"fdkCli":{"version":"7.4.0","dl":"https://dl.freshdev.io/cli/fdk-7.4.0.tgz","cmd":"npm install https://dl.freshdev.io/cli/fdk-7.4.0.tgz -g"},"addon":{"version":"1.9.20","dl":"https://dl.freshdev.io/cli-addon/addon-1.9.20.zip"},"forced_versions":["4.3.6"]},"last_updated":{"time_stamp":1644916345572}} 2022-02-15 10:48:08.035 +0100 [debug] (data-util.js) Read {"version_details":{"fdkCli":{"version":"7.4.0","dl":"https://dl.freshdev.io/cli/fdk-7.4.0.tgz","cmd":"npm install https://dl.freshdev.io/cli/fdk-7.4.0.tgz -g"},"addon":{"version":"1.9.20","dl":"https://dl.freshdev.io/cli-addon/addon-1.9.20.zip"},"forced_versions":["4.3.6"]},"last_updated":{"time_stamp":1644916345572}} 2022-02-15 10:48:10.629 +0100 [debug] (data-util.js) Read {"version_details":{"fdkCli":{"version":"7.4.0","dl":"https://dl.freshdev.io/cli/fdk-7.4.0.tgz","cmd":"npm install https://dl.freshdev.io/cli/fdk-7.4.0.tgz -g"},"addon":{"version":"1.9.20","dl":"https://dl.freshdev.io/cli-addon/addon-1.9.20.zip"},"forced_versions":["4.3.6"]},"last_updated":{"time_stamp":1644916345572}} 2022-02-15 10:48:14.823 +0100 [debug] (validate.js) asked to skip the following validations,  2022-02-15 10:48:14.824 +0100 [debug] (validate.js) running validator actions 2022-02-15 10:48:14.825 +0100 [debug] (validate.js) running validator app-dir 2022-02-15 10:48:14.827 +0100 [debug] (validate.js) running validator config-dir 2022-02-15 10:48:14.827 +0100 [debug] (config-dir.js) Checking to see if /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/config/ exists. 2022-02-15 10:48:14.828 +0100 [debug] (config-dir.js) Fetched the following config files iparams.json 2022-02-15 10:48:14.828 +0100 [debug] (validate.js) running validator custom-objects 2022-02-15 10:48:14.829 +0100 [debug] (validate.js) running validator event 2022-02-15 10:48:14.829 +0100 [debug] (validate.js) running validator iparam 2022-02-15 10:48:14.836 +0100 [debug] (validate.js) skipping validator lint 2022-02-15 10:48:14.836 +0100 [debug] (validate.js) running validator manifest 2022-02-15 10:48:14.836 +0100 [debug] (manifest.js) running manifest validation with type run_validation 2022-02-15 10:48:14.837 +0100 [debug] (validate.js) skipping validator manifest-dependency 2022-02-15 10:48:14.837 +0100 [debug] (validate.js) running validator oauth 2022-02-15 10:48:14.837 +0100 [debug] (validate.js) skipping validator pkgsize 2022-02-15 10:48:14.837 +0100 [debug] (validate.js) running validator schema 2022-02-15 10:48:14.838 +0100 [debug] (validate.js) running validator version-check 2022-02-15 10:48:14.844 +0100 [debug] (watcher.js) Preparing to watch the following files ./app,./config,./manifest.json 2022-02-15 10:48:14.854 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://mycompany7573.freshdesk.com","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 10:48:14.855 +0100 [debug] (custom-objects.js) to force or not? false 2022-02-15 10:48:14.855 +0100 [debug] (custom-objects.js) beginning to re-sync db 2022-02-15 10:48:15.768 +0100 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/bigint-pivot.js" 2022-02-15 10:48:15.774 +0100 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field-choice.js" 2022-02-15 10:48:15.776 +0100 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field.js" 2022-02-15 10:48:15.778 +0100 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity.js" 2022-02-15 10:48:15.781 +0100 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/record.js" 2022-02-15 10:48:15.783 +0100 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/string-pivot.js" 2022-02-15 10:48:15.828 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://mycompany7573.freshdesk.com","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 10:48:15.832 +0100 [debug] (custom-objects.js) updated local store with latest entity hash 2022-02-15 10:48:15.841 +0100 [info] Starting local testing server at http://*:10001/ Append 'dev=true' to your Freshdesk account URL to start testing e.g. https://domain.freshdesk.com/a/tickets/1?dev=true Quit the server with Control-C. 2022-02-15 10:48:15.843 +0100 [info] To test the installation page, visit - http://localhost:10001/custom_configs 2022-02-15 10:49:26.610 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://mycompany7573.freshdesk.com","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 10:49:26.615 +0100 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://mycompany7573.freshdesk.com"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-02-15 10:49:26.665 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://mycompany7573.freshdesk.com","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 10:49:26.666 +0100 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://mycompany7573.freshdesk.com"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-02-15 10:49:26.746 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://mycompany7573.freshdesk.com","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 10:49:26.747 +0100 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://mycompany7573.freshdesk.com"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-02-15 10:49:26.788 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://mycompany7573.freshdesk.com","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 10:49:26.789 +0100 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://mycompany7573.freshdesk.com"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-02-15 10:49:26.864 +0100 [debug] (iframe.js) Responding with contents of /template.html 2022-02-15 10:49:26.889 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://mycompany7573.freshdesk.com","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 10:49:26.890 +0100 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://mycompany7573.freshdesk.com"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-02-15 10:49:26.936 +0100 [debug] (iframe.js) Responding with contents of /app.js 2022-02-15 10:49:26.974 +0100 [debug] (coverage-util.js) Instrumenting /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/app/app.js 2022-02-15 10:49:27.290 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://mycompany7573.freshdesk.com","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 10:49:27.290 +0100 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://mycompany7573.freshdesk.com"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-02-15 10:49:27.320 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://mycompany7573.freshdesk.com","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 10:49:27.321 +0100 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://mycompany7573.freshdesk.com"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-02-15 10:49:29.389 +0100 [debug] (coverage-util.js) Writing coverage. 2022-02-15 10:49:29.392 +0100 [debug] (coverage-util.js) Error Cannot read property 'start' of undefined while writing coverage report. 2022-02-15 10:49:29.392 +0100 [debug] (coverage-util.js) Flushing coverage. 2022-02-15 10:49:35.920 +0100 [debug] (data-pipe.js) received call for route "proxy" with action "execute" and body {"action":"execute","data":{"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://https://mycompany7573.freshdesk.com.freshdesk.com/api/v2/tickets/2/time_entries","method":"get"}} 2022-02-15 10:49:35.922 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://mycompany7573.freshdesk.com","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 10:49:35.943 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://mycompany7573.freshdesk.com","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 10:49:35.943 +0100 [debug] (proxy.js) Substituing Templates {"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://https://mycompany7573.freshdesk.com.freshdesk.com/api/v2/tickets/2/time_entries","method":"get"} with {"iparam":{"freshdesk_domain":"https://mycompany7573.freshdesk.com","freshdesk_key":"InkU762V0Yzge4RcTLL"},"oauth_iparams":{}} 2022-02-15 10:49:35.950 +0100 [debug] (proxy.js) Parsed https://https://mycompany7573.freshdesk.com.freshdesk.com/api/v2/tickets/2/time_entries as {"protocol":"https:","slashes":true,"auth":null,"host":"https","port":null,"hostname":"https","hash":null,"search":null,"query":null,"pathname":"//mycompany7573.freshdesk.com.freshdesk.com/api/v2/tickets/2/time_entries","path":"//mycompany7573.freshdesk.com.freshdesk.com/api/v2/tickets/2/time_entries","href":"https://https//mycompany7573.freshdesk.com.freshdesk.com/api/v2/tickets/2/time_entries"} 2022-02-15 10:49:35.953 +0100 [debug] (proxy.js) Proxy errored with Invalid URL - Must be FQDN 2022-02-15 10:49:37.357 +0100 [debug] (coverage-util.js) Writing coverage. 2022-02-15 11:18:15.118 +0100 [info] NOTE: We recommend a coverage of 80% for apps that are to be published in the public marketplace. 2022-02-15 11:18:18.469 +0100 [debug] (logger.js) Starting FDK in node v12.22.7 on linux 2022-02-15 11:18:19.452 +0100 [debug] (sequelize.js) setting up sqilite at "/home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/.fdk/store.sqlite" 2022-02-15 11:18:20.667 +0100 [debug] (index.js) Running with args {"cmd":"run","gopts":{},"opts":{},"goptArg":{},"optArg":{},"args":[]} 2022-02-15 11:18:20.668 +0100 [debug] (data-util.js) Read {"version_details":{"fdkCli":{"version":"7.4.0","dl":"https://dl.freshdev.io/cli/fdk-7.4.0.tgz","cmd":"npm install https://dl.freshdev.io/cli/fdk-7.4.0.tgz -g"},"addon":{"version":"1.9.20","dl":"https://dl.freshdev.io/cli-addon/addon-1.9.20.zip"},"forced_versions":["4.3.6"]},"last_updated":{"time_stamp":1644916345572}} 2022-02-15 11:18:20.668 +0100 [debug] (updater.js) last check less than an day ago, not looking for updates 2022-02-15 11:18:20.914 +0100 [debug] (manifest.js) Reloading manifest with {"platform-version":"2.2","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"whitelisted-domains":["https://<%= iparam.freshdesk_domain %>.freshdesk.com"],"engines":{"node":"12.22.7","fdk":"7.1.0"}}. 2022-02-15 11:18:20.914 +0100 [debug] (manifest.js) Inferred db as features. 2022-02-15 11:18:20.916 +0100 [debug] (data-util.js) Read {"version_details":{"fdkCli":{"version":"7.4.0","dl":"https://dl.freshdev.io/cli/fdk-7.4.0.tgz","cmd":"npm install https://dl.freshdev.io/cli/fdk-7.4.0.tgz -g"},"addon":{"version":"1.9.20","dl":"https://dl.freshdev.io/cli-addon/addon-1.9.20.zip"},"forced_versions":["4.3.6"]},"last_updated":{"time_stamp":1644916345572}} 2022-02-15 11:18:20.931 +0100 [debug] (data-util.js) Read {"version_details":{"fdkCli":{"version":"7.4.0","dl":"https://dl.freshdev.io/cli/fdk-7.4.0.tgz","cmd":"npm install https://dl.freshdev.io/cli/fdk-7.4.0.tgz -g"},"addon":{"version":"1.9.20","dl":"https://dl.freshdev.io/cli-addon/addon-1.9.20.zip"},"forced_versions":["4.3.6"]},"last_updated":{"time_stamp":1644916345572}} 2022-02-15 11:18:23.274 +0100 [debug] (data-util.js) Read {"version_details":{"fdkCli":{"version":"7.4.0","dl":"https://dl.freshdev.io/cli/fdk-7.4.0.tgz","cmd":"npm install https://dl.freshdev.io/cli/fdk-7.4.0.tgz -g"},"addon":{"version":"1.9.20","dl":"https://dl.freshdev.io/cli-addon/addon-1.9.20.zip"},"forced_versions":["4.3.6"]},"last_updated":{"time_stamp":1644916345572}} 2022-02-15 11:18:27.523 +0100 [debug] (validate.js) asked to skip the following validations,  2022-02-15 11:18:27.523 +0100 [debug] (validate.js) running validator actions 2022-02-15 11:18:27.524 +0100 [debug] (validate.js) running validator app-dir 2022-02-15 11:18:27.527 +0100 [debug] (validate.js) running validator config-dir 2022-02-15 11:18:27.527 +0100 [debug] (config-dir.js) Checking to see if /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/config/ exists. 2022-02-15 11:18:27.528 +0100 [debug] (config-dir.js) Fetched the following config files iparams.json 2022-02-15 11:18:27.528 +0100 [debug] (validate.js) running validator custom-objects 2022-02-15 11:18:27.529 +0100 [debug] (validate.js) running validator event 2022-02-15 11:18:27.529 +0100 [debug] (validate.js) running validator iparam 2022-02-15 11:18:27.535 +0100 [debug] (validate.js) skipping validator lint 2022-02-15 11:18:27.535 +0100 [debug] (validate.js) running validator manifest 2022-02-15 11:18:27.535 +0100 [debug] (manifest.js) running manifest validation with type run_validation 2022-02-15 11:18:27.536 +0100 [debug] (validate.js) skipping validator manifest-dependency 2022-02-15 11:18:27.536 +0100 [debug] (validate.js) running validator oauth 2022-02-15 11:18:27.537 +0100 [debug] (validate.js) skipping validator pkgsize 2022-02-15 11:18:27.537 +0100 [debug] (validate.js) running validator schema 2022-02-15 11:18:27.537 +0100 [debug] (validate.js) running validator version-check 2022-02-15 11:18:27.544 +0100 [debug] (watcher.js) Preparing to watch the following files ./app,./config,./manifest.json 2022-02-15 11:18:27.552 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://mycompany7573.freshdesk.com","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 11:18:27.553 +0100 [debug] (custom-objects.js) to force or not? false 2022-02-15 11:18:27.553 +0100 [debug] (custom-objects.js) beginning to re-sync db 2022-02-15 11:18:28.219 +0100 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/bigint-pivot.js" 2022-02-15 11:18:28.224 +0100 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field-choice.js" 2022-02-15 11:18:28.226 +0100 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field.js" 2022-02-15 11:18:28.228 +0100 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity.js" 2022-02-15 11:18:28.230 +0100 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/record.js" 2022-02-15 11:18:28.231 +0100 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/string-pivot.js" 2022-02-15 11:18:28.276 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://mycompany7573.freshdesk.com","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 11:18:28.278 +0100 [debug] (custom-objects.js) updated local store with latest entity hash 2022-02-15 11:18:28.290 +0100 [info] Starting local testing server at http://*:10001/ Append 'dev=true' to your Freshdesk account URL to start testing e.g. https://domain.freshdesk.com/a/tickets/1?dev=true Quit the server with Control-C. 2022-02-15 11:18:28.292 +0100 [info] To test the installation page, visit - http://localhost:10001/custom_configs 2022-02-15 11:18:39.231 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://mycompany7573.freshdesk.com","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 11:18:39.233 +0100 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://mycompany7573.freshdesk.com"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-02-15 11:18:39.322 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://mycompany7573.freshdesk.com","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 11:18:51.223 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"https://mycompany7573.freshdesk.com","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 11:19:10.420 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 11:19:10.421 +0100 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-02-15 11:19:10.470 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 11:19:10.471 +0100 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-02-15 11:19:11.439 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 11:19:11.440 +0100 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-02-15 11:19:11.653 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 11:19:11.654 +0100 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-02-15 11:19:11.698 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 11:19:11.698 +0100 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-02-15 11:19:11.835 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 11:19:11.836 +0100 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-02-15 11:19:11.902 +0100 [debug] (iframe.js) Responding with contents of /template.html 2022-02-15 11:19:11.962 +0100 [debug] (iframe.js) Responding with contents of /app.js 2022-02-15 11:19:11.966 +0100 [debug] (coverage-util.js) Instrumenting /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/app/app.js 2022-02-15 11:19:14.377 +0100 [debug] (coverage-util.js) Writing coverage. 2022-02-15 11:19:17.864 +0100 [debug] (data-pipe.js) received call for route "proxy" with action "execute" and body {"action":"execute","data":{"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://mycompany7573.freshdesk.com/api/v2/tickets/2/time_entries","method":"get"}} 2022-02-15 11:19:17.867 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 11:19:17.879 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 11:19:17.880 +0100 [debug] (proxy.js) Substituing Templates {"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://mycompany7573.freshdesk.com/api/v2/tickets/2/time_entries","method":"get"} with {"iparam":{"freshdesk_domain":"mycompany7573","freshdesk_key":"InkU762V0Yzge4RcTLL"},"oauth_iparams":{}} 2022-02-15 11:19:17.885 +0100 [debug] (proxy.js) Parsed https://mycompany7573.freshdesk.com/api/v2/tickets/2/time_entries as {"protocol":"https:","slashes":true,"auth":null,"host":"mycompany7573.freshdesk.com","port":null,"hostname":"mycompany7573.freshdesk.com","hash":null,"search":null,"query":null,"pathname":"/api/v2/tickets/2/time_entries","path":"/api/v2/tickets/2/time_entries","href":"https://mycompany7573.freshdesk.com/api/v2/tickets/2/time_entries"} 2022-02-15 11:19:17.896 +0100 [debug] (proxy.js) Checking if the request url is whitelisted in manifest 2022-02-15 11:19:17.896 +0100 [debug] (proxy.js) Matched "https://mycompany7573.freshdesk.com/api/v2/tickets/2/time_entries" with https://mycompany7573.freshdesk.com 2022-02-15 11:19:17.898 +0100 [debug] (proxy.js) Making proxy call with options as {"headers":{"Content-Type":"application/json","Authorization":"Basic SW5rVTc2MlYwWXpnZTRSY1RMTDp4"},"url":"https://mycompany7573.freshdesk.com/api/v2/tickets/2/time_entries","method":"get","whitelistedDomains":["https://mycompany7573.freshdesk.com"],"maxAttempts":1,"retryDelay":0,"timeout":5000} 2022-02-15 11:19:18.195 +0100 [debug] (proxy.js) Proxy came back with error as null, body as "[{\"billable\":true,\"note\":\"\",\"id\":101000119814,\"timer_running\":false,\"agent_id\":10101728 2022-02-15 11:19:18.196 +0100 [debug] (proxy.js) Looking for "application/json" in application/json,application/xml,text/html,text/xml,application/jsonp,text/plain,application/javascript,application/vnd.api+json 2022-02-15 11:19:18.360 +0100 [debug] (coverage-util.js) Writing coverage. 2022-02-15 11:25:24.517 +0100 [info] NOTE: We recommend a coverage of 80% for apps that are to be published in the public marketplace. 2022-02-15 11:52:24.416 +0100 [debug] (logger.js) Starting FDK in node v12.22.7 on linux 2022-02-15 11:52:25.328 +0100 [debug] (sequelize.js) setting up sqilite at "/home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/.fdk/store.sqlite" 2022-02-15 11:52:26.589 +0100 [debug] (index.js) Running with args {"cmd":"run","gopts":{},"opts":{},"goptArg":{},"optArg":{},"args":[]} 2022-02-15 11:52:26.591 +0100 [debug] (data-util.js) Read {"version_details":{"fdkCli":{"version":"7.4.0","dl":"https://dl.freshdev.io/cli/fdk-7.4.0.tgz","cmd":"npm install https://dl.freshdev.io/cli/fdk-7.4.0.tgz -g"},"addon":{"version":"1.9.20","dl":"https://dl.freshdev.io/cli-addon/addon-1.9.20.zip"},"forced_versions":["4.3.6"]},"last_updated":{"time_stamp":1644916345572}} 2022-02-15 11:52:26.591 +0100 [debug] (updater.js) last check less than an day ago, not looking for updates 2022-02-15 11:52:26.930 +0100 [debug] (manifest.js) Reloading manifest with {"platform-version":"2.2","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"whitelisted-domains":["https://<%= iparam.freshdesk_domain %>.freshdesk.com"],"engines":{"node":"12.22.7","fdk":"7.1.0"}}. 2022-02-15 11:52:26.930 +0100 [debug] (manifest.js) Inferred db as features. 2022-02-15 11:52:26.933 +0100 [debug] (data-util.js) Read {"version_details":{"fdkCli":{"version":"7.4.0","dl":"https://dl.freshdev.io/cli/fdk-7.4.0.tgz","cmd":"npm install https://dl.freshdev.io/cli/fdk-7.4.0.tgz -g"},"addon":{"version":"1.9.20","dl":"https://dl.freshdev.io/cli-addon/addon-1.9.20.zip"},"forced_versions":["4.3.6"]},"last_updated":{"time_stamp":1644916345572}} 2022-02-15 11:52:26.947 +0100 [debug] (data-util.js) Read {"version_details":{"fdkCli":{"version":"7.4.0","dl":"https://dl.freshdev.io/cli/fdk-7.4.0.tgz","cmd":"npm install https://dl.freshdev.io/cli/fdk-7.4.0.tgz -g"},"addon":{"version":"1.9.20","dl":"https://dl.freshdev.io/cli-addon/addon-1.9.20.zip"},"forced_versions":["4.3.6"]},"last_updated":{"time_stamp":1644916345572}} 2022-02-15 11:52:29.497 +0100 [debug] (data-util.js) Read {"version_details":{"fdkCli":{"version":"7.4.0","dl":"https://dl.freshdev.io/cli/fdk-7.4.0.tgz","cmd":"npm install https://dl.freshdev.io/cli/fdk-7.4.0.tgz -g"},"addon":{"version":"1.9.20","dl":"https://dl.freshdev.io/cli-addon/addon-1.9.20.zip"},"forced_versions":["4.3.6"]},"last_updated":{"time_stamp":1644916345572}} 2022-02-15 11:52:33.856 +0100 [debug] (validate.js) asked to skip the following validations,  2022-02-15 11:52:33.857 +0100 [debug] (validate.js) running validator actions 2022-02-15 11:52:33.858 +0100 [debug] (validate.js) running validator app-dir 2022-02-15 11:52:33.860 +0100 [debug] (validate.js) running validator config-dir 2022-02-15 11:52:33.861 +0100 [debug] (config-dir.js) Checking to see if /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/config/ exists. 2022-02-15 11:52:33.862 +0100 [debug] (config-dir.js) Fetched the following config files iparams.json 2022-02-15 11:52:33.862 +0100 [debug] (validate.js) running validator custom-objects 2022-02-15 11:52:33.863 +0100 [debug] (validate.js) running validator event 2022-02-15 11:52:33.863 +0100 [debug] (validate.js) running validator iparam 2022-02-15 11:52:33.880 +0100 [debug] (validate.js) skipping validator lint 2022-02-15 11:52:33.880 +0100 [debug] (validate.js) running validator manifest 2022-02-15 11:52:33.880 +0100 [debug] (manifest.js) running manifest validation with type run_validation 2022-02-15 11:52:33.881 +0100 [debug] (validate.js) skipping validator manifest-dependency 2022-02-15 11:52:33.881 +0100 [debug] (validate.js) running validator oauth 2022-02-15 11:52:33.882 +0100 [debug] (validate.js) skipping validator pkgsize 2022-02-15 11:52:33.882 +0100 [debug] (validate.js) running validator schema 2022-02-15 11:52:33.882 +0100 [debug] (validate.js) running validator version-check 2022-02-15 11:52:33.890 +0100 [debug] (watcher.js) Preparing to watch the following files ./app,./config,./manifest.json 2022-02-15 11:52:33.899 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 11:52:33.900 +0100 [debug] (custom-objects.js) to force or not? false 2022-02-15 11:52:33.900 +0100 [debug] (custom-objects.js) beginning to re-sync db 2022-02-15 11:52:34.593 +0100 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/bigint-pivot.js" 2022-02-15 11:52:34.600 +0100 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field-choice.js" 2022-02-15 11:52:34.602 +0100 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field.js" 2022-02-15 11:52:34.604 +0100 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity.js" 2022-02-15 11:52:34.606 +0100 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/record.js" 2022-02-15 11:52:34.608 +0100 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/string-pivot.js" 2022-02-15 11:52:34.654 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 11:52:34.657 +0100 [debug] (custom-objects.js) updated local store with latest entity hash 2022-02-15 11:52:34.666 +0100 [info] Starting local testing server at http://*:10001/ Append 'dev=true' to your Freshdesk account URL to start testing e.g. https://domain.freshdesk.com/a/tickets/1?dev=true Quit the server with Control-C. 2022-02-15 11:52:34.668 +0100 [info] To test the installation page, visit - http://localhost:10001/custom_configs 2022-02-15 11:52:47.547 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 11:52:47.550 +0100 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-02-15 11:52:47.603 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 11:52:47.604 +0100 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-02-15 11:52:47.709 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 11:52:47.710 +0100 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-02-15 11:52:47.753 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 11:52:47.754 +0100 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-02-15 11:52:47.845 +0100 [debug] (iframe.js) Responding with contents of /template.html 2022-02-15 11:52:47.883 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 11:52:47.884 +0100 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-02-15 11:52:47.933 +0100 [debug] (iframe.js) Responding with contents of /app.js 2022-02-15 11:52:47.938 +0100 [debug] (coverage-util.js) Instrumenting /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/app/app.js 2022-02-15 11:52:48.554 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 11:52:48.555 +0100 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-02-15 11:52:48.591 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 11:52:48.591 +0100 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-02-15 11:52:50.664 +0100 [debug] (coverage-util.js) Writing coverage. 2022-02-15 11:52:52.618 +0100 [debug] (coverage-util.js) Writing coverage. 2022-02-15 11:52:59.229 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 11:52:59.230 +0100 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-02-15 11:53:07.982 +0100 [debug] (data-pipe.js) received call for route "proxy" with action "execute" and body {"action":"execute","data":{"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://mycompany7573.freshdesk.com/api/v2/tickets/2/time_entries","method":"get"}} 2022-02-15 11:53:07.986 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 11:53:08.005 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 11:53:08.005 +0100 [debug] (proxy.js) Substituing Templates {"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://mycompany7573.freshdesk.com/api/v2/tickets/2/time_entries","method":"get"} with {"iparam":{"freshdesk_domain":"mycompany7573","freshdesk_key":"InkU762V0Yzge4RcTLL"},"oauth_iparams":{}} 2022-02-15 11:53:08.016 +0100 [debug] (proxy.js) Parsed https://mycompany7573.freshdesk.com/api/v2/tickets/2/time_entries as {"protocol":"https:","slashes":true,"auth":null,"host":"mycompany7573.freshdesk.com","port":null,"hostname":"mycompany7573.freshdesk.com","hash":null,"search":null,"query":null,"pathname":"/api/v2/tickets/2/time_entries","path":"/api/v2/tickets/2/time_entries","href":"https://mycompany7573.freshdesk.com/api/v2/tickets/2/time_entries"} 2022-02-15 11:53:08.033 +0100 [debug] (proxy.js) Checking if the request url is whitelisted in manifest 2022-02-15 11:53:08.034 +0100 [debug] (proxy.js) Matched "https://mycompany7573.freshdesk.com/api/v2/tickets/2/time_entries" with https://mycompany7573.freshdesk.com 2022-02-15 11:53:08.035 +0100 [debug] (proxy.js) Making proxy call with options as {"headers":{"Content-Type":"application/json","Authorization":"Basic SW5rVTc2MlYwWXpnZTRSY1RMTDp4"},"url":"https://mycompany7573.freshdesk.com/api/v2/tickets/2/time_entries","method":"get","whitelistedDomains":["https://mycompany7573.freshdesk.com"],"maxAttempts":1,"retryDelay":0,"timeout":5000} 2022-02-15 11:53:08.462 +0100 [debug] (proxy.js) Proxy came back with error as null, body as "[{\"billable\":true,\"note\":\"\",\"id\":101000119814,\"timer_running\":false,\"agent_id\":10101728 2022-02-15 11:53:08.463 +0100 [debug] (proxy.js) Looking for "application/json" in application/json,application/xml,text/html,text/xml,application/jsonp,text/plain,application/javascript,application/vnd.api+json 2022-02-15 11:53:08.629 +0100 [debug] (coverage-util.js) Writing coverage. 2022-02-15 11:53:21.024 +0100 [debug] (data-pipe.js) received call for route "proxy" with action "execute" and body {"action":"execute","data":{"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://mycompany7573.freshdesk.com/api/v2/tickets/2/time_entries","method":"get"}} 2022-02-15 11:53:21.027 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 11:53:21.028 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 11:53:21.029 +0100 [debug] (proxy.js) Substituing Templates {"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://mycompany7573.freshdesk.com/api/v2/tickets/2/time_entries","method":"get"} with {"iparam":{"freshdesk_domain":"mycompany7573","freshdesk_key":"InkU762V0Yzge4RcTLL"},"oauth_iparams":{}} 2022-02-15 11:53:21.031 +0100 [debug] (proxy.js) Parsed https://mycompany7573.freshdesk.com/api/v2/tickets/2/time_entries as {"protocol":"https:","slashes":true,"auth":null,"host":"mycompany7573.freshdesk.com","port":null,"hostname":"mycompany7573.freshdesk.com","hash":null,"search":null,"query":null,"pathname":"/api/v2/tickets/2/time_entries","path":"/api/v2/tickets/2/time_entries","href":"https://mycompany7573.freshdesk.com/api/v2/tickets/2/time_entries"} 2022-02-15 11:53:21.032 +0100 [debug] (proxy.js) Checking if the request url is whitelisted in manifest 2022-02-15 11:53:21.032 +0100 [debug] (proxy.js) Matched "https://mycompany7573.freshdesk.com/api/v2/tickets/2/time_entries" with https://mycompany7573.freshdesk.com 2022-02-15 11:53:21.033 +0100 [debug] (proxy.js) Making proxy call with options as {"headers":{"Content-Type":"application/json","Authorization":"Basic SW5rVTc2MlYwWXpnZTRSY1RMTDp4"},"url":"https://mycompany7573.freshdesk.com/api/v2/tickets/2/time_entries","method":"get","whitelistedDomains":["https://mycompany7573.freshdesk.com"],"maxAttempts":1,"retryDelay":0,"timeout":5000} 2022-02-15 11:53:21.224 +0100 [debug] (proxy.js) Proxy came back with error as null, body as "[{\"billable\":true,\"note\":\"\",\"id\":101000119814,\"timer_running\":false,\"agent_id\":10101728 2022-02-15 11:53:21.225 +0100 [debug] (proxy.js) Looking for "application/json" in application/json,application/xml,text/html,text/xml,application/jsonp,text/plain,application/javascript,application/vnd.api+json 2022-02-15 11:53:22.631 +0100 [debug] (coverage-util.js) Writing coverage. 2022-02-15 11:53:26.623 +0100 [debug] (coverage-util.js) Writing coverage. 2022-02-15 11:55:29.066 +0100 [info] NOTE: We recommend a coverage of 80% for apps that are to be published in the public marketplace. 2022-02-15 11:55:31.603 +0100 [debug] (logger.js) Starting FDK in node v12.22.7 on linux 2022-02-15 11:55:32.629 +0100 [debug] (sequelize.js) setting up sqilite at "/home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/.fdk/store.sqlite" 2022-02-15 11:55:33.873 +0100 [debug] (index.js) Running with args {"cmd":"run","gopts":{},"opts":{},"goptArg":{},"optArg":{},"args":[]} 2022-02-15 11:55:33.875 +0100 [debug] (data-util.js) Read {"version_details":{"fdkCli":{"version":"7.4.0","dl":"https://dl.freshdev.io/cli/fdk-7.4.0.tgz","cmd":"npm install https://dl.freshdev.io/cli/fdk-7.4.0.tgz -g"},"addon":{"version":"1.9.20","dl":"https://dl.freshdev.io/cli-addon/addon-1.9.20.zip"},"forced_versions":["4.3.6"]},"last_updated":{"time_stamp":1644916345572}} 2022-02-15 11:55:33.875 +0100 [debug] (updater.js) last check less than an day ago, not looking for updates 2022-02-15 11:55:34.182 +0100 [debug] (manifest.js) Reloading manifest with {"platform-version":"2.2","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"whitelisted-domains":["https://<%= iparam.freshdesk_domain %>.freshdesk.com"],"engines":{"node":"12.22.7","fdk":"7.1.0"}}. 2022-02-15 11:55:34.183 +0100 [debug] (manifest.js) Inferred db as features. 2022-02-15 11:55:34.186 +0100 [debug] (data-util.js) Read {"version_details":{"fdkCli":{"version":"7.4.0","dl":"https://dl.freshdev.io/cli/fdk-7.4.0.tgz","cmd":"npm install https://dl.freshdev.io/cli/fdk-7.4.0.tgz -g"},"addon":{"version":"1.9.20","dl":"https://dl.freshdev.io/cli-addon/addon-1.9.20.zip"},"forced_versions":["4.3.6"]},"last_updated":{"time_stamp":1644916345572}} 2022-02-15 11:55:34.210 +0100 [debug] (data-util.js) Read {"version_details":{"fdkCli":{"version":"7.4.0","dl":"https://dl.freshdev.io/cli/fdk-7.4.0.tgz","cmd":"npm install https://dl.freshdev.io/cli/fdk-7.4.0.tgz -g"},"addon":{"version":"1.9.20","dl":"https://dl.freshdev.io/cli-addon/addon-1.9.20.zip"},"forced_versions":["4.3.6"]},"last_updated":{"time_stamp":1644916345572}} 2022-02-15 11:55:36.507 +0100 [debug] (data-util.js) Read {"version_details":{"fdkCli":{"version":"7.4.0","dl":"https://dl.freshdev.io/cli/fdk-7.4.0.tgz","cmd":"npm install https://dl.freshdev.io/cli/fdk-7.4.0.tgz -g"},"addon":{"version":"1.9.20","dl":"https://dl.freshdev.io/cli-addon/addon-1.9.20.zip"},"forced_versions":["4.3.6"]},"last_updated":{"time_stamp":1644916345572}} 2022-02-15 11:55:40.796 +0100 [debug] (validate.js) asked to skip the following validations,  2022-02-15 11:55:40.797 +0100 [debug] (validate.js) running validator actions 2022-02-15 11:55:40.798 +0100 [debug] (validate.js) running validator app-dir 2022-02-15 11:55:40.800 +0100 [debug] (validate.js) running validator config-dir 2022-02-15 11:55:40.800 +0100 [debug] (config-dir.js) Checking to see if /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/config/ exists. 2022-02-15 11:55:40.801 +0100 [debug] (config-dir.js) Fetched the following config files iparams.json 2022-02-15 11:55:40.802 +0100 [debug] (validate.js) running validator custom-objects 2022-02-15 11:55:40.802 +0100 [debug] (validate.js) running validator event 2022-02-15 11:55:40.803 +0100 [debug] (validate.js) running validator iparam 2022-02-15 11:55:40.808 +0100 [debug] (validate.js) skipping validator lint 2022-02-15 11:55:40.809 +0100 [debug] (validate.js) running validator manifest 2022-02-15 11:55:40.809 +0100 [debug] (manifest.js) running manifest validation with type run_validation 2022-02-15 11:55:40.809 +0100 [debug] (validate.js) skipping validator manifest-dependency 2022-02-15 11:55:40.810 +0100 [debug] (validate.js) running validator oauth 2022-02-15 11:55:40.810 +0100 [debug] (validate.js) skipping validator pkgsize 2022-02-15 11:55:40.810 +0100 [debug] (validate.js) running validator schema 2022-02-15 11:55:40.811 +0100 [debug] (validate.js) running validator version-check 2022-02-15 11:55:40.817 +0100 [debug] (watcher.js) Preparing to watch the following files ./app,./config,./manifest.json 2022-02-15 11:55:40.825 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 11:55:40.826 +0100 [debug] (custom-objects.js) to force or not? false 2022-02-15 11:55:40.826 +0100 [debug] (custom-objects.js) beginning to re-sync db 2022-02-15 11:55:41.684 +0100 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/bigint-pivot.js" 2022-02-15 11:55:41.690 +0100 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field-choice.js" 2022-02-15 11:55:41.692 +0100 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field.js" 2022-02-15 11:55:41.694 +0100 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity.js" 2022-02-15 11:55:41.695 +0100 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/record.js" 2022-02-15 11:55:41.697 +0100 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/string-pivot.js" 2022-02-15 11:55:41.765 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 11:55:41.769 +0100 [debug] (custom-objects.js) updated local store with latest entity hash 2022-02-15 11:55:41.777 +0100 [info] Starting local testing server at http://*:10001/ Append 'dev=true' to your Freshdesk account URL to start testing e.g. https://domain.freshdesk.com/a/tickets/1?dev=true Quit the server with Control-C. 2022-02-15 11:55:41.780 +0100 [info] To test the installation page, visit - http://localhost:10001/custom_configs 2022-02-15 11:56:01.124 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 11:56:01.126 +0100 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-02-15 11:56:01.149 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 11:56:01.150 +0100 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-02-15 11:56:01.210 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 11:56:01.211 +0100 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-02-15 11:56:01.252 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 11:56:01.253 +0100 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-02-15 11:56:01.331 +0100 [debug] (iframe.js) Responding with contents of /template.html 2022-02-15 11:56:01.351 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 11:56:01.352 +0100 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-02-15 11:56:01.402 +0100 [debug] (iframe.js) Responding with contents of /app.js 2022-02-15 11:56:01.446 +0100 [debug] (coverage-util.js) Instrumenting /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/app/app.js 2022-02-15 11:56:02.198 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 11:56:02.200 +0100 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-02-15 11:56:02.239 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 11:56:02.239 +0100 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-02-15 11:56:04.244 +0100 [debug] (coverage-util.js) Writing coverage. 2022-02-15 11:56:07.492 +0100 [debug] (data-pipe.js) received call for route "proxy" with action "execute" and body {"action":"execute","data":{"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://mycompany7573.freshdesk.com/api/v2/contacts/101017286370","method":"get"}} 2022-02-15 11:56:07.495 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 11:56:07.500 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 11:56:07.500 +0100 [debug] (proxy.js) Substituing Templates {"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://mycompany7573.freshdesk.com/api/v2/contacts/101017286370","method":"get"} with {"iparam":{"freshdesk_domain":"mycompany7573","freshdesk_key":"InkU762V0Yzge4RcTLL"},"oauth_iparams":{}} 2022-02-15 11:56:07.504 +0100 [debug] (proxy.js) Parsed https://mycompany7573.freshdesk.com/api/v2/contacts/101017286370 as {"protocol":"https:","slashes":true,"auth":null,"host":"mycompany7573.freshdesk.com","port":null,"hostname":"mycompany7573.freshdesk.com","hash":null,"search":null,"query":null,"pathname":"/api/v2/contacts/101017286370","path":"/api/v2/contacts/101017286370","href":"https://mycompany7573.freshdesk.com/api/v2/contacts/101017286370"} 2022-02-15 11:56:07.510 +0100 [debug] (proxy.js) Checking if the request url is whitelisted in manifest 2022-02-15 11:56:07.511 +0100 [debug] (proxy.js) Matched "https://mycompany7573.freshdesk.com/api/v2/contacts/101017286370" with https://mycompany7573.freshdesk.com 2022-02-15 11:56:07.511 +0100 [debug] (proxy.js) Making proxy call with options as {"headers":{"Content-Type":"application/json","Authorization":"Basic SW5rVTc2MlYwWXpnZTRSY1RMTDp4"},"url":"https://mycompany7573.freshdesk.com/api/v2/contacts/101017286370","method":"get","whitelistedDomains":["https://mycompany7573.freshdesk.com"],"maxAttempts":1,"retryDelay":0,"timeout":5000} 2022-02-15 11:56:07.727 +0100 [debug] (proxy.js) Proxy came back with error as null, body as "{\"active\":true,\"address\":null,\"description\":null,\"email\":\"matt.rogers@freshdesk.com\",\"id 2022-02-15 11:56:07.727 +0100 [debug] (proxy.js) Looking for "application/json" in application/json,application/xml,text/html,text/xml,application/jsonp,text/plain,application/javascript,application/vnd.api+json 2022-02-15 11:56:08.223 +0100 [debug] (coverage-util.js) Writing coverage. 2022-02-15 11:57:05.928 +0100 [debug] (data-pipe.js) received call for route "proxy" with action "execute" and body {"action":"execute","data":{"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://mycompany7573.freshdesk.com/api/v2/contacts/101017286370","method":"get"}} 2022-02-15 11:57:05.932 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 11:57:05.933 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 11:57:05.934 +0100 [debug] (proxy.js) Substituing Templates {"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://mycompany7573.freshdesk.com/api/v2/contacts/101017286370","method":"get"} with {"iparam":{"freshdesk_domain":"mycompany7573","freshdesk_key":"InkU762V0Yzge4RcTLL"},"oauth_iparams":{}} 2022-02-15 11:57:05.939 +0100 [debug] (proxy.js) Parsed https://mycompany7573.freshdesk.com/api/v2/contacts/101017286370 as {"protocol":"https:","slashes":true,"auth":null,"host":"mycompany7573.freshdesk.com","port":null,"hostname":"mycompany7573.freshdesk.com","hash":null,"search":null,"query":null,"pathname":"/api/v2/contacts/101017286370","path":"/api/v2/contacts/101017286370","href":"https://mycompany7573.freshdesk.com/api/v2/contacts/101017286370"} 2022-02-15 11:57:05.948 +0100 [debug] (proxy.js) Checking if the request url is whitelisted in manifest 2022-02-15 11:57:05.949 +0100 [debug] (proxy.js) Matched "https://mycompany7573.freshdesk.com/api/v2/contacts/101017286370" with https://mycompany7573.freshdesk.com 2022-02-15 11:57:05.949 +0100 [debug] (proxy.js) Making proxy call with options as {"headers":{"Content-Type":"application/json","Authorization":"Basic SW5rVTc2MlYwWXpnZTRSY1RMTDp4"},"url":"https://mycompany7573.freshdesk.com/api/v2/contacts/101017286370","method":"get","whitelistedDomains":["https://mycompany7573.freshdesk.com"],"maxAttempts":1,"retryDelay":0,"timeout":5000} 2022-02-15 11:57:06.150 +0100 [debug] (proxy.js) Proxy came back with error as null, body as "{\"active\":true,\"address\":null,\"description\":null,\"email\":\"matt.rogers@freshdesk.com\",\"id 2022-02-15 11:57:06.151 +0100 [debug] (proxy.js) Looking for "application/json" in application/json,application/xml,text/html,text/xml,application/jsonp,text/plain,application/javascript,application/vnd.api+json 2022-02-15 11:57:06.241 +0100 [debug] (coverage-util.js) Writing coverage. 2022-02-15 13:46:43.570 +0100 [info] NOTE: We recommend a coverage of 80% for apps that are to be published in the public marketplace. 2022-02-15 13:47:04.964 +0100 [debug] (logger.js) Starting FDK in node v12.22.7 on linux 2022-02-15 13:47:06.839 +0100 [debug] (sequelize.js) setting up sqilite at "/home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/.fdk/store.sqlite" 2022-02-15 13:47:08.449 +0100 [debug] (index.js) Running with args {"cmd":"run","gopts":{},"opts":{},"goptArg":{},"optArg":{},"args":[]} 2022-02-15 13:47:08.451 +0100 [debug] (data-util.js) Read {"version_details":{"fdkCli":{"version":"7.4.0","dl":"https://dl.freshdev.io/cli/fdk-7.4.0.tgz","cmd":"npm install https://dl.freshdev.io/cli/fdk-7.4.0.tgz -g"},"addon":{"version":"1.9.20","dl":"https://dl.freshdev.io/cli-addon/addon-1.9.20.zip"},"forced_versions":["4.3.6"]},"last_updated":{"time_stamp":1644916345572}} 2022-02-15 13:47:08.453 +0100 [debug] (updater.js) last check less than an day ago, not looking for updates 2022-02-15 13:47:09.157 +0100 [debug] (manifest.js) Reloading manifest with {"platform-version":"2.2","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"whitelisted-domains":["https://<%= iparam.freshdesk_domain %>.freshdesk.com"],"engines":{"node":"12.22.7","fdk":"7.1.0"}}. 2022-02-15 13:47:09.159 +0100 [debug] (manifest.js) Inferred db as features. 2022-02-15 13:47:09.166 +0100 [debug] (data-util.js) Read {"version_details":{"fdkCli":{"version":"7.4.0","dl":"https://dl.freshdev.io/cli/fdk-7.4.0.tgz","cmd":"npm install https://dl.freshdev.io/cli/fdk-7.4.0.tgz -g"},"addon":{"version":"1.9.20","dl":"https://dl.freshdev.io/cli-addon/addon-1.9.20.zip"},"forced_versions":["4.3.6"]},"last_updated":{"time_stamp":1644916345572}} 2022-02-15 13:47:09.207 +0100 [debug] (data-util.js) Read {"version_details":{"fdkCli":{"version":"7.4.0","dl":"https://dl.freshdev.io/cli/fdk-7.4.0.tgz","cmd":"npm install https://dl.freshdev.io/cli/fdk-7.4.0.tgz -g"},"addon":{"version":"1.9.20","dl":"https://dl.freshdev.io/cli-addon/addon-1.9.20.zip"},"forced_versions":["4.3.6"]},"last_updated":{"time_stamp":1644916345572}} 2022-02-15 13:47:12.252 +0100 [debug] (data-util.js) Read {"version_details":{"fdkCli":{"version":"7.4.0","dl":"https://dl.freshdev.io/cli/fdk-7.4.0.tgz","cmd":"npm install https://dl.freshdev.io/cli/fdk-7.4.0.tgz -g"},"addon":{"version":"1.9.20","dl":"https://dl.freshdev.io/cli-addon/addon-1.9.20.zip"},"forced_versions":["4.3.6"]},"last_updated":{"time_stamp":1644916345572}} 2022-02-15 13:47:16.712 +0100 [debug] (validate.js) asked to skip the following validations,  2022-02-15 13:47:16.713 +0100 [debug] (validate.js) running validator actions 2022-02-15 13:47:16.714 +0100 [debug] (validate.js) running validator app-dir 2022-02-15 13:47:16.717 +0100 [debug] (validate.js) running validator config-dir 2022-02-15 13:47:16.717 +0100 [debug] (config-dir.js) Checking to see if /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/config/ exists. 2022-02-15 13:47:16.718 +0100 [debug] (config-dir.js) Fetched the following config files iparams.json 2022-02-15 13:47:16.718 +0100 [debug] (validate.js) running validator custom-objects 2022-02-15 13:47:16.719 +0100 [debug] (validate.js) running validator event 2022-02-15 13:47:16.719 +0100 [debug] (validate.js) running validator iparam 2022-02-15 13:47:16.729 +0100 [debug] (validate.js) skipping validator lint 2022-02-15 13:47:16.729 +0100 [debug] (validate.js) running validator manifest 2022-02-15 13:47:16.730 +0100 [debug] (manifest.js) running manifest validation with type run_validation 2022-02-15 13:47:16.730 +0100 [debug] (validate.js) skipping validator manifest-dependency 2022-02-15 13:47:16.731 +0100 [debug] (validate.js) running validator oauth 2022-02-15 13:47:16.731 +0100 [debug] (validate.js) skipping validator pkgsize 2022-02-15 13:47:16.732 +0100 [debug] (validate.js) running validator schema 2022-02-15 13:47:16.732 +0100 [debug] (validate.js) running validator version-check 2022-02-15 13:47:16.739 +0100 [debug] (watcher.js) Preparing to watch the following files ./app,./config,./manifest.json 2022-02-15 13:47:16.750 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 13:47:16.751 +0100 [debug] (custom-objects.js) to force or not? false 2022-02-15 13:47:16.752 +0100 [debug] (custom-objects.js) beginning to re-sync db 2022-02-15 13:47:17.587 +0100 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/bigint-pivot.js" 2022-02-15 13:47:17.593 +0100 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field-choice.js" 2022-02-15 13:47:17.595 +0100 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field.js" 2022-02-15 13:47:17.596 +0100 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity.js" 2022-02-15 13:47:17.598 +0100 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/record.js" 2022-02-15 13:47:17.600 +0100 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/string-pivot.js" 2022-02-15 13:47:17.656 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 13:47:17.659 +0100 [debug] (custom-objects.js) updated local store with latest entity hash 2022-02-15 13:47:17.667 +0100 [info] Starting local testing server at http://*:10001/ Append 'dev=true' to your Freshdesk account URL to start testing e.g. https://domain.freshdesk.com/a/tickets/1?dev=true Quit the server with Control-C. 2022-02-15 13:47:17.669 +0100 [info] To test the installation page, visit - http://localhost:10001/custom_configs 2022-02-15 13:47:36.008 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 13:47:36.012 +0100 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-02-15 13:47:36.045 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 13:47:36.046 +0100 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-02-15 13:47:36.142 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 13:47:36.142 +0100 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-02-15 13:47:36.186 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 13:47:36.187 +0100 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-02-15 13:47:36.264 +0100 [debug] (iframe.js) Responding with contents of /template.html 2022-02-15 13:47:36.281 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 13:47:36.282 +0100 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-02-15 13:47:36.321 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 13:47:36.326 +0100 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-02-15 13:47:36.338 +0100 [debug] (iframe.js) Responding with contents of /app.js 2022-02-15 13:47:36.386 +0100 [debug] (coverage-util.js) Instrumenting /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/app/app.js 2022-02-15 13:47:37.036 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 13:47:37.037 +0100 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-02-15 13:47:39.253 +0100 [debug] (coverage-util.js) Writing coverage. 2022-02-15 13:47:47.334 +0100 [debug] (data-pipe.js) received call for route "proxy" with action "execute" and body {"action":"execute","data":{"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://mycompany7573.freshdesk.com/api/v2/contacts/101017286370","method":"get"}} 2022-02-15 13:47:47.336 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 13:47:47.347 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 13:47:47.348 +0100 [debug] (proxy.js) Substituing Templates {"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://mycompany7573.freshdesk.com/api/v2/contacts/101017286370","method":"get"} with {"iparam":{"freshdesk_domain":"mycompany7573","freshdesk_key":"InkU762V0Yzge4RcTLL"},"oauth_iparams":{}} 2022-02-15 13:47:47.352 +0100 [debug] (proxy.js) Parsed https://mycompany7573.freshdesk.com/api/v2/contacts/101017286370 as {"protocol":"https:","slashes":true,"auth":null,"host":"mycompany7573.freshdesk.com","port":null,"hostname":"mycompany7573.freshdesk.com","hash":null,"search":null,"query":null,"pathname":"/api/v2/contacts/101017286370","path":"/api/v2/contacts/101017286370","href":"https://mycompany7573.freshdesk.com/api/v2/contacts/101017286370"} 2022-02-15 13:47:47.361 +0100 [debug] (proxy.js) Checking if the request url is whitelisted in manifest 2022-02-15 13:47:47.361 +0100 [debug] (proxy.js) Matched "https://mycompany7573.freshdesk.com/api/v2/contacts/101017286370" with https://mycompany7573.freshdesk.com 2022-02-15 13:47:47.362 +0100 [debug] (proxy.js) Making proxy call with options as {"headers":{"Content-Type":"application/json","Authorization":"Basic SW5rVTc2MlYwWXpnZTRSY1RMTDp4"},"url":"https://mycompany7573.freshdesk.com/api/v2/contacts/101017286370","method":"get","whitelistedDomains":["https://mycompany7573.freshdesk.com"],"maxAttempts":1,"retryDelay":0,"timeout":5000} 2022-02-15 13:47:47.625 +0100 [debug] (proxy.js) Proxy came back with error as null, body as "{\"active\":true,\"address\":null,\"description\":null,\"email\":\"matt.rogers@freshdesk.com\",\"id 2022-02-15 13:47:47.626 +0100 [debug] (proxy.js) Looking for "application/json" in application/json,application/xml,text/html,text/xml,application/jsonp,text/plain,application/javascript,application/vnd.api+json 2022-02-15 13:47:49.207 +0100 [debug] (coverage-util.js) Writing coverage. 2022-02-15 13:59:31.217 +0100 [info] NOTE: We recommend a coverage of 80% for apps that are to be published in the public marketplace. 2022-02-15 13:59:33.027 +0100 [debug] (logger.js) Starting FDK in node v12.22.7 on linux 2022-02-15 13:59:34.070 +0100 [debug] (sequelize.js) setting up sqilite at "/home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/.fdk/store.sqlite" 2022-02-15 13:59:35.310 +0100 [debug] (index.js) Running with args {"cmd":"run","gopts":{},"opts":{},"goptArg":{},"optArg":{},"args":[]} 2022-02-15 13:59:35.310 +0100 [debug] (data-util.js) Read {"version_details":{"fdkCli":{"version":"7.4.0","dl":"https://dl.freshdev.io/cli/fdk-7.4.0.tgz","cmd":"npm install https://dl.freshdev.io/cli/fdk-7.4.0.tgz -g"},"addon":{"version":"1.9.20","dl":"https://dl.freshdev.io/cli-addon/addon-1.9.20.zip"},"forced_versions":["4.3.6"]},"last_updated":{"time_stamp":1644916345572}} 2022-02-15 13:59:35.311 +0100 [debug] (updater.js) last check less than an day ago, not looking for updates 2022-02-15 13:59:35.664 +0100 [debug] (manifest.js) Reloading manifest with {"platform-version":"2.2","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"whitelisted-domains":["https://<%= iparam.freshdesk_domain %>.freshdesk.com"],"engines":{"node":"12.22.7","fdk":"7.1.0"}}. 2022-02-15 13:59:35.664 +0100 [debug] (manifest.js) Inferred db as features. 2022-02-15 13:59:35.666 +0100 [debug] (data-util.js) Read {"version_details":{"fdkCli":{"version":"7.4.0","dl":"https://dl.freshdev.io/cli/fdk-7.4.0.tgz","cmd":"npm install https://dl.freshdev.io/cli/fdk-7.4.0.tgz -g"},"addon":{"version":"1.9.20","dl":"https://dl.freshdev.io/cli-addon/addon-1.9.20.zip"},"forced_versions":["4.3.6"]},"last_updated":{"time_stamp":1644916345572}} 2022-02-15 13:59:35.680 +0100 [debug] (data-util.js) Read {"version_details":{"fdkCli":{"version":"7.4.0","dl":"https://dl.freshdev.io/cli/fdk-7.4.0.tgz","cmd":"npm install https://dl.freshdev.io/cli/fdk-7.4.0.tgz -g"},"addon":{"version":"1.9.20","dl":"https://dl.freshdev.io/cli-addon/addon-1.9.20.zip"},"forced_versions":["4.3.6"]},"last_updated":{"time_stamp":1644916345572}} 2022-02-15 13:59:38.283 +0100 [debug] (data-util.js) Read {"version_details":{"fdkCli":{"version":"7.4.0","dl":"https://dl.freshdev.io/cli/fdk-7.4.0.tgz","cmd":"npm install https://dl.freshdev.io/cli/fdk-7.4.0.tgz -g"},"addon":{"version":"1.9.20","dl":"https://dl.freshdev.io/cli-addon/addon-1.9.20.zip"},"forced_versions":["4.3.6"]},"last_updated":{"time_stamp":1644916345572}} 2022-02-15 13:59:42.670 +0100 [debug] (validate.js) asked to skip the following validations,  2022-02-15 13:59:42.671 +0100 [debug] (validate.js) running validator actions 2022-02-15 13:59:42.671 +0100 [debug] (validate.js) running validator app-dir 2022-02-15 13:59:42.673 +0100 [debug] (validate.js) running validator config-dir 2022-02-15 13:59:42.674 +0100 [debug] (config-dir.js) Checking to see if /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/config/ exists. 2022-02-15 13:59:42.675 +0100 [debug] (config-dir.js) Fetched the following config files iparams.json 2022-02-15 13:59:42.675 +0100 [debug] (validate.js) running validator custom-objects 2022-02-15 13:59:42.676 +0100 [debug] (validate.js) running validator event 2022-02-15 13:59:42.676 +0100 [debug] (validate.js) running validator iparam 2022-02-15 13:59:42.682 +0100 [debug] (validate.js) skipping validator lint 2022-02-15 13:59:42.682 +0100 [debug] (validate.js) running validator manifest 2022-02-15 13:59:42.682 +0100 [debug] (manifest.js) running manifest validation with type run_validation 2022-02-15 13:59:42.683 +0100 [debug] (validate.js) skipping validator manifest-dependency 2022-02-15 13:59:42.683 +0100 [debug] (validate.js) running validator oauth 2022-02-15 13:59:42.683 +0100 [debug] (validate.js) skipping validator pkgsize 2022-02-15 13:59:42.684 +0100 [debug] (validate.js) running validator schema 2022-02-15 13:59:42.684 +0100 [debug] (validate.js) running validator version-check 2022-02-15 13:59:42.690 +0100 [debug] (watcher.js) Preparing to watch the following files ./app,./config,./manifest.json 2022-02-15 13:59:42.699 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 13:59:42.699 +0100 [debug] (custom-objects.js) to force or not? false 2022-02-15 13:59:42.699 +0100 [debug] (custom-objects.js) beginning to re-sync db 2022-02-15 13:59:43.481 +0100 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/bigint-pivot.js" 2022-02-15 13:59:43.488 +0100 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field-choice.js" 2022-02-15 13:59:43.491 +0100 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field.js" 2022-02-15 13:59:43.494 +0100 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity.js" 2022-02-15 13:59:43.496 +0100 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/record.js" 2022-02-15 13:59:43.498 +0100 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/string-pivot.js" 2022-02-15 13:59:43.551 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 13:59:43.553 +0100 [debug] (custom-objects.js) updated local store with latest entity hash 2022-02-15 13:59:43.557 +0100 [info] Starting local testing server at http://*:10001/ Append 'dev=true' to your Freshdesk account URL to start testing e.g. https://domain.freshdesk.com/a/tickets/1?dev=true Quit the server with Control-C. 2022-02-15 13:59:43.558 +0100 [info] To test the installation page, visit - http://localhost:10001/custom_configs 2022-02-15 14:00:32.685 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 14:00:32.688 +0100 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-02-15 14:00:32.731 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 14:00:32.732 +0100 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-02-15 14:00:32.806 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 14:00:32.807 +0100 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-02-15 14:00:32.845 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 14:00:32.846 +0100 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-02-15 14:00:32.900 +0100 [debug] (iframe.js) Responding with contents of /template.html 2022-02-15 14:00:32.936 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 14:00:32.936 +0100 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-02-15 14:00:32.957 +0100 [debug] (iframe.js) Responding with contents of /app.js 2022-02-15 14:00:32.992 +0100 [debug] (coverage-util.js) Instrumenting /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/app/app.js 2022-02-15 14:00:33.656 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 14:00:33.657 +0100 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-02-15 14:00:33.689 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 14:00:33.690 +0100 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-02-15 14:00:35.784 +0100 [debug] (coverage-util.js) Writing coverage. 2022-02-15 14:00:35.786 +0100 [debug] (coverage-util.js) Error Cannot read property 'start' of undefined while writing coverage report. 2022-02-15 14:00:35.786 +0100 [debug] (coverage-util.js) Flushing coverage. 2022-02-15 14:00:44.542 +0100 [debug] (data-pipe.js) received call for route "proxy" with action "execute" and body {"action":"execute","data":{"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://mycompany7573.freshdesk.com/api/v2/contacts/101017286370","method":"get"}} 2022-02-15 14:00:44.544 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 14:00:44.556 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 14:00:44.556 +0100 [debug] (proxy.js) Substituing Templates {"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://mycompany7573.freshdesk.com/api/v2/contacts/101017286370","method":"get"} with {"iparam":{"freshdesk_domain":"mycompany7573","freshdesk_key":"InkU762V0Yzge4RcTLL"},"oauth_iparams":{}} 2022-02-15 14:00:44.564 +0100 [debug] (proxy.js) Parsed https://mycompany7573.freshdesk.com/api/v2/contacts/101017286370 as {"protocol":"https:","slashes":true,"auth":null,"host":"mycompany7573.freshdesk.com","port":null,"hostname":"mycompany7573.freshdesk.com","hash":null,"search":null,"query":null,"pathname":"/api/v2/contacts/101017286370","path":"/api/v2/contacts/101017286370","href":"https://mycompany7573.freshdesk.com/api/v2/contacts/101017286370"} 2022-02-15 14:00:44.577 +0100 [debug] (proxy.js) Checking if the request url is whitelisted in manifest 2022-02-15 14:00:44.577 +0100 [debug] (proxy.js) Matched "https://mycompany7573.freshdesk.com/api/v2/contacts/101017286370" with https://mycompany7573.freshdesk.com 2022-02-15 14:00:44.578 +0100 [debug] (proxy.js) Making proxy call with options as {"headers":{"Content-Type":"application/json","Authorization":"Basic SW5rVTc2MlYwWXpnZTRSY1RMTDp4"},"url":"https://mycompany7573.freshdesk.com/api/v2/contacts/101017286370","method":"get","whitelistedDomains":["https://mycompany7573.freshdesk.com"],"maxAttempts":1,"retryDelay":0,"timeout":5000} 2022-02-15 14:00:44.925 +0100 [debug] (proxy.js) Proxy came back with error as null, body as "{\"active\":true,\"address\":null,\"description\":null,\"email\":\"matt.rogers@freshdesk.com\",\"id 2022-02-15 14:00:44.926 +0100 [debug] (proxy.js) Looking for "application/json" in application/json,application/xml,text/html,text/xml,application/jsonp,text/plain,application/javascript,application/vnd.api+json 2022-02-15 14:00:45.774 +0100 [debug] (coverage-util.js) Writing coverage. 2022-02-15 14:01:16.906 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 14:01:16.907 +0100 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-02-15 14:01:16.962 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 14:01:16.963 +0100 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-02-15 14:01:17.952 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 14:01:17.952 +0100 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-02-15 14:01:18.116 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 14:01:18.117 +0100 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-02-15 14:01:18.156 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 14:01:18.157 +0100 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-02-15 14:01:18.284 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 14:01:18.284 +0100 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-02-15 14:01:18.312 +0100 [debug] (iframe.js) Responding with contents of /template.html 2022-02-15 14:01:18.384 +0100 [debug] (iframe.js) Responding with contents of /app.js 2022-02-15 14:01:18.385 +0100 [debug] (coverage-util.js) Instrumenting /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/app/app.js 2022-02-15 14:01:20.812 +0100 [debug] (coverage-util.js) Writing coverage. 2022-02-15 14:01:23.602 +0100 [debug] (data-pipe.js) received call for route "proxy" with action "execute" and body {"action":"execute","data":{"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://mycompany7573.freshdesk.com/api/v2/contacts/101017286370","method":"get"}} 2022-02-15 14:01:23.604 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 14:01:23.605 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 14:01:23.610 +0100 [debug] (proxy.js) Substituing Templates {"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://mycompany7573.freshdesk.com/api/v2/contacts/101017286370","method":"get"} with {"iparam":{"freshdesk_domain":"mycompany7573","freshdesk_key":"InkU762V0Yzge4RcTLL"},"oauth_iparams":{}} 2022-02-15 14:01:23.614 +0100 [debug] (proxy.js) Parsed https://mycompany7573.freshdesk.com/api/v2/contacts/101017286370 as {"protocol":"https:","slashes":true,"auth":null,"host":"mycompany7573.freshdesk.com","port":null,"hostname":"mycompany7573.freshdesk.com","hash":null,"search":null,"query":null,"pathname":"/api/v2/contacts/101017286370","path":"/api/v2/contacts/101017286370","href":"https://mycompany7573.freshdesk.com/api/v2/contacts/101017286370"} 2022-02-15 14:01:23.614 +0100 [debug] (proxy.js) Checking if the request url is whitelisted in manifest 2022-02-15 14:01:23.615 +0100 [debug] (proxy.js) Matched "https://mycompany7573.freshdesk.com/api/v2/contacts/101017286370" with https://mycompany7573.freshdesk.com 2022-02-15 14:01:23.615 +0100 [debug] (proxy.js) Making proxy call with options as {"headers":{"Content-Type":"application/json","Authorization":"Basic SW5rVTc2MlYwWXpnZTRSY1RMTDp4"},"url":"https://mycompany7573.freshdesk.com/api/v2/contacts/101017286370","method":"get","whitelistedDomains":["https://mycompany7573.freshdesk.com"],"maxAttempts":1,"retryDelay":0,"timeout":5000} 2022-02-15 14:01:23.873 +0100 [debug] (proxy.js) Proxy came back with error as null, body as "{\"active\":true,\"address\":null,\"description\":null,\"email\":\"matt.rogers@freshdesk.com\",\"id 2022-02-15 14:01:23.874 +0100 [debug] (proxy.js) Looking for "application/json" in application/json,application/xml,text/html,text/xml,application/jsonp,text/plain,application/javascript,application/vnd.api+json 2022-02-15 14:01:24.821 +0100 [debug] (coverage-util.js) Writing coverage. 2022-02-15 14:01:30.823 +0100 [debug] (coverage-util.js) Writing coverage. 2022-02-15 14:02:33.053 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 14:02:33.054 +0100 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-02-15 14:02:33.076 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 14:02:33.076 +0100 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-02-15 14:02:33.144 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 14:02:33.145 +0100 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-02-15 14:02:33.179 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 14:02:33.180 +0100 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-02-15 14:02:33.259 +0100 [debug] (iframe.js) Responding with contents of /template.html 2022-02-15 14:02:33.283 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 14:02:33.285 +0100 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-02-15 14:02:33.339 +0100 [debug] (iframe.js) Responding with contents of /app.js 2022-02-15 14:02:33.341 +0100 [debug] (coverage-util.js) Instrumenting /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/app/app.js 2022-02-15 14:02:33.556 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 14:02:33.556 +0100 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-02-15 14:02:33.583 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 14:02:33.583 +0100 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-02-15 14:02:35.634 +0100 [debug] (coverage-util.js) Writing coverage. 2022-02-15 14:02:40.666 +0100 [debug] (data-pipe.js) received call for route "proxy" with action "execute" and body {"action":"execute","data":{"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://mycompany7573.freshdesk.com/api/v2/contacts/101017286368","method":"get"}} 2022-02-15 14:02:40.669 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 14:02:40.671 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 14:02:40.672 +0100 [debug] (proxy.js) Substituing Templates {"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://mycompany7573.freshdesk.com/api/v2/contacts/101017286368","method":"get"} with {"iparam":{"freshdesk_domain":"mycompany7573","freshdesk_key":"InkU762V0Yzge4RcTLL"},"oauth_iparams":{}} 2022-02-15 14:02:40.675 +0100 [debug] (proxy.js) Parsed https://mycompany7573.freshdesk.com/api/v2/contacts/101017286368 as {"protocol":"https:","slashes":true,"auth":null,"host":"mycompany7573.freshdesk.com","port":null,"hostname":"mycompany7573.freshdesk.com","hash":null,"search":null,"query":null,"pathname":"/api/v2/contacts/101017286368","path":"/api/v2/contacts/101017286368","href":"https://mycompany7573.freshdesk.com/api/v2/contacts/101017286368"} 2022-02-15 14:02:40.675 +0100 [debug] (proxy.js) Checking if the request url is whitelisted in manifest 2022-02-15 14:02:40.676 +0100 [debug] (proxy.js) Matched "https://mycompany7573.freshdesk.com/api/v2/contacts/101017286368" with https://mycompany7573.freshdesk.com 2022-02-15 14:02:40.677 +0100 [debug] (proxy.js) Making proxy call with options as {"headers":{"Content-Type":"application/json","Authorization":"Basic SW5rVTc2MlYwWXpnZTRSY1RMTDp4"},"url":"https://mycompany7573.freshdesk.com/api/v2/contacts/101017286368","method":"get","whitelistedDomains":["https://mycompany7573.freshdesk.com"],"maxAttempts":1,"retryDelay":0,"timeout":5000} 2022-02-15 14:02:40.897 +0100 [debug] (proxy.js) Proxy came back with error as null, body as "{\"active\":true,\"address\":null,\"description\":null,\"email\":\"emily.garcia@freshdesk.com\",\"i 2022-02-15 14:02:40.897 +0100 [debug] (proxy.js) Looking for "application/json" in application/json,application/xml,text/html,text/xml,application/jsonp,text/plain,application/javascript,application/vnd.api+json 2022-02-15 14:02:41.655 +0100 [debug] (coverage-util.js) Writing coverage. 2022-02-15 14:30:54.167 +0100 [debug] (data-pipe.js) received call for route "proxy" with action "execute" and body {"action":"execute","data":{"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://mycompany7573.freshdesk.com/api/v2/contacts/101017286368","method":"get"}} 2022-02-15 14:30:54.173 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 14:30:54.178 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 14:30:54.178 +0100 [debug] (proxy.js) Substituing Templates {"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://mycompany7573.freshdesk.com/api/v2/contacts/101017286368","method":"get"} with {"iparam":{"freshdesk_domain":"mycompany7573","freshdesk_key":"InkU762V0Yzge4RcTLL"},"oauth_iparams":{}} 2022-02-15 14:30:54.181 +0100 [debug] (proxy.js) Parsed https://mycompany7573.freshdesk.com/api/v2/contacts/101017286368 as {"protocol":"https:","slashes":true,"auth":null,"host":"mycompany7573.freshdesk.com","port":null,"hostname":"mycompany7573.freshdesk.com","hash":null,"search":null,"query":null,"pathname":"/api/v2/contacts/101017286368","path":"/api/v2/contacts/101017286368","href":"https://mycompany7573.freshdesk.com/api/v2/contacts/101017286368"} 2022-02-15 14:30:54.182 +0100 [debug] (proxy.js) Checking if the request url is whitelisted in manifest 2022-02-15 14:30:54.182 +0100 [debug] (proxy.js) Matched "https://mycompany7573.freshdesk.com/api/v2/contacts/101017286368" with https://mycompany7573.freshdesk.com 2022-02-15 14:30:54.183 +0100 [debug] (proxy.js) Making proxy call with options as {"headers":{"Content-Type":"application/json","Authorization":"Basic SW5rVTc2MlYwWXpnZTRSY1RMTDp4"},"url":"https://mycompany7573.freshdesk.com/api/v2/contacts/101017286368","method":"get","whitelistedDomains":["https://mycompany7573.freshdesk.com"],"maxAttempts":1,"retryDelay":0,"timeout":5000} 2022-02-15 14:30:54.500 +0100 [debug] (proxy.js) Proxy came back with error as null, body as "{\"active\":true,\"address\":null,\"description\":null,\"email\":\"emily.garcia@freshdesk.com\",\"i 2022-02-15 14:30:54.501 +0100 [debug] (proxy.js) Looking for "application/json" in application/json,application/xml,text/html,text/xml,application/jsonp,text/plain,application/javascript,application/vnd.api+json 2022-02-15 14:30:55.655 +0100 [debug] (coverage-util.js) Writing coverage. 2022-02-15 14:31:25.925 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 14:31:25.926 +0100 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-02-15 14:31:25.991 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 14:31:25.992 +0100 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-02-15 14:31:26.934 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 14:31:26.934 +0100 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-02-15 14:31:27.026 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 14:31:27.026 +0100 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-02-15 14:31:27.057 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 14:31:27.058 +0100 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-02-15 14:31:27.146 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 14:31:27.147 +0100 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-02-15 14:31:27.196 +0100 [debug] (iframe.js) Responding with contents of /template.html 2022-02-15 14:31:27.242 +0100 [debug] (iframe.js) Responding with contents of /app.js 2022-02-15 14:31:27.244 +0100 [debug] (coverage-util.js) Instrumenting /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/app/app.js 2022-02-15 14:31:29.658 +0100 [debug] (coverage-util.js) Writing coverage. 2022-02-15 14:31:31.948 +0100 [debug] (data-pipe.js) received call for route "proxy" with action "execute" and body {"action":"execute","data":{"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://mycompany7573.freshdesk.com/api/v2/contacts/101017286368","method":"get"}} 2022-02-15 14:31:31.950 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 14:31:31.952 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 14:31:31.952 +0100 [debug] (proxy.js) Substituing Templates {"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://mycompany7573.freshdesk.com/api/v2/contacts/101017286368","method":"get"} with {"iparam":{"freshdesk_domain":"mycompany7573","freshdesk_key":"InkU762V0Yzge4RcTLL"},"oauth_iparams":{}} 2022-02-15 14:31:31.954 +0100 [debug] (proxy.js) Parsed https://mycompany7573.freshdesk.com/api/v2/contacts/101017286368 as {"protocol":"https:","slashes":true,"auth":null,"host":"mycompany7573.freshdesk.com","port":null,"hostname":"mycompany7573.freshdesk.com","hash":null,"search":null,"query":null,"pathname":"/api/v2/contacts/101017286368","path":"/api/v2/contacts/101017286368","href":"https://mycompany7573.freshdesk.com/api/v2/contacts/101017286368"} 2022-02-15 14:31:31.955 +0100 [debug] (proxy.js) Checking if the request url is whitelisted in manifest 2022-02-15 14:31:31.955 +0100 [debug] (proxy.js) Matched "https://mycompany7573.freshdesk.com/api/v2/contacts/101017286368" with https://mycompany7573.freshdesk.com 2022-02-15 14:31:31.955 +0100 [debug] (proxy.js) Making proxy call with options as {"headers":{"Content-Type":"application/json","Authorization":"Basic SW5rVTc2MlYwWXpnZTRSY1RMTDp4"},"url":"https://mycompany7573.freshdesk.com/api/v2/contacts/101017286368","method":"get","whitelistedDomains":["https://mycompany7573.freshdesk.com"],"maxAttempts":1,"retryDelay":0,"timeout":5000} 2022-02-15 14:31:32.167 +0100 [debug] (proxy.js) Proxy came back with error as null, body as "{\"active\":true,\"address\":null,\"description\":null,\"email\":\"emily.garcia@freshdesk.com\",\"i 2022-02-15 14:31:32.168 +0100 [debug] (proxy.js) Looking for "application/json" in application/json,application/xml,text/html,text/xml,application/jsonp,text/plain,application/javascript,application/vnd.api+json 2022-02-15 14:31:33.657 +0100 [debug] (coverage-util.js) Writing coverage. 2022-02-15 14:56:39.891 +0100 [info] NOTE: We recommend a coverage of 80% for apps that are to be published in the public marketplace. 2022-02-15 14:56:46.110 +0100 [debug] (logger.js) Starting FDK in node v12.22.7 on linux 2022-02-15 14:56:48.478 +0100 [debug] (sequelize.js) setting up sqilite at "/home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/.fdk/store.sqlite" 2022-02-15 14:56:50.062 +0100 [debug] (index.js) Running with args {"cmd":"run","gopts":{},"opts":{},"goptArg":{},"optArg":{},"args":[]} 2022-02-15 14:56:50.064 +0100 [debug] (data-util.js) Read {"version_details":{"fdkCli":{"version":"7.4.0","dl":"https://dl.freshdev.io/cli/fdk-7.4.0.tgz","cmd":"npm install https://dl.freshdev.io/cli/fdk-7.4.0.tgz -g"},"addon":{"version":"1.9.20","dl":"https://dl.freshdev.io/cli-addon/addon-1.9.20.zip"},"forced_versions":["4.3.6"]},"last_updated":{"time_stamp":1644916345572}} 2022-02-15 14:56:50.064 +0100 [debug] (updater.js) last check less than an day ago, not looking for updates 2022-02-15 14:56:50.820 +0100 [debug] (manifest.js) Reloading manifest with {"platform-version":"2.2","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"whitelisted-domains":["https://<%= iparam.freshdesk_domain %>.freshdesk.com"],"engines":{"node":"12.22.7","fdk":"7.1.0"}}. 2022-02-15 14:56:50.822 +0100 [debug] (manifest.js) Inferred db as features. 2022-02-15 14:56:50.830 +0100 [debug] (data-util.js) Read {"version_details":{"fdkCli":{"version":"7.4.0","dl":"https://dl.freshdev.io/cli/fdk-7.4.0.tgz","cmd":"npm install https://dl.freshdev.io/cli/fdk-7.4.0.tgz -g"},"addon":{"version":"1.9.20","dl":"https://dl.freshdev.io/cli-addon/addon-1.9.20.zip"},"forced_versions":["4.3.6"]},"last_updated":{"time_stamp":1644916345572}} 2022-02-15 14:56:50.876 +0100 [debug] (data-util.js) Read {"version_details":{"fdkCli":{"version":"7.4.0","dl":"https://dl.freshdev.io/cli/fdk-7.4.0.tgz","cmd":"npm install https://dl.freshdev.io/cli/fdk-7.4.0.tgz -g"},"addon":{"version":"1.9.20","dl":"https://dl.freshdev.io/cli-addon/addon-1.9.20.zip"},"forced_versions":["4.3.6"]},"last_updated":{"time_stamp":1644916345572}} 2022-02-15 14:56:54.653 +0100 [debug] (data-util.js) Read {"version_details":{"fdkCli":{"version":"7.4.0","dl":"https://dl.freshdev.io/cli/fdk-7.4.0.tgz","cmd":"npm install https://dl.freshdev.io/cli/fdk-7.4.0.tgz -g"},"addon":{"version":"1.9.20","dl":"https://dl.freshdev.io/cli-addon/addon-1.9.20.zip"},"forced_versions":["4.3.6"]},"last_updated":{"time_stamp":1644916345572}} 2022-02-15 14:56:59.922 +0100 [debug] (validate.js) asked to skip the following validations,  2022-02-15 14:56:59.923 +0100 [debug] (validate.js) running validator actions 2022-02-15 14:56:59.924 +0100 [debug] (validate.js) running validator app-dir 2022-02-15 14:56:59.927 +0100 [debug] (validate.js) running validator config-dir 2022-02-15 14:56:59.928 +0100 [debug] (config-dir.js) Checking to see if /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/config/ exists. 2022-02-15 14:56:59.928 +0100 [debug] (config-dir.js) Fetched the following config files iparams.json 2022-02-15 14:56:59.929 +0100 [debug] (validate.js) running validator custom-objects 2022-02-15 14:56:59.929 +0100 [debug] (validate.js) running validator event 2022-02-15 14:56:59.930 +0100 [debug] (validate.js) running validator iparam 2022-02-15 14:56:59.939 +0100 [debug] (validate.js) skipping validator lint 2022-02-15 14:56:59.939 +0100 [debug] (validate.js) running validator manifest 2022-02-15 14:56:59.940 +0100 [debug] (manifest.js) running manifest validation with type run_validation 2022-02-15 14:56:59.941 +0100 [debug] (validate.js) skipping validator manifest-dependency 2022-02-15 14:56:59.941 +0100 [debug] (validate.js) running validator oauth 2022-02-15 14:56:59.942 +0100 [debug] (validate.js) skipping validator pkgsize 2022-02-15 14:56:59.942 +0100 [debug] (validate.js) running validator schema 2022-02-15 14:56:59.943 +0100 [debug] (validate.js) running validator version-check 2022-02-15 14:56:59.950 +0100 [debug] (watcher.js) Preparing to watch the following files ./app,./config,./manifest.json 2022-02-15 14:56:59.961 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 14:56:59.962 +0100 [debug] (custom-objects.js) to force or not? false 2022-02-15 14:56:59.962 +0100 [debug] (custom-objects.js) beginning to re-sync db 2022-02-15 14:57:00.808 +0100 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/bigint-pivot.js" 2022-02-15 14:57:00.815 +0100 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field-choice.js" 2022-02-15 14:57:00.817 +0100 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field.js" 2022-02-15 14:57:00.821 +0100 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity.js" 2022-02-15 14:57:00.824 +0100 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/record.js" 2022-02-15 14:57:00.828 +0100 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/string-pivot.js" 2022-02-15 14:57:00.898 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 14:57:00.902 +0100 [debug] (custom-objects.js) updated local store with latest entity hash 2022-02-15 14:57:00.907 +0100 [info] Starting local testing server at http://*:10001/ Append 'dev=true' to your Freshdesk account URL to start testing e.g. https://domain.freshdesk.com/a/tickets/1?dev=true Quit the server with Control-C. 2022-02-15 14:57:00.909 +0100 [info] To test the installation page, visit - http://localhost:10001/custom_configs 2022-02-15 14:57:10.568 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 14:57:10.571 +0100 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-02-15 14:57:10.598 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 14:57:10.599 +0100 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-02-15 14:57:10.666 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 14:57:10.666 +0100 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-02-15 14:57:10.699 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 14:57:10.699 +0100 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-02-15 14:57:10.775 +0100 [debug] (iframe.js) Responding with contents of /template.html 2022-02-15 14:57:10.805 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 14:57:10.806 +0100 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-02-15 14:57:10.850 +0100 [debug] (iframe.js) Responding with contents of /app.js 2022-02-15 14:57:10.854 +0100 [debug] (coverage-util.js) Instrumenting /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/app/app.js 2022-02-15 14:57:11.423 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 14:57:11.424 +0100 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-02-15 14:57:11.466 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 14:57:11.466 +0100 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-02-15 14:57:13.755 +0100 [debug] (coverage-util.js) Error Cannot read property 'length' of undefined while merging coverage stats. 2022-02-15 14:57:13.755 +0100 [debug] (coverage-util.js) Flushing coverage. 2022-02-15 14:57:13.756 +0100 [debug] (coverage-util.js) Writing coverage. 2022-02-15 14:57:15.692 +0100 [debug] (coverage-util.js) Writing coverage. 2022-02-15 14:57:21.696 +0100 [debug] (coverage-util.js) Writing coverage. 2022-02-15 14:57:21.864 +0100 [debug] (data-pipe.js) received call for route "proxy" with action "execute" and body {"action":"execute","data":{"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://mycompany7573.freshdesk.com/api/v2/contacts/101017286368","method":"get"}} 2022-02-15 14:57:21.865 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 14:57:21.876 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 14:57:21.876 +0100 [debug] (proxy.js) Substituing Templates {"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://mycompany7573.freshdesk.com/api/v2/contacts/101017286368","method":"get"} with {"iparam":{"freshdesk_domain":"mycompany7573","freshdesk_key":"InkU762V0Yzge4RcTLL"},"oauth_iparams":{}} 2022-02-15 14:57:21.883 +0100 [debug] (proxy.js) Parsed https://mycompany7573.freshdesk.com/api/v2/contacts/101017286368 as {"protocol":"https:","slashes":true,"auth":null,"host":"mycompany7573.freshdesk.com","port":null,"hostname":"mycompany7573.freshdesk.com","hash":null,"search":null,"query":null,"pathname":"/api/v2/contacts/101017286368","path":"/api/v2/contacts/101017286368","href":"https://mycompany7573.freshdesk.com/api/v2/contacts/101017286368"} 2022-02-15 14:57:21.896 +0100 [debug] (proxy.js) Checking if the request url is whitelisted in manifest 2022-02-15 14:57:21.897 +0100 [debug] (proxy.js) Matched "https://mycompany7573.freshdesk.com/api/v2/contacts/101017286368" with https://mycompany7573.freshdesk.com 2022-02-15 14:57:21.898 +0100 [debug] (proxy.js) Making proxy call with options as {"headers":{"Content-Type":"application/json","Authorization":"Basic SW5rVTc2MlYwWXpnZTRSY1RMTDp4"},"url":"https://mycompany7573.freshdesk.com/api/v2/contacts/101017286368","method":"get","whitelistedDomains":["https://mycompany7573.freshdesk.com"],"maxAttempts":1,"retryDelay":0,"timeout":5000} 2022-02-15 14:57:22.186 +0100 [debug] (proxy.js) Proxy came back with error as null, body as "{\"active\":true,\"address\":null,\"description\":null,\"email\":\"emily.garcia@freshdesk.com\",\"i 2022-02-15 14:57:22.187 +0100 [debug] (proxy.js) Looking for "application/json" in application/json,application/xml,text/html,text/xml,application/jsonp,text/plain,application/javascript,application/vnd.api+json 2022-02-15 14:57:23.685 +0100 [debug] (coverage-util.js) Writing coverage. 2022-02-15 14:58:36.024 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 14:58:36.025 +0100 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-02-15 14:58:36.073 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 14:58:36.074 +0100 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-02-15 14:58:36.167 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 14:58:36.168 +0100 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-02-15 14:58:36.211 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 14:58:36.212 +0100 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-02-15 14:58:36.263 +0100 [debug] (iframe.js) Responding with contents of /template.html 2022-02-15 14:58:36.302 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 14:58:36.303 +0100 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-02-15 14:58:36.331 +0100 [debug] (iframe.js) Responding with contents of /app.js 2022-02-15 14:58:36.333 +0100 [debug] (coverage-util.js) Instrumenting /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/app/app.js 2022-02-15 14:58:36.750 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 14:58:36.752 +0100 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-02-15 14:58:36.795 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 14:58:36.796 +0100 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-02-15 14:58:38.850 +0100 [debug] (coverage-util.js) Writing coverage. 2022-02-15 14:58:42.241 +0100 [debug] (data-pipe.js) received call for route "proxy" with action "execute" and body {"action":"execute","data":{"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://mycompany7573.freshdesk.com/api/v2/contacts/101017286371","method":"get"}} 2022-02-15 14:58:42.242 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 14:58:42.243 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 14:58:42.243 +0100 [debug] (proxy.js) Substituing Templates {"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://mycompany7573.freshdesk.com/api/v2/contacts/101017286371","method":"get"} with {"iparam":{"freshdesk_domain":"mycompany7573","freshdesk_key":"InkU762V0Yzge4RcTLL"},"oauth_iparams":{}} 2022-02-15 14:58:42.245 +0100 [debug] (proxy.js) Parsed https://mycompany7573.freshdesk.com/api/v2/contacts/101017286371 as {"protocol":"https:","slashes":true,"auth":null,"host":"mycompany7573.freshdesk.com","port":null,"hostname":"mycompany7573.freshdesk.com","hash":null,"search":null,"query":null,"pathname":"/api/v2/contacts/101017286371","path":"/api/v2/contacts/101017286371","href":"https://mycompany7573.freshdesk.com/api/v2/contacts/101017286371"} 2022-02-15 14:58:42.250 +0100 [debug] (proxy.js) Checking if the request url is whitelisted in manifest 2022-02-15 14:58:42.250 +0100 [debug] (proxy.js) Matched "https://mycompany7573.freshdesk.com/api/v2/contacts/101017286371" with https://mycompany7573.freshdesk.com 2022-02-15 14:58:42.250 +0100 [debug] (proxy.js) Making proxy call with options as {"headers":{"Content-Type":"application/json","Authorization":"Basic SW5rVTc2MlYwWXpnZTRSY1RMTDp4"},"url":"https://mycompany7573.freshdesk.com/api/v2/contacts/101017286371","method":"get","whitelistedDomains":["https://mycompany7573.freshdesk.com"],"maxAttempts":1,"retryDelay":0,"timeout":5000} 2022-02-15 14:58:42.490 +0100 [debug] (proxy.js) Proxy came back with error as null, body as "{\"active\":true,\"address\":null,\"description\":null,\"email\":\"sarah.james@freshdesk.com\",\"id 2022-02-15 14:58:42.490 +0100 [debug] (proxy.js) Looking for "application/json" in application/json,application/xml,text/html,text/xml,application/jsonp,text/plain,application/javascript,application/vnd.api+json 2022-02-15 14:58:42.864 +0100 [debug] (coverage-util.js) Writing coverage. 2022-02-15 14:58:50.112 +0100 [debug] (data-pipe.js) received call for route "proxy" with action "execute" and body {"action":"execute","data":{"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://mycompany7573.freshdesk.com/api/v2/contacts/101017286371","method":"get"}} 2022-02-15 14:58:50.115 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 14:58:50.117 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 14:58:50.118 +0100 [debug] (proxy.js) Substituing Templates {"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://mycompany7573.freshdesk.com/api/v2/contacts/101017286371","method":"get"} with {"iparam":{"freshdesk_domain":"mycompany7573","freshdesk_key":"InkU762V0Yzge4RcTLL"},"oauth_iparams":{}} 2022-02-15 14:58:50.122 +0100 [debug] (proxy.js) Parsed https://mycompany7573.freshdesk.com/api/v2/contacts/101017286371 as {"protocol":"https:","slashes":true,"auth":null,"host":"mycompany7573.freshdesk.com","port":null,"hostname":"mycompany7573.freshdesk.com","hash":null,"search":null,"query":null,"pathname":"/api/v2/contacts/101017286371","path":"/api/v2/contacts/101017286371","href":"https://mycompany7573.freshdesk.com/api/v2/contacts/101017286371"} 2022-02-15 14:58:50.123 +0100 [debug] (proxy.js) Checking if the request url is whitelisted in manifest 2022-02-15 14:58:50.123 +0100 [debug] (proxy.js) Matched "https://mycompany7573.freshdesk.com/api/v2/contacts/101017286371" with https://mycompany7573.freshdesk.com 2022-02-15 14:58:50.123 +0100 [debug] (proxy.js) Making proxy call with options as {"headers":{"Content-Type":"application/json","Authorization":"Basic SW5rVTc2MlYwWXpnZTRSY1RMTDp4"},"url":"https://mycompany7573.freshdesk.com/api/v2/contacts/101017286371","method":"get","whitelistedDomains":["https://mycompany7573.freshdesk.com"],"maxAttempts":1,"retryDelay":0,"timeout":5000} 2022-02-15 14:58:50.318 +0100 [debug] (proxy.js) Proxy came back with error as null, body as "{\"active\":true,\"address\":null,\"description\":null,\"email\":\"sarah.james@freshdesk.com\",\"id 2022-02-15 14:58:50.318 +0100 [debug] (proxy.js) Looking for "application/json" in application/json,application/xml,text/html,text/xml,application/jsonp,text/plain,application/javascript,application/vnd.api+json 2022-02-15 14:58:50.861 +0100 [debug] (coverage-util.js) Writing coverage. 2022-02-15 14:59:33.853 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 14:59:33.853 +0100 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-02-15 14:59:33.895 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 14:59:33.896 +0100 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-02-15 14:59:34.731 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 14:59:34.731 +0100 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-02-15 14:59:34.851 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 14:59:34.852 +0100 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-02-15 14:59:34.906 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 14:59:34.907 +0100 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-02-15 14:59:35.126 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 14:59:35.127 +0100 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-02-15 14:59:35.194 +0100 [debug] (iframe.js) Responding with contents of /template.html 2022-02-15 14:59:35.317 +0100 [debug] (iframe.js) Responding with contents of /app.js 2022-02-15 14:59:35.318 +0100 [debug] (coverage-util.js) Instrumenting /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/app/app.js 2022-02-15 14:59:37.823 +0100 [debug] (coverage-util.js) Writing coverage. 2022-02-15 14:59:40.098 +0100 [debug] (data-pipe.js) received call for route "proxy" with action "execute" and body {"action":"execute","data":{"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://mycompany7573.freshdesk.com/api/v2/contacts/101017286371","method":"get"}} 2022-02-15 14:59:40.100 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 14:59:40.102 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 14:59:40.102 +0100 [debug] (proxy.js) Substituing Templates {"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://mycompany7573.freshdesk.com/api/v2/contacts/101017286371","method":"get"} with {"iparam":{"freshdesk_domain":"mycompany7573","freshdesk_key":"InkU762V0Yzge4RcTLL"},"oauth_iparams":{}} 2022-02-15 14:59:40.110 +0100 [debug] (proxy.js) Parsed https://mycompany7573.freshdesk.com/api/v2/contacts/101017286371 as {"protocol":"https:","slashes":true,"auth":null,"host":"mycompany7573.freshdesk.com","port":null,"hostname":"mycompany7573.freshdesk.com","hash":null,"search":null,"query":null,"pathname":"/api/v2/contacts/101017286371","path":"/api/v2/contacts/101017286371","href":"https://mycompany7573.freshdesk.com/api/v2/contacts/101017286371"} 2022-02-15 14:59:40.111 +0100 [debug] (proxy.js) Checking if the request url is whitelisted in manifest 2022-02-15 14:59:40.111 +0100 [debug] (proxy.js) Matched "https://mycompany7573.freshdesk.com/api/v2/contacts/101017286371" with https://mycompany7573.freshdesk.com 2022-02-15 14:59:40.112 +0100 [debug] (proxy.js) Making proxy call with options as {"headers":{"Content-Type":"application/json","Authorization":"Basic SW5rVTc2MlYwWXpnZTRSY1RMTDp4"},"url":"https://mycompany7573.freshdesk.com/api/v2/contacts/101017286371","method":"get","whitelistedDomains":["https://mycompany7573.freshdesk.com"],"maxAttempts":1,"retryDelay":0,"timeout":5000} 2022-02-15 14:59:40.261 +0100 [debug] (proxy.js) Proxy came back with error as null, body as "{\"active\":true,\"address\":null,\"description\":null,\"email\":\"sarah.james@freshdesk.com\",\"id 2022-02-15 14:59:40.261 +0100 [debug] (proxy.js) Looking for "application/json" in application/json,application/xml,text/html,text/xml,application/jsonp,text/plain,application/javascript,application/vnd.api+json 2022-02-15 14:59:41.820 +0100 [debug] (coverage-util.js) Writing coverage. 2022-02-15 15:20:43.425 +0100 [info] NOTE: We recommend a coverage of 80% for apps that are to be published in the public marketplace. 2022-02-15 15:20:50.551 +0100 [debug] (logger.js) Starting FDK in node v12.22.7 on linux 2022-02-15 15:20:52.638 +0100 [debug] (sequelize.js) setting up sqilite at "/home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/.fdk/store.sqlite" 2022-02-15 15:20:54.134 +0100 [debug] (index.js) Running with args {"cmd":"run","gopts":{},"opts":{},"goptArg":{},"optArg":{},"args":[]} 2022-02-15 15:20:54.136 +0100 [debug] (data-util.js) Read {"version_details":{"fdkCli":{"version":"7.4.0","dl":"https://dl.freshdev.io/cli/fdk-7.4.0.tgz","cmd":"npm install https://dl.freshdev.io/cli/fdk-7.4.0.tgz -g"},"addon":{"version":"1.9.20","dl":"https://dl.freshdev.io/cli-addon/addon-1.9.20.zip"},"forced_versions":["4.3.6"]},"last_updated":{"time_stamp":1644916345572}} 2022-02-15 15:20:54.136 +0100 [debug] (updater.js) last check less than an day ago, not looking for updates 2022-02-15 15:20:54.978 +0100 [debug] (manifest.js) Reloading manifest with {"platform-version":"2.2","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"whitelisted-domains":["https://<%= iparam.freshdesk_domain %>.freshdesk.com"],"engines":{"node":"12.22.7","fdk":"7.1.0"}}. 2022-02-15 15:20:54.979 +0100 [debug] (manifest.js) Inferred db as features. 2022-02-15 15:20:54.987 +0100 [debug] (data-util.js) Read {"version_details":{"fdkCli":{"version":"7.4.0","dl":"https://dl.freshdev.io/cli/fdk-7.4.0.tgz","cmd":"npm install https://dl.freshdev.io/cli/fdk-7.4.0.tgz -g"},"addon":{"version":"1.9.20","dl":"https://dl.freshdev.io/cli-addon/addon-1.9.20.zip"},"forced_versions":["4.3.6"]},"last_updated":{"time_stamp":1644916345572}} 2022-02-15 15:20:55.033 +0100 [debug] (data-util.js) Read {"version_details":{"fdkCli":{"version":"7.4.0","dl":"https://dl.freshdev.io/cli/fdk-7.4.0.tgz","cmd":"npm install https://dl.freshdev.io/cli/fdk-7.4.0.tgz -g"},"addon":{"version":"1.9.20","dl":"https://dl.freshdev.io/cli-addon/addon-1.9.20.zip"},"forced_versions":["4.3.6"]},"last_updated":{"time_stamp":1644916345572}} 2022-02-15 15:20:59.031 +0100 [debug] (data-util.js) Read {"version_details":{"fdkCli":{"version":"7.4.0","dl":"https://dl.freshdev.io/cli/fdk-7.4.0.tgz","cmd":"npm install https://dl.freshdev.io/cli/fdk-7.4.0.tgz -g"},"addon":{"version":"1.9.20","dl":"https://dl.freshdev.io/cli-addon/addon-1.9.20.zip"},"forced_versions":["4.3.6"]},"last_updated":{"time_stamp":1644916345572}} 2022-02-15 15:21:04.273 +0100 [debug] (validate.js) asked to skip the following validations,  2022-02-15 15:21:04.275 +0100 [debug] (validate.js) running validator actions 2022-02-15 15:21:04.275 +0100 [debug] (validate.js) running validator app-dir 2022-02-15 15:21:04.277 +0100 [debug] (validate.js) running validator config-dir 2022-02-15 15:21:04.277 +0100 [debug] (config-dir.js) Checking to see if /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/config/ exists. 2022-02-15 15:21:04.277 +0100 [debug] (config-dir.js) Fetched the following config files iparams.json 2022-02-15 15:21:04.277 +0100 [debug] (validate.js) running validator custom-objects 2022-02-15 15:21:04.278 +0100 [debug] (validate.js) running validator event 2022-02-15 15:21:04.278 +0100 [debug] (validate.js) running validator iparam 2022-02-15 15:21:04.281 +0100 [debug] (validate.js) skipping validator lint 2022-02-15 15:21:04.281 +0100 [debug] (validate.js) running validator manifest 2022-02-15 15:21:04.281 +0100 [debug] (manifest.js) running manifest validation with type run_validation 2022-02-15 15:21:04.281 +0100 [debug] (validate.js) skipping validator manifest-dependency 2022-02-15 15:21:04.282 +0100 [debug] (validate.js) running validator oauth 2022-02-15 15:21:04.282 +0100 [debug] (validate.js) skipping validator pkgsize 2022-02-15 15:21:04.282 +0100 [debug] (validate.js) running validator schema 2022-02-15 15:21:04.282 +0100 [debug] (validate.js) running validator version-check 2022-02-15 15:21:04.285 +0100 [debug] (watcher.js) Preparing to watch the following files ./app,./config,./manifest.json 2022-02-15 15:21:04.289 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 15:21:04.289 +0100 [debug] (custom-objects.js) to force or not? false 2022-02-15 15:21:04.290 +0100 [debug] (custom-objects.js) beginning to re-sync db 2022-02-15 15:21:04.844 +0100 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/bigint-pivot.js" 2022-02-15 15:21:04.850 +0100 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field-choice.js" 2022-02-15 15:21:04.851 +0100 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field.js" 2022-02-15 15:21:04.854 +0100 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity.js" 2022-02-15 15:21:04.856 +0100 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/record.js" 2022-02-15 15:21:04.858 +0100 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/string-pivot.js" 2022-02-15 15:21:04.897 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 15:21:04.900 +0100 [debug] (custom-objects.js) updated local store with latest entity hash 2022-02-15 15:21:04.907 +0100 [info] Starting local testing server at http://*:10001/ Append 'dev=true' to your Freshdesk account URL to start testing e.g. https://domain.freshdesk.com/a/tickets/1?dev=true Quit the server with Control-C. 2022-02-15 15:21:04.910 +0100 [info] To test the installation page, visit - http://localhost:10001/custom_configs 2022-02-15 15:21:42.047 +0100 [info] NOTE: We recommend a coverage of 80% for apps that are to be published in the public marketplace. 2022-02-15 15:21:43.248 +0100 [debug] (logger.js) Starting FDK in node v12.22.7 on linux 2022-02-15 15:21:44.211 +0100 [debug] (sequelize.js) setting up sqilite at "/home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/.fdk/store.sqlite" 2022-02-15 15:21:45.516 +0100 [debug] (index.js) Running with args {"cmd":"run","gopts":{},"opts":{},"goptArg":{},"optArg":{},"args":[]} 2022-02-15 15:21:45.517 +0100 [debug] (data-util.js) Read {"version_details":{"fdkCli":{"version":"7.4.0","dl":"https://dl.freshdev.io/cli/fdk-7.4.0.tgz","cmd":"npm install https://dl.freshdev.io/cli/fdk-7.4.0.tgz -g"},"addon":{"version":"1.9.20","dl":"https://dl.freshdev.io/cli-addon/addon-1.9.20.zip"},"forced_versions":["4.3.6"]},"last_updated":{"time_stamp":1644916345572}} 2022-02-15 15:21:45.518 +0100 [debug] (updater.js) last check less than an day ago, not looking for updates 2022-02-15 15:21:45.847 +0100 [debug] (manifest.js) Reloading manifest with {"platform-version":"2.2","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"whitelisted-domains":["https://<%= iparam.freshdesk_domain %>.freshdesk.com"],"engines":{"node":"12.22.7","fdk":"7.1.0"}}. 2022-02-15 15:21:45.847 +0100 [debug] (manifest.js) Inferred db as features. 2022-02-15 15:21:45.849 +0100 [debug] (data-util.js) Read {"version_details":{"fdkCli":{"version":"7.4.0","dl":"https://dl.freshdev.io/cli/fdk-7.4.0.tgz","cmd":"npm install https://dl.freshdev.io/cli/fdk-7.4.0.tgz -g"},"addon":{"version":"1.9.20","dl":"https://dl.freshdev.io/cli-addon/addon-1.9.20.zip"},"forced_versions":["4.3.6"]},"last_updated":{"time_stamp":1644916345572}} 2022-02-15 15:21:45.866 +0100 [debug] (data-util.js) Read {"version_details":{"fdkCli":{"version":"7.4.0","dl":"https://dl.freshdev.io/cli/fdk-7.4.0.tgz","cmd":"npm install https://dl.freshdev.io/cli/fdk-7.4.0.tgz -g"},"addon":{"version":"1.9.20","dl":"https://dl.freshdev.io/cli-addon/addon-1.9.20.zip"},"forced_versions":["4.3.6"]},"last_updated":{"time_stamp":1644916345572}} 2022-02-15 15:21:48.162 +0100 [debug] (data-util.js) Read {"version_details":{"fdkCli":{"version":"7.4.0","dl":"https://dl.freshdev.io/cli/fdk-7.4.0.tgz","cmd":"npm install https://dl.freshdev.io/cli/fdk-7.4.0.tgz -g"},"addon":{"version":"1.9.20","dl":"https://dl.freshdev.io/cli-addon/addon-1.9.20.zip"},"forced_versions":["4.3.6"]},"last_updated":{"time_stamp":1644916345572}} 2022-02-15 15:21:52.428 +0100 [debug] (validate.js) asked to skip the following validations,  2022-02-15 15:21:52.429 +0100 [debug] (validate.js) running validator actions 2022-02-15 15:21:52.430 +0100 [debug] (validate.js) running validator app-dir 2022-02-15 15:21:52.432 +0100 [debug] (validate.js) running validator config-dir 2022-02-15 15:21:52.433 +0100 [debug] (config-dir.js) Checking to see if /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/config/ exists. 2022-02-15 15:21:52.433 +0100 [debug] (config-dir.js) Fetched the following config files iparams.json 2022-02-15 15:21:52.434 +0100 [debug] (validate.js) running validator custom-objects 2022-02-15 15:21:52.434 +0100 [debug] (validate.js) running validator event 2022-02-15 15:21:52.435 +0100 [debug] (validate.js) running validator iparam 2022-02-15 15:21:52.442 +0100 [debug] (validate.js) skipping validator lint 2022-02-15 15:21:52.442 +0100 [debug] (validate.js) running validator manifest 2022-02-15 15:21:52.443 +0100 [debug] (manifest.js) running manifest validation with type run_validation 2022-02-15 15:21:52.443 +0100 [debug] (validate.js) skipping validator manifest-dependency 2022-02-15 15:21:52.444 +0100 [debug] (validate.js) running validator oauth 2022-02-15 15:21:52.444 +0100 [debug] (validate.js) skipping validator pkgsize 2022-02-15 15:21:52.444 +0100 [debug] (validate.js) running validator schema 2022-02-15 15:21:52.445 +0100 [debug] (validate.js) running validator version-check 2022-02-15 15:21:52.452 +0100 [debug] (watcher.js) Preparing to watch the following files ./app,./config,./manifest.json 2022-02-15 15:21:52.471 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 15:21:52.472 +0100 [debug] (custom-objects.js) to force or not? false 2022-02-15 15:21:52.472 +0100 [debug] (custom-objects.js) beginning to re-sync db 2022-02-15 15:21:53.272 +0100 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/bigint-pivot.js" 2022-02-15 15:21:53.279 +0100 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field-choice.js" 2022-02-15 15:21:53.281 +0100 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field.js" 2022-02-15 15:21:53.283 +0100 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity.js" 2022-02-15 15:21:53.284 +0100 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/record.js" 2022-02-15 15:21:53.286 +0100 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/string-pivot.js" 2022-02-15 15:21:53.331 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 15:21:53.334 +0100 [debug] (custom-objects.js) updated local store with latest entity hash 2022-02-15 15:21:53.344 +0100 [info] Starting local testing server at http://*:10001/ Append 'dev=true' to your Freshdesk account URL to start testing e.g. https://domain.freshdesk.com/a/tickets/1?dev=true Quit the server with Control-C. 2022-02-15 15:21:53.346 +0100 [info] To test the installation page, visit - http://localhost:10001/custom_configs 2022-02-15 15:23:10.124 +0100 [info] NOTE: We recommend a coverage of 80% for apps that are to be published in the public marketplace. 2022-02-15 15:29:59.093 +0100 [debug] (logger.js) Starting FDK in node v12.22.7 on linux 2022-02-15 15:30:00.131 +0100 [debug] (sequelize.js) setting up sqilite at "/home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/.fdk/store.sqlite" 2022-02-15 15:30:01.423 +0100 [debug] (index.js) Running with args {"cmd":"run","gopts":{},"opts":{},"goptArg":{},"optArg":{},"args":[]} 2022-02-15 15:30:01.424 +0100 [debug] (data-util.js) Read {"version_details":{"fdkCli":{"version":"7.4.0","dl":"https://dl.freshdev.io/cli/fdk-7.4.0.tgz","cmd":"npm install https://dl.freshdev.io/cli/fdk-7.4.0.tgz -g"},"addon":{"version":"1.9.20","dl":"https://dl.freshdev.io/cli-addon/addon-1.9.20.zip"},"forced_versions":["4.3.6"]},"last_updated":{"time_stamp":1644916345572}} 2022-02-15 15:30:01.424 +0100 [debug] (updater.js) last check less than an day ago, not looking for updates 2022-02-15 15:30:01.746 +0100 [debug] (manifest.js) Reloading manifest with {"platform-version":"2.2","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"whitelisted-domains":["https://<%= iparam.freshdesk_domain %>.freshdesk.com"],"engines":{"node":"12.22.7","fdk":"7.1.0"}}. 2022-02-15 15:30:01.747 +0100 [debug] (manifest.js) Inferred db as features. 2022-02-15 15:30:01.752 +0100 [debug] (data-util.js) Read {"version_details":{"fdkCli":{"version":"7.4.0","dl":"https://dl.freshdev.io/cli/fdk-7.4.0.tgz","cmd":"npm install https://dl.freshdev.io/cli/fdk-7.4.0.tgz -g"},"addon":{"version":"1.9.20","dl":"https://dl.freshdev.io/cli-addon/addon-1.9.20.zip"},"forced_versions":["4.3.6"]},"last_updated":{"time_stamp":1644916345572}} 2022-02-15 15:30:01.783 +0100 [debug] (data-util.js) Read {"version_details":{"fdkCli":{"version":"7.4.0","dl":"https://dl.freshdev.io/cli/fdk-7.4.0.tgz","cmd":"npm install https://dl.freshdev.io/cli/fdk-7.4.0.tgz -g"},"addon":{"version":"1.9.20","dl":"https://dl.freshdev.io/cli-addon/addon-1.9.20.zip"},"forced_versions":["4.3.6"]},"last_updated":{"time_stamp":1644916345572}} 2022-02-15 15:30:04.752 +0100 [debug] (data-util.js) Read {"version_details":{"fdkCli":{"version":"7.4.0","dl":"https://dl.freshdev.io/cli/fdk-7.4.0.tgz","cmd":"npm install https://dl.freshdev.io/cli/fdk-7.4.0.tgz -g"},"addon":{"version":"1.9.20","dl":"https://dl.freshdev.io/cli-addon/addon-1.9.20.zip"},"forced_versions":["4.3.6"]},"last_updated":{"time_stamp":1644916345572}} 2022-02-15 15:30:09.608 +0100 [debug] (validate.js) asked to skip the following validations,  2022-02-15 15:30:09.609 +0100 [debug] (validate.js) running validator actions 2022-02-15 15:30:09.610 +0100 [debug] (validate.js) running validator app-dir 2022-02-15 15:30:09.613 +0100 [debug] (validate.js) running validator config-dir 2022-02-15 15:30:09.614 +0100 [debug] (config-dir.js) Checking to see if /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/config/ exists. 2022-02-15 15:30:09.615 +0100 [debug] (config-dir.js) Fetched the following config files iparams.json 2022-02-15 15:30:09.615 +0100 [debug] (validate.js) running validator custom-objects 2022-02-15 15:30:09.616 +0100 [debug] (validate.js) running validator event 2022-02-15 15:30:09.616 +0100 [debug] (validate.js) running validator iparam 2022-02-15 15:30:09.625 +0100 [debug] (validate.js) skipping validator lint 2022-02-15 15:30:09.625 +0100 [debug] (validate.js) running validator manifest 2022-02-15 15:30:09.625 +0100 [debug] (manifest.js) running manifest validation with type run_validation 2022-02-15 15:30:09.626 +0100 [debug] (validate.js) skipping validator manifest-dependency 2022-02-15 15:30:09.626 +0100 [debug] (validate.js) running validator oauth 2022-02-15 15:30:09.627 +0100 [debug] (validate.js) skipping validator pkgsize 2022-02-15 15:30:09.627 +0100 [debug] (validate.js) running validator schema 2022-02-15 15:30:09.627 +0100 [debug] (validate.js) running validator version-check 2022-02-15 15:30:09.635 +0100 [debug] (watcher.js) Preparing to watch the following files ./app,./config,./manifest.json 2022-02-15 15:30:09.647 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 15:30:09.648 +0100 [debug] (custom-objects.js) to force or not? false 2022-02-15 15:30:09.648 +0100 [debug] (custom-objects.js) beginning to re-sync db 2022-02-15 15:30:10.495 +0100 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/bigint-pivot.js" 2022-02-15 15:30:10.501 +0100 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field-choice.js" 2022-02-15 15:30:10.503 +0100 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field.js" 2022-02-15 15:30:10.506 +0100 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity.js" 2022-02-15 15:30:10.508 +0100 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/record.js" 2022-02-15 15:30:10.510 +0100 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/string-pivot.js" 2022-02-15 15:30:10.555 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 15:30:10.558 +0100 [debug] (custom-objects.js) updated local store with latest entity hash 2022-02-15 15:30:10.563 +0100 [info] Starting local testing server at http://*:10001/ Append 'dev=true' to your Freshdesk account URL to start testing e.g. https://domain.freshdesk.com/a/tickets/1?dev=true Quit the server with Control-C. 2022-02-15 15:30:10.565 +0100 [info] To test the installation page, visit - http://localhost:10001/custom_configs 2022-02-15 15:30:32.519 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 15:30:32.522 +0100 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-02-15 15:30:32.551 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 15:30:32.551 +0100 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-02-15 15:30:32.600 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 15:30:32.600 +0100 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-02-15 15:30:32.647 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 15:30:32.647 +0100 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-02-15 15:30:32.730 +0100 [debug] (iframe.js) Responding with contents of /template.html 2022-02-15 15:30:32.746 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 15:30:32.747 +0100 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-02-15 15:30:32.804 +0100 [debug] (iframe.js) Responding with contents of /app.js 2022-02-15 15:30:32.810 +0100 [debug] (coverage-util.js) Instrumenting /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/app/app.js 2022-02-15 15:30:33.256 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 15:30:33.257 +0100 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-02-15 15:30:33.297 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 15:30:33.297 +0100 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-02-15 15:30:35.525 +0100 [debug] (coverage-util.js) Writing coverage. 2022-02-15 15:30:41.472 +0100 [debug] (coverage-util.js) Writing coverage. 2022-02-15 15:33:05.985 +0100 [info] NOTE: We recommend a coverage of 80% for apps that are to be published in the public marketplace. 2022-02-15 15:34:16.167 +0100 [debug] (logger.js) Starting FDK in node v12.22.7 on linux 2022-02-15 15:34:17.213 +0100 [debug] (sequelize.js) setting up sqilite at "/home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/.fdk/store.sqlite" 2022-02-15 15:34:18.570 +0100 [debug] (index.js) Running with args {"cmd":"run","gopts":{},"opts":{},"goptArg":{},"optArg":{},"args":[]} 2022-02-15 15:34:18.571 +0100 [debug] (data-util.js) Read {"version_details":{"fdkCli":{"version":"7.4.0","dl":"https://dl.freshdev.io/cli/fdk-7.4.0.tgz","cmd":"npm install https://dl.freshdev.io/cli/fdk-7.4.0.tgz -g"},"addon":{"version":"1.9.20","dl":"https://dl.freshdev.io/cli-addon/addon-1.9.20.zip"},"forced_versions":["4.3.6"]},"last_updated":{"time_stamp":1644916345572}} 2022-02-15 15:34:18.572 +0100 [debug] (updater.js) last check less than an day ago, not looking for updates 2022-02-15 15:34:18.875 +0100 [debug] (manifest.js) Reloading manifest with {"platform-version":"2.2","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"whitelisted-domains":["https://<%= iparam.freshdesk_domain %>.freshdesk.com"],"engines":{"node":"12.22.7","fdk":"7.1.0"}}. 2022-02-15 15:34:18.876 +0100 [debug] (manifest.js) Inferred db as features. 2022-02-15 15:34:18.879 +0100 [debug] (data-util.js) Read {"version_details":{"fdkCli":{"version":"7.4.0","dl":"https://dl.freshdev.io/cli/fdk-7.4.0.tgz","cmd":"npm install https://dl.freshdev.io/cli/fdk-7.4.0.tgz -g"},"addon":{"version":"1.9.20","dl":"https://dl.freshdev.io/cli-addon/addon-1.9.20.zip"},"forced_versions":["4.3.6"]},"last_updated":{"time_stamp":1644916345572}} 2022-02-15 15:34:18.903 +0100 [debug] (data-util.js) Read {"version_details":{"fdkCli":{"version":"7.4.0","dl":"https://dl.freshdev.io/cli/fdk-7.4.0.tgz","cmd":"npm install https://dl.freshdev.io/cli/fdk-7.4.0.tgz -g"},"addon":{"version":"1.9.20","dl":"https://dl.freshdev.io/cli-addon/addon-1.9.20.zip"},"forced_versions":["4.3.6"]},"last_updated":{"time_stamp":1644916345572}} 2022-02-15 15:34:21.636 +0100 [debug] (data-util.js) Read {"version_details":{"fdkCli":{"version":"7.4.0","dl":"https://dl.freshdev.io/cli/fdk-7.4.0.tgz","cmd":"npm install https://dl.freshdev.io/cli/fdk-7.4.0.tgz -g"},"addon":{"version":"1.9.20","dl":"https://dl.freshdev.io/cli-addon/addon-1.9.20.zip"},"forced_versions":["4.3.6"]},"last_updated":{"time_stamp":1644916345572}} 2022-02-15 15:34:25.986 +0100 [debug] (validate.js) asked to skip the following validations,  2022-02-15 15:34:25.988 +0100 [debug] (validate.js) running validator actions 2022-02-15 15:34:25.989 +0100 [debug] (validate.js) running validator app-dir 2022-02-15 15:34:25.991 +0100 [debug] (validate.js) running validator config-dir 2022-02-15 15:34:25.992 +0100 [debug] (config-dir.js) Checking to see if /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/config/ exists. 2022-02-15 15:34:25.993 +0100 [debug] (config-dir.js) Fetched the following config files iparams.json 2022-02-15 15:34:25.993 +0100 [debug] (validate.js) running validator custom-objects 2022-02-15 15:34:25.993 +0100 [debug] (validate.js) running validator event 2022-02-15 15:34:25.994 +0100 [debug] (validate.js) running validator iparam 2022-02-15 15:34:26.001 +0100 [debug] (validate.js) skipping validator lint 2022-02-15 15:34:26.001 +0100 [debug] (validate.js) running validator manifest 2022-02-15 15:34:26.001 +0100 [debug] (manifest.js) running manifest validation with type run_validation 2022-02-15 15:34:26.002 +0100 [debug] (validate.js) skipping validator manifest-dependency 2022-02-15 15:34:26.002 +0100 [debug] (validate.js) running validator oauth 2022-02-15 15:34:26.003 +0100 [debug] (validate.js) skipping validator pkgsize 2022-02-15 15:34:26.003 +0100 [debug] (validate.js) running validator schema 2022-02-15 15:34:26.004 +0100 [debug] (validate.js) running validator version-check 2022-02-15 15:34:26.010 +0100 [debug] (watcher.js) Preparing to watch the following files ./app,./config,./manifest.json 2022-02-15 15:34:26.018 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 15:34:26.018 +0100 [debug] (custom-objects.js) to force or not? false 2022-02-15 15:34:26.018 +0100 [debug] (custom-objects.js) beginning to re-sync db 2022-02-15 15:34:26.669 +0100 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/bigint-pivot.js" 2022-02-15 15:34:26.675 +0100 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field-choice.js" 2022-02-15 15:34:26.676 +0100 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field.js" 2022-02-15 15:34:26.678 +0100 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity.js" 2022-02-15 15:34:26.680 +0100 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/record.js" 2022-02-15 15:34:26.682 +0100 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/string-pivot.js" 2022-02-15 15:34:26.730 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 15:34:26.733 +0100 [debug] (custom-objects.js) updated local store with latest entity hash 2022-02-15 15:34:26.738 +0100 [info] Starting local testing server at http://*:10001/ Append 'dev=true' to your Freshdesk account URL to start testing e.g. https://domain.freshdesk.com/a/tickets/1?dev=true Quit the server with Control-C. 2022-02-15 15:34:26.739 +0100 [info] To test the installation page, visit - http://localhost:10001/custom_configs 2022-02-15 15:34:42.178 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 15:34:42.180 +0100 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-02-15 15:34:42.202 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 15:34:42.203 +0100 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-02-15 15:34:42.254 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 15:34:42.254 +0100 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-02-15 15:34:42.281 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 15:34:42.282 +0100 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-02-15 15:34:42.339 +0100 [debug] (iframe.js) Responding with contents of /template.html 2022-02-15 15:34:42.350 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 15:34:42.351 +0100 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-02-15 15:34:42.392 +0100 [debug] (iframe.js) Responding with contents of /app.js 2022-02-15 15:34:42.395 +0100 [debug] (coverage-util.js) Instrumenting /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/app/app.js 2022-02-15 15:34:42.769 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 15:34:42.769 +0100 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-02-15 15:34:42.789 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 15:34:42.789 +0100 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-02-15 15:34:44.871 +0100 [debug] (coverage-util.js) Writing coverage. 2022-02-15 15:34:44.874 +0100 [debug] (coverage-util.js) Error Cannot read property 'start' of undefined while writing coverage report. 2022-02-15 15:34:44.874 +0100 [debug] (coverage-util.js) Flushing coverage. 2022-02-15 15:34:48.072 +0100 [debug] (data-pipe.js) received call for route "proxy" with action "execute" and body {"action":"execute","data":{"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://mycompany7573.freshdesk.com/api/v2/contacts/101017286370","method":"get"}} 2022-02-15 15:34:48.073 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 15:34:48.079 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 15:34:48.079 +0100 [debug] (proxy.js) Substituing Templates {"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://mycompany7573.freshdesk.com/api/v2/contacts/101017286370","method":"get"} with {"iparam":{"freshdesk_domain":"mycompany7573","freshdesk_key":"InkU762V0Yzge4RcTLL"},"oauth_iparams":{}} 2022-02-15 15:34:48.083 +0100 [debug] (proxy.js) Parsed https://mycompany7573.freshdesk.com/api/v2/contacts/101017286370 as {"protocol":"https:","slashes":true,"auth":null,"host":"mycompany7573.freshdesk.com","port":null,"hostname":"mycompany7573.freshdesk.com","hash":null,"search":null,"query":null,"pathname":"/api/v2/contacts/101017286370","path":"/api/v2/contacts/101017286370","href":"https://mycompany7573.freshdesk.com/api/v2/contacts/101017286370"} 2022-02-15 15:34:48.092 +0100 [debug] (proxy.js) Checking if the request url is whitelisted in manifest 2022-02-15 15:34:48.092 +0100 [debug] (proxy.js) Matched "https://mycompany7573.freshdesk.com/api/v2/contacts/101017286370" with https://mycompany7573.freshdesk.com 2022-02-15 15:34:48.092 +0100 [debug] (proxy.js) Making proxy call with options as {"headers":{"Content-Type":"application/json","Authorization":"Basic SW5rVTc2MlYwWXpnZTRSY1RMTDp4"},"url":"https://mycompany7573.freshdesk.com/api/v2/contacts/101017286370","method":"get","whitelistedDomains":["https://mycompany7573.freshdesk.com"],"maxAttempts":1,"retryDelay":0,"timeout":5000} 2022-02-15 15:34:48.406 +0100 [debug] (proxy.js) Proxy came back with error as null, body as "{\"active\":true,\"address\":null,\"description\":null,\"email\":\"matt.rogers@freshdesk.com\",\"id 2022-02-15 15:34:48.407 +0100 [debug] (proxy.js) Looking for "application/json" in application/json,application/xml,text/html,text/xml,application/jsonp,text/plain,application/javascript,application/vnd.api+json 2022-02-15 15:34:48.854 +0100 [debug] (coverage-util.js) Writing coverage. 2022-02-15 15:35:42.340 +0100 [info] NOTE: We recommend a coverage of 80% for apps that are to be published in the public marketplace. 2022-02-15 15:35:45.504 +0100 [debug] (logger.js) Starting FDK in node v12.22.7 on linux 2022-02-15 15:35:46.416 +0100 [debug] (sequelize.js) setting up sqilite at "/home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/.fdk/store.sqlite" 2022-02-15 15:35:47.781 +0100 [debug] (index.js) Running with args {"cmd":"run","gopts":{},"opts":{},"goptArg":{},"optArg":{},"args":[]} 2022-02-15 15:35:47.782 +0100 [debug] (data-util.js) Read {"version_details":{"fdkCli":{"version":"7.4.0","dl":"https://dl.freshdev.io/cli/fdk-7.4.0.tgz","cmd":"npm install https://dl.freshdev.io/cli/fdk-7.4.0.tgz -g"},"addon":{"version":"1.9.20","dl":"https://dl.freshdev.io/cli-addon/addon-1.9.20.zip"},"forced_versions":["4.3.6"]},"last_updated":{"time_stamp":1644916345572}} 2022-02-15 15:35:47.783 +0100 [debug] (updater.js) last check less than an day ago, not looking for updates 2022-02-15 15:35:48.100 +0100 [debug] (manifest.js) Reloading manifest with {"platform-version":"2.2","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"whitelisted-domains":["https://<%= iparam.freshdesk_domain %>.freshdesk.com"],"engines":{"node":"12.22.7","fdk":"7.1.0"}}. 2022-02-15 15:35:48.100 +0100 [debug] (manifest.js) Inferred db as features. 2022-02-15 15:35:48.102 +0100 [debug] (data-util.js) Read {"version_details":{"fdkCli":{"version":"7.4.0","dl":"https://dl.freshdev.io/cli/fdk-7.4.0.tgz","cmd":"npm install https://dl.freshdev.io/cli/fdk-7.4.0.tgz -g"},"addon":{"version":"1.9.20","dl":"https://dl.freshdev.io/cli-addon/addon-1.9.20.zip"},"forced_versions":["4.3.6"]},"last_updated":{"time_stamp":1644916345572}} 2022-02-15 15:35:48.116 +0100 [debug] (data-util.js) Read {"version_details":{"fdkCli":{"version":"7.4.0","dl":"https://dl.freshdev.io/cli/fdk-7.4.0.tgz","cmd":"npm install https://dl.freshdev.io/cli/fdk-7.4.0.tgz -g"},"addon":{"version":"1.9.20","dl":"https://dl.freshdev.io/cli-addon/addon-1.9.20.zip"},"forced_versions":["4.3.6"]},"last_updated":{"time_stamp":1644916345572}} 2022-02-15 15:35:50.460 +0100 [debug] (data-util.js) Read {"version_details":{"fdkCli":{"version":"7.4.0","dl":"https://dl.freshdev.io/cli/fdk-7.4.0.tgz","cmd":"npm install https://dl.freshdev.io/cli/fdk-7.4.0.tgz -g"},"addon":{"version":"1.9.20","dl":"https://dl.freshdev.io/cli-addon/addon-1.9.20.zip"},"forced_versions":["4.3.6"]},"last_updated":{"time_stamp":1644916345572}} 2022-02-15 15:35:54.853 +0100 [debug] (validate.js) asked to skip the following validations,  2022-02-15 15:35:54.854 +0100 [debug] (validate.js) running validator actions 2022-02-15 15:35:54.855 +0100 [debug] (validate.js) running validator app-dir 2022-02-15 15:35:54.857 +0100 [debug] (validate.js) running validator config-dir 2022-02-15 15:35:54.857 +0100 [debug] (config-dir.js) Checking to see if /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/config/ exists. 2022-02-15 15:35:54.858 +0100 [debug] (config-dir.js) Fetched the following config files iparams.json 2022-02-15 15:35:54.858 +0100 [debug] (validate.js) running validator custom-objects 2022-02-15 15:35:54.859 +0100 [debug] (validate.js) running validator event 2022-02-15 15:35:54.859 +0100 [debug] (validate.js) running validator iparam 2022-02-15 15:35:54.865 +0100 [debug] (validate.js) skipping validator lint 2022-02-15 15:35:54.866 +0100 [debug] (validate.js) running validator manifest 2022-02-15 15:35:54.866 +0100 [debug] (manifest.js) running manifest validation with type run_validation 2022-02-15 15:35:54.866 +0100 [debug] (validate.js) skipping validator manifest-dependency 2022-02-15 15:35:54.867 +0100 [debug] (validate.js) running validator oauth 2022-02-15 15:35:54.867 +0100 [debug] (validate.js) skipping validator pkgsize 2022-02-15 15:35:54.867 +0100 [debug] (validate.js) running validator schema 2022-02-15 15:35:54.868 +0100 [debug] (validate.js) running validator version-check 2022-02-15 15:35:54.873 +0100 [debug] (watcher.js) Preparing to watch the following files ./app,./config,./manifest.json 2022-02-15 15:35:54.882 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 15:35:54.883 +0100 [debug] (custom-objects.js) to force or not? false 2022-02-15 15:35:54.883 +0100 [debug] (custom-objects.js) beginning to re-sync db 2022-02-15 15:35:55.677 +0100 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/bigint-pivot.js" 2022-02-15 15:35:55.682 +0100 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field-choice.js" 2022-02-15 15:35:55.684 +0100 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field.js" 2022-02-15 15:35:55.687 +0100 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity.js" 2022-02-15 15:35:55.688 +0100 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/record.js" 2022-02-15 15:35:55.690 +0100 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/string-pivot.js" 2022-02-15 15:35:55.742 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 15:35:55.744 +0100 [debug] (custom-objects.js) updated local store with latest entity hash 2022-02-15 15:35:55.754 +0100 [info] Starting local testing server at http://*:10001/ Append 'dev=true' to your Freshdesk account URL to start testing e.g. https://domain.freshdesk.com/a/tickets/1?dev=true Quit the server with Control-C. 2022-02-15 15:35:55.756 +0100 [info] To test the installation page, visit - http://localhost:10001/custom_configs 2022-02-15 15:36:05.742 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 15:36:05.745 +0100 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-02-15 15:36:05.766 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 15:36:05.766 +0100 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-02-15 15:36:05.821 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 15:36:05.822 +0100 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-02-15 15:36:05.866 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 15:36:05.867 +0100 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-02-15 15:36:05.938 +0100 [debug] (iframe.js) Responding with contents of /template.html 2022-02-15 15:36:05.974 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 15:36:05.975 +0100 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-02-15 15:36:06.000 +0100 [debug] (iframe.js) Responding with contents of /app.js 2022-02-15 15:36:06.037 +0100 [debug] (coverage-util.js) Instrumenting /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/app/app.js 2022-02-15 15:36:06.339 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 15:36:06.339 +0100 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-02-15 15:36:06.352 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 15:36:06.352 +0100 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-02-15 15:36:08.477 +0100 [debug] (coverage-util.js) Writing coverage. 2022-02-15 15:36:12.534 +0100 [debug] (data-pipe.js) received call for route "proxy" with action "execute" and body {"action":"execute","data":{"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://mycompany7573.freshdesk.com/api/v2/contacts/101017286370","method":"get"}} 2022-02-15 15:36:12.537 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 15:36:12.549 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 15:36:12.550 +0100 [debug] (proxy.js) Substituing Templates {"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://mycompany7573.freshdesk.com/api/v2/contacts/101017286370","method":"get"} with {"iparam":{"freshdesk_domain":"mycompany7573","freshdesk_key":"InkU762V0Yzge4RcTLL"},"oauth_iparams":{}} 2022-02-15 15:36:12.559 +0100 [debug] (proxy.js) Parsed https://mycompany7573.freshdesk.com/api/v2/contacts/101017286370 as {"protocol":"https:","slashes":true,"auth":null,"host":"mycompany7573.freshdesk.com","port":null,"hostname":"mycompany7573.freshdesk.com","hash":null,"search":null,"query":null,"pathname":"/api/v2/contacts/101017286370","path":"/api/v2/contacts/101017286370","href":"https://mycompany7573.freshdesk.com/api/v2/contacts/101017286370"} 2022-02-15 15:36:12.575 +0100 [debug] (proxy.js) Checking if the request url is whitelisted in manifest 2022-02-15 15:36:12.575 +0100 [debug] (proxy.js) Matched "https://mycompany7573.freshdesk.com/api/v2/contacts/101017286370" with https://mycompany7573.freshdesk.com 2022-02-15 15:36:12.576 +0100 [debug] (proxy.js) Making proxy call with options as {"headers":{"Content-Type":"application/json","Authorization":"Basic SW5rVTc2MlYwWXpnZTRSY1RMTDp4"},"url":"https://mycompany7573.freshdesk.com/api/v2/contacts/101017286370","method":"get","whitelistedDomains":["https://mycompany7573.freshdesk.com"],"maxAttempts":1,"retryDelay":0,"timeout":5000} 2022-02-15 15:36:12.870 +0100 [debug] (proxy.js) Proxy came back with error as null, body as "{\"active\":true,\"address\":null,\"description\":null,\"email\":\"matt.rogers@freshdesk.com\",\"id 2022-02-15 15:36:12.870 +0100 [debug] (proxy.js) Looking for "application/json" in application/json,application/xml,text/html,text/xml,application/jsonp,text/plain,application/javascript,application/vnd.api+json 2022-02-15 15:36:14.429 +0100 [debug] (coverage-util.js) Writing coverage. 2022-02-15 15:37:25.672 +0100 [debug] (data-pipe.js) received call for route "proxy" with action "execute" and body {"action":"execute","data":{"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://mycompany7573.freshdesk.com/api/v2/contacts/101017286370","method":"get"}} 2022-02-15 15:37:25.676 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 15:37:25.678 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 15:37:25.679 +0100 [debug] (proxy.js) Substituing Templates {"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://mycompany7573.freshdesk.com/api/v2/contacts/101017286370","method":"get"} with {"iparam":{"freshdesk_domain":"mycompany7573","freshdesk_key":"InkU762V0Yzge4RcTLL"},"oauth_iparams":{}} 2022-02-15 15:37:25.682 +0100 [debug] (proxy.js) Parsed https://mycompany7573.freshdesk.com/api/v2/contacts/101017286370 as {"protocol":"https:","slashes":true,"auth":null,"host":"mycompany7573.freshdesk.com","port":null,"hostname":"mycompany7573.freshdesk.com","hash":null,"search":null,"query":null,"pathname":"/api/v2/contacts/101017286370","path":"/api/v2/contacts/101017286370","href":"https://mycompany7573.freshdesk.com/api/v2/contacts/101017286370"} 2022-02-15 15:37:25.692 +0100 [debug] (proxy.js) Checking if the request url is whitelisted in manifest 2022-02-15 15:37:25.693 +0100 [debug] (proxy.js) Matched "https://mycompany7573.freshdesk.com/api/v2/contacts/101017286370" with https://mycompany7573.freshdesk.com 2022-02-15 15:37:25.694 +0100 [debug] (proxy.js) Making proxy call with options as {"headers":{"Content-Type":"application/json","Authorization":"Basic SW5rVTc2MlYwWXpnZTRSY1RMTDp4"},"url":"https://mycompany7573.freshdesk.com/api/v2/contacts/101017286370","method":"get","whitelistedDomains":["https://mycompany7573.freshdesk.com"],"maxAttempts":1,"retryDelay":0,"timeout":5000} 2022-02-15 15:37:25.917 +0100 [debug] (proxy.js) Proxy came back with error as null, body as "{\"active\":true,\"address\":null,\"description\":null,\"email\":\"matt.rogers@freshdesk.com\",\"id 2022-02-15 15:37:25.918 +0100 [debug] (proxy.js) Looking for "application/json" in application/json,application/xml,text/html,text/xml,application/jsonp,text/plain,application/javascript,application/vnd.api+json 2022-02-15 15:37:26.429 +0100 [debug] (coverage-util.js) Writing coverage. 2022-02-15 15:59:09.520 +0100 [info] NOTE: We recommend a coverage of 80% for apps that are to be published in the public marketplace. 2022-02-15 16:03:20.391 +0100 [debug] (logger.js) Starting FDK in node v12.22.7 on linux 2022-02-15 16:03:20.986 +0100 [debug] (sequelize.js) setting up sqilite at "/home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/.fdk/store.sqlite" 2022-02-15 16:03:21.894 +0100 [debug] (index.js) Running with args {"cmd":"run","gopts":{},"opts":{},"goptArg":{},"optArg":{},"args":[]} 2022-02-15 16:03:21.894 +0100 [debug] (data-util.js) Read {"version_details":{"fdkCli":{"version":"7.4.0","dl":"https://dl.freshdev.io/cli/fdk-7.4.0.tgz","cmd":"npm install https://dl.freshdev.io/cli/fdk-7.4.0.tgz -g"},"addon":{"version":"1.9.20","dl":"https://dl.freshdev.io/cli-addon/addon-1.9.20.zip"},"forced_versions":["4.3.6"]},"last_updated":{"time_stamp":1644916345572}} 2022-02-15 16:03:21.894 +0100 [debug] (updater.js) last check less than an day ago, not looking for updates 2022-02-15 16:03:22.086 +0100 [debug] (manifest.js) Reloading manifest with {"platform-version":"2.2","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"whitelisted-domains":["https://<%= iparam.freshdesk_domain %>.freshdesk.com"],"engines":{"node":"12.22.7","fdk":"7.1.0"}}. 2022-02-15 16:03:22.086 +0100 [debug] (manifest.js) Inferred db as features. 2022-02-15 16:03:22.088 +0100 [debug] (data-util.js) Read {"version_details":{"fdkCli":{"version":"7.4.0","dl":"https://dl.freshdev.io/cli/fdk-7.4.0.tgz","cmd":"npm install https://dl.freshdev.io/cli/fdk-7.4.0.tgz -g"},"addon":{"version":"1.9.20","dl":"https://dl.freshdev.io/cli-addon/addon-1.9.20.zip"},"forced_versions":["4.3.6"]},"last_updated":{"time_stamp":1644916345572}} 2022-02-15 16:03:22.102 +0100 [debug] (data-util.js) Read {"version_details":{"fdkCli":{"version":"7.4.0","dl":"https://dl.freshdev.io/cli/fdk-7.4.0.tgz","cmd":"npm install https://dl.freshdev.io/cli/fdk-7.4.0.tgz -g"},"addon":{"version":"1.9.20","dl":"https://dl.freshdev.io/cli-addon/addon-1.9.20.zip"},"forced_versions":["4.3.6"]},"last_updated":{"time_stamp":1644916345572}} 2022-02-15 16:03:22.971 +0100 [debug] (data-util.js) Read {"version_details":{"fdkCli":{"version":"7.4.0","dl":"https://dl.freshdev.io/cli/fdk-7.4.0.tgz","cmd":"npm install https://dl.freshdev.io/cli/fdk-7.4.0.tgz -g"},"addon":{"version":"1.9.20","dl":"https://dl.freshdev.io/cli-addon/addon-1.9.20.zip"},"forced_versions":["4.3.6"]},"last_updated":{"time_stamp":1644916345572}} 2022-02-15 16:03:25.542 +0100 [debug] (validate.js) asked to skip the following validations,  2022-02-15 16:03:25.542 +0100 [debug] (validate.js) running validator actions 2022-02-15 16:03:25.543 +0100 [debug] (validate.js) running validator app-dir 2022-02-15 16:03:25.543 +0100 [debug] (validate.js) running validator config-dir 2022-02-15 16:03:25.544 +0100 [debug] (config-dir.js) Checking to see if /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/config/ exists. 2022-02-15 16:03:25.544 +0100 [debug] (config-dir.js) Fetched the following config files iparams.json 2022-02-15 16:03:25.544 +0100 [debug] (validate.js) running validator custom-objects 2022-02-15 16:03:25.544 +0100 [debug] (validate.js) running validator event 2022-02-15 16:03:25.544 +0100 [debug] (validate.js) running validator iparam 2022-02-15 16:03:25.546 +0100 [debug] (validate.js) skipping validator lint 2022-02-15 16:03:25.547 +0100 [debug] (validate.js) running validator manifest 2022-02-15 16:03:25.547 +0100 [debug] (manifest.js) running manifest validation with type run_validation 2022-02-15 16:03:25.547 +0100 [debug] (validate.js) skipping validator manifest-dependency 2022-02-15 16:03:25.547 +0100 [debug] (validate.js) running validator oauth 2022-02-15 16:03:25.547 +0100 [debug] (validate.js) skipping validator pkgsize 2022-02-15 16:03:25.547 +0100 [debug] (validate.js) running validator schema 2022-02-15 16:03:25.547 +0100 [debug] (validate.js) running validator version-check 2022-02-15 16:03:25.550 +0100 [debug] (watcher.js) Preparing to watch the following files ./app,./config,./manifest.json 2022-02-15 16:03:25.553 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 16:03:25.553 +0100 [debug] (custom-objects.js) to force or not? false 2022-02-15 16:03:25.553 +0100 [debug] (custom-objects.js) beginning to re-sync db 2022-02-15 16:03:25.790 +0100 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/bigint-pivot.js" 2022-02-15 16:03:25.792 +0100 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field-choice.js" 2022-02-15 16:03:25.792 +0100 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field.js" 2022-02-15 16:03:25.793 +0100 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity.js" 2022-02-15 16:03:25.793 +0100 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/record.js" 2022-02-15 16:03:25.794 +0100 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/string-pivot.js" 2022-02-15 16:03:25.807 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 16:03:25.808 +0100 [debug] (custom-objects.js) updated local store with latest entity hash 2022-02-15 16:03:25.810 +0100 [info] Starting local testing server at http://*:10001/ Append 'dev=true' to your Freshdesk account URL to start testing e.g. https://domain.freshdesk.com/a/tickets/1?dev=true Quit the server with Control-C. 2022-02-15 16:03:25.811 +0100 [info] To test the installation page, visit - http://localhost:10001/custom_configs 2022-02-15 16:03:31.894 +0100 [debug] (data-pipe.js) received call for route "proxy" with action "execute" and body {"action":"execute","data":{"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://mycompany7573.freshdesk.com/api/v2/contacts/101017286370","method":"get"}} 2022-02-15 16:03:31.896 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 16:03:31.898 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-02-15 16:03:31.898 +0100 [debug] (proxy.js) Substituing Templates {"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://mycompany7573.freshdesk.com/api/v2/contacts/101017286370","method":"get"} with {"iparam":{"freshdesk_domain":"mycompany7573","freshdesk_key":"InkU762V0Yzge4RcTLL"},"oauth_iparams":{}} 2022-02-15 16:03:31.900 +0100 [debug] (proxy.js) Parsed https://mycompany7573.freshdesk.com/api/v2/contacts/101017286370 as {"protocol":"https:","slashes":true,"auth":null,"host":"mycompany7573.freshdesk.com","port":null,"hostname":"mycompany7573.freshdesk.com","hash":null,"search":null,"query":null,"pathname":"/api/v2/contacts/101017286370","path":"/api/v2/contacts/101017286370","href":"https://mycompany7573.freshdesk.com/api/v2/contacts/101017286370"} 2022-02-15 16:03:31.903 +0100 [debug] (proxy.js) Checking if the request url is whitelisted in manifest 2022-02-15 16:03:31.903 +0100 [debug] (proxy.js) Matched "https://mycompany7573.freshdesk.com/api/v2/contacts/101017286370" with https://mycompany7573.freshdesk.com 2022-02-15 16:03:31.903 +0100 [debug] (proxy.js) Making proxy call with options as {"headers":{"Content-Type":"application/json","Authorization":"Basic SW5rVTc2MlYwWXpnZTRSY1RMTDp4"},"url":"https://mycompany7573.freshdesk.com/api/v2/contacts/101017286370","method":"get","whitelistedDomains":["https://mycompany7573.freshdesk.com"],"maxAttempts":1,"retryDelay":0,"timeout":5000} 2022-02-15 16:03:32.187 +0100 [debug] (proxy.js) Proxy came back with error as null, body as "{\"active\":true,\"address\":null,\"description\":null,\"email\":\"matt.rogers@freshdesk.com\",\"id 2022-02-15 16:03:32.187 +0100 [debug] (proxy.js) Looking for "application/json" in application/json,application/xml,text/html,text/xml,application/jsonp,text/plain,application/javascript,application/vnd.api+json 2022-02-15 16:03:32.430 +0100 [debug] (coverage-util.js) Writing coverage. 2022-02-15 16:13:50.227 +0100 [info] NOTE: We recommend a coverage of 80% for apps that are to be published in the public marketplace. 2022-03-01 11:30:23.312 +0100 [debug] (logger.js) Starting FDK in node v12.22.7 on linux 2022-03-01 11:30:31.497 +0100 [debug] (sequelize.js) setting up sqilite at "/home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/.fdk/store.sqlite" 2022-03-01 11:30:33.573 +0100 [debug] (index.js) Running with args {"cmd":"run","gopts":{},"opts":{},"goptArg":{},"optArg":{},"args":[]} 2022-03-01 11:30:33.578 +0100 [debug] (data-util.js) Read {"version_details":{"fdkCli":{"version":"7.4.0","dl":"https://dl.freshdev.io/cli/fdk-7.4.0.tgz","cmd":"npm install https://dl.freshdev.io/cli/fdk-7.4.0.tgz -g"},"addon":{"version":"1.9.20","dl":"https://dl.freshdev.io/cli-addon/addon-1.9.20.zip"},"forced_versions":["4.3.6"]},"last_updated":{"time_stamp":1644916345572}} 2022-03-01 11:30:33.578 +0100 [debug] (updater.js) last check more than an day ago, looking for updates again 2022-03-01 11:30:33.750 +0100 [debug] (updater.js) remote fdk - 7.4.0, local fdk - 7.1.2 2022-03-01 11:30:33.751 +0100 [debug] (data-util.js) Read {"version_details":{"fdkCli":{"version":"7.4.0","dl":"https://dl.freshdev.io/cli/fdk-7.4.0.tgz","cmd":"npm install https://dl.freshdev.io/cli/fdk-7.4.0.tgz -g"},"addon":{"version":"1.9.20","dl":"https://dl.freshdev.io/cli-addon/addon-1.9.20.zip"},"forced_versions":["4.3.6"]},"last_updated":{"time_stamp":1644916345572}} 2022-03-01 11:30:33.752 +0100 [debug] (updater.js) remote addon - 1.9.20, local addon - 1.9.20 2022-03-01 11:30:33.752 +0100 [debug] (data-util.js) Read {"version_details":{"fdkCli":{"version":"7.4.0","dl":"https://dl.freshdev.io/cli/fdk-7.4.0.tgz","cmd":"npm install https://dl.freshdev.io/cli/fdk-7.4.0.tgz -g"},"addon":{"version":"1.9.20","dl":"https://dl.freshdev.io/cli-addon/addon-1.9.20.zip"},"forced_versions":["4.3.6"]},"last_updated":{"time_stamp":1644916345572}} 2022-03-01 11:30:33.755 +0100 [debug] (data-util.js) Read {"version_details":{"fdkCli":{"version":"7.4.0","dl":"https://dl.freshdev.io/cli/fdk-7.4.0.tgz","cmd":"npm install https://dl.freshdev.io/cli/fdk-7.4.0.tgz -g"},"addon":{"version":"1.9.20","dl":"https://dl.freshdev.io/cli-addon/addon-1.9.20.zip"},"forced_versions":["4.3.6"]},"last_updated":{"time_stamp":1644916345572}} 2022-03-01 11:30:42.699 +0100 [debug] (updater.js) user responded to update prompt with "false" 2022-03-01 11:30:44.137 +0100 [debug] (manifest.js) Reloading manifest with {"platform-version":"2.2","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"whitelisted-domains":["https://<%= iparam.freshdesk_domain %>.freshdesk.com"],"engines":{"node":"12","fdk":"7.1.0"}}. 2022-03-01 11:30:44.138 +0100 [debug] (manifest.js) Inferred db as features. 2022-03-01 11:30:44.157 +0100 [debug] (data-util.js) Read {"version_details":{"fdkCli":{"version":"7.4.0","dl":"https://dl.freshdev.io/cli/fdk-7.4.0.tgz","cmd":"npm install https://dl.freshdev.io/cli/fdk-7.4.0.tgz -g"},"addon":{"version":"1.9.20","dl":"https://dl.freshdev.io/cli-addon/addon-1.9.20.zip"},"forced_versions":["4.3.6"]},"last_updated":{"time_stamp":1646130633754}} 2022-03-01 11:30:44.244 +0100 [debug] (data-util.js) Read {"version_details":{"fdkCli":{"version":"7.4.0","dl":"https://dl.freshdev.io/cli/fdk-7.4.0.tgz","cmd":"npm install https://dl.freshdev.io/cli/fdk-7.4.0.tgz -g"},"addon":{"version":"1.9.20","dl":"https://dl.freshdev.io/cli-addon/addon-1.9.20.zip"},"forced_versions":["4.3.6"]},"last_updated":{"time_stamp":1646130633754}} 2022-03-01 11:30:53.674 +0100 [debug] (data-util.js) Read {"version_details":{"fdkCli":{"version":"7.4.0","dl":"https://dl.freshdev.io/cli/fdk-7.4.0.tgz","cmd":"npm install https://dl.freshdev.io/cli/fdk-7.4.0.tgz -g"},"addon":{"version":"1.9.20","dl":"https://dl.freshdev.io/cli-addon/addon-1.9.20.zip"},"forced_versions":["4.3.6"]},"last_updated":{"time_stamp":1646130633754}} 2022-03-01 11:31:00.999 +0100 [debug] (validate.js) asked to skip the following validations,  2022-03-01 11:31:00.999 +0100 [debug] (validate.js) running validator actions 2022-03-01 11:31:00.999 +0100 [debug] (validate.js) running validator app-dir 2022-03-01 11:31:01.000 +0100 [debug] (validate.js) running validator config-dir 2022-03-01 11:31:01.001 +0100 [debug] (config-dir.js) Checking to see if /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/config/ exists. 2022-03-01 11:31:01.001 +0100 [debug] (config-dir.js) Fetched the following config files iparams.json 2022-03-01 11:31:01.001 +0100 [debug] (validate.js) running validator custom-objects 2022-03-01 11:31:01.001 +0100 [debug] (validate.js) running validator event 2022-03-01 11:31:01.002 +0100 [debug] (validate.js) running validator iparam 2022-03-01 11:31:01.004 +0100 [debug] (validate.js) skipping validator lint 2022-03-01 11:31:01.004 +0100 [debug] (validate.js) running validator manifest 2022-03-01 11:31:01.004 +0100 [debug] (manifest.js) running manifest validation with type run_validation 2022-03-01 11:31:01.004 +0100 [debug] (validate.js) skipping validator manifest-dependency 2022-03-01 11:31:01.004 +0100 [debug] (validate.js) running validator oauth 2022-03-01 11:31:01.004 +0100 [debug] (validate.js) skipping validator pkgsize 2022-03-01 11:31:01.005 +0100 [debug] (validate.js) running validator schema 2022-03-01 11:31:01.005 +0100 [debug] (validate.js) running validator version-check 2022-03-01 11:31:54.364 +0100 [debug] (logger.js) Starting FDK in node v12.22.7 on linux 2022-03-01 11:31:54.905 +0100 [debug] (sequelize.js) setting up sqilite at "/home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/.fdk/store.sqlite" 2022-03-01 11:31:55.823 +0100 [debug] (index.js) Running with args {"cmd":"run","gopts":{},"opts":{},"goptArg":{},"optArg":{},"args":[]} 2022-03-01 11:31:55.823 +0100 [debug] (data-util.js) Read {"version_details":{"fdkCli":{"version":"7.4.0","dl":"https://dl.freshdev.io/cli/fdk-7.4.0.tgz","cmd":"npm install https://dl.freshdev.io/cli/fdk-7.4.0.tgz -g"},"addon":{"version":"1.9.20","dl":"https://dl.freshdev.io/cli-addon/addon-1.9.20.zip"},"forced_versions":["4.3.6"]},"last_updated":{"time_stamp":1646130633754}} 2022-03-01 11:31:55.824 +0100 [debug] (updater.js) last check less than an day ago, not looking for updates 2022-03-01 11:31:56.009 +0100 [debug] (manifest.js) Reloading manifest with {"platform-version":"2.2","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"whitelisted-domains":["https://<%= iparam.freshdesk_domain %>.freshdesk.com"],"engines":{"node":"12.22.7","fdk":"7.1.0"}}. 2022-03-01 11:31:56.010 +0100 [debug] (manifest.js) Inferred db as features. 2022-03-01 11:31:56.011 +0100 [debug] (data-util.js) Read {"version_details":{"fdkCli":{"version":"7.4.0","dl":"https://dl.freshdev.io/cli/fdk-7.4.0.tgz","cmd":"npm install https://dl.freshdev.io/cli/fdk-7.4.0.tgz -g"},"addon":{"version":"1.9.20","dl":"https://dl.freshdev.io/cli-addon/addon-1.9.20.zip"},"forced_versions":["4.3.6"]},"last_updated":{"time_stamp":1646130633754}} 2022-03-01 11:31:56.022 +0100 [debug] (data-util.js) Read {"version_details":{"fdkCli":{"version":"7.4.0","dl":"https://dl.freshdev.io/cli/fdk-7.4.0.tgz","cmd":"npm install https://dl.freshdev.io/cli/fdk-7.4.0.tgz -g"},"addon":{"version":"1.9.20","dl":"https://dl.freshdev.io/cli-addon/addon-1.9.20.zip"},"forced_versions":["4.3.6"]},"last_updated":{"time_stamp":1646130633754}} 2022-03-01 11:31:56.853 +0100 [debug] (data-util.js) Read {"version_details":{"fdkCli":{"version":"7.4.0","dl":"https://dl.freshdev.io/cli/fdk-7.4.0.tgz","cmd":"npm install https://dl.freshdev.io/cli/fdk-7.4.0.tgz -g"},"addon":{"version":"1.9.20","dl":"https://dl.freshdev.io/cli-addon/addon-1.9.20.zip"},"forced_versions":["4.3.6"]},"last_updated":{"time_stamp":1646130633754}} 2022-03-01 11:31:59.425 +0100 [debug] (validate.js) asked to skip the following validations,  2022-03-01 11:31:59.426 +0100 [debug] (validate.js) running validator actions 2022-03-01 11:31:59.426 +0100 [debug] (validate.js) running validator app-dir 2022-03-01 11:31:59.427 +0100 [debug] (validate.js) running validator config-dir 2022-03-01 11:31:59.427 +0100 [debug] (config-dir.js) Checking to see if /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/config/ exists. 2022-03-01 11:31:59.427 +0100 [debug] (config-dir.js) Fetched the following config files iparams.json 2022-03-01 11:31:59.427 +0100 [debug] (validate.js) running validator custom-objects 2022-03-01 11:31:59.427 +0100 [debug] (validate.js) running validator event 2022-03-01 11:31:59.428 +0100 [debug] (validate.js) running validator iparam 2022-03-01 11:31:59.430 +0100 [debug] (validate.js) skipping validator lint 2022-03-01 11:31:59.430 +0100 [debug] (validate.js) running validator manifest 2022-03-01 11:31:59.430 +0100 [debug] (manifest.js) running manifest validation with type run_validation 2022-03-01 11:31:59.430 +0100 [debug] (validate.js) skipping validator manifest-dependency 2022-03-01 11:31:59.430 +0100 [debug] (validate.js) running validator oauth 2022-03-01 11:31:59.430 +0100 [debug] (validate.js) skipping validator pkgsize 2022-03-01 11:31:59.430 +0100 [debug] (validate.js) running validator schema 2022-03-01 11:31:59.431 +0100 [debug] (validate.js) running validator version-check 2022-03-01 11:31:59.433 +0100 [debug] (watcher.js) Preparing to watch the following files ./app,./config,./manifest.json 2022-03-01 11:31:59.436 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-03-01 11:31:59.436 +0100 [debug] (custom-objects.js) to force or not? false 2022-03-01 11:31:59.436 +0100 [debug] (custom-objects.js) beginning to re-sync db 2022-03-01 11:31:59.875 +0100 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/bigint-pivot.js" 2022-03-01 11:31:59.888 +0100 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field-choice.js" 2022-03-01 11:31:59.895 +0100 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field.js" 2022-03-01 11:31:59.901 +0100 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity.js" 2022-03-01 11:31:59.908 +0100 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/record.js" 2022-03-01 11:31:59.915 +0100 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/string-pivot.js" 2022-03-01 11:31:59.933 +0100 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-03-01 11:31:59.934 +0100 [debug] (custom-objects.js) updated local store with latest entity hash 2022-03-01 11:31:59.938 +0100 [info] Starting local testing server at http://*:10001/ Append 'dev=true' to your Freshdesk account URL to start testing e.g. https://domain.freshdesk.com/a/tickets/1?dev=true Quit the server with Control-C. 2022-03-01 11:31:59.938 +0100 [info] To test the installation page, visit - http://localhost:10001/custom_configs 2022-03-01 11:32:12.502 +0100 [info] NOTE: We recommend a coverage of 80% for apps that are to be published in the public marketplace. 2022-03-01 11:35:33.638 +0100 [debug] (logger.js) Starting FDK in node v12.22.7 on linux 2022-03-01 11:35:34.167 +0100 [debug] (sequelize.js) setting up sqilite at "/home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/.fdk/store.sqlite" 2022-03-01 11:35:35.085 +0100 [debug] (index.js) Running with args {"cmd":"version","gopts":{},"opts":{},"goptArg":{},"optArg":{},"args":[]} 2022-03-01 11:35:35.086 +0100 [debug] (data-util.js) Read {"version_details":{"fdkCli":{"version":"7.4.0","dl":"https://dl.freshdev.io/cli/fdk-7.4.0.tgz","cmd":"npm install https://dl.freshdev.io/cli/fdk-7.4.0.tgz -g"},"addon":{"version":"1.9.20","dl":"https://dl.freshdev.io/cli-addon/addon-1.9.20.zip"},"forced_versions":["4.3.6"]},"last_updated":{"time_stamp":1646130633754}} 2022-03-01 11:35:35.086 +0100 [debug] (updater.js) last check less than an day ago, not looking for updates 2022-03-01 11:35:35.097 +0100 [info] Installed: 7.1.2 2022-03-01 11:35:35.218 +0100 [info] Latest: 7.4.0 To install the latest version type 'npm install https://dl.freshdev.io/cli/fdk-7.4.0.tgz -g' 2022-03-01 11:42:44.156 +0100 [debug] (logger.js) Starting FDK in node v12.22.7 on linux 2022-03-01 11:42:44.908 +0100 [debug] (sequelize.js) setting up sqilite at "/home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/.fdk/store.sqlite" 2022-03-01 11:42:45.848 +0100 [debug] (index.js) Running with args {"cmd":"validate","gopts":{},"opts":{},"goptArg":{},"optArg":{},"args":[]} 2022-03-01 11:42:45.849 +0100 [debug] (data-util.js) Read {"version_details":{"fdkCli":{"version":"7.4.0","dl":"https://dl.freshdev.io/cli/fdk-7.4.0.tgz","cmd":"npm install https://dl.freshdev.io/cli/fdk-7.4.0.tgz -g"},"addon":{"version":"1.9.20","dl":"https://dl.freshdev.io/cli-addon/addon-1.9.20.zip"},"forced_versions":["4.3.6"]},"last_updated":{"time_stamp":1646130633754}} 2022-03-01 11:42:45.849 +0100 [debug] (updater.js) last check less than an day ago, not looking for updates 2022-03-01 11:42:45.867 +0100 [debug] (manifest.js) Reloading manifest with {"platform-version":"2.2","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"whitelisted-domains":["https://<%= iparam.freshdesk_domain %>.freshdesk.com"],"engines":{"node":"12.22.7","fdk":"7.1.0"}}. 2022-03-01 11:42:45.867 +0100 [debug] (manifest.js) Inferred db as features. 2022-03-01 11:42:45.868 +0100 [debug] (data-util.js) Read {"version_details":{"fdkCli":{"version":"7.4.0","dl":"https://dl.freshdev.io/cli/fdk-7.4.0.tgz","cmd":"npm install https://dl.freshdev.io/cli/fdk-7.4.0.tgz -g"},"addon":{"version":"1.9.20","dl":"https://dl.freshdev.io/cli-addon/addon-1.9.20.zip"},"forced_versions":["4.3.6"]},"last_updated":{"time_stamp":1646130633754}} 2022-03-01 11:42:47.069 +0100 [debug] (data-util.js) Read {"version_details":{"fdkCli":{"version":"7.4.0","dl":"https://dl.freshdev.io/cli/fdk-7.4.0.tgz","cmd":"npm install https://dl.freshdev.io/cli/fdk-7.4.0.tgz -g"},"addon":{"version":"1.9.20","dl":"https://dl.freshdev.io/cli-addon/addon-1.9.20.zip"},"forced_versions":["4.3.6"]},"last_updated":{"time_stamp":1646130633754}} 2022-03-01 11:42:49.572 +0100 [debug] (validate.js) asked to skip the following validations,  2022-03-01 11:42:49.573 +0100 [debug] (validate.js) running validator actions 2022-03-01 11:42:49.573 +0100 [debug] (validate.js) running validator app-dir 2022-03-01 11:42:49.574 +0100 [debug] (validate.js) running validator config-dir 2022-03-01 11:42:49.574 +0100 [debug] (config-dir.js) Checking to see if /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/config/ exists. 2022-03-01 11:42:49.574 +0100 [debug] (config-dir.js) Fetched the following config files iparams.json 2022-03-01 11:42:49.574 +0100 [debug] (validate.js) running validator custom-objects 2022-03-01 11:42:49.575 +0100 [debug] (validate.js) running validator event 2022-03-01 11:42:49.575 +0100 [debug] (validate.js) running validator iparam 2022-03-01 11:42:49.577 +0100 [debug] (validate.js) running validator lint 2022-03-01 11:42:49.577 +0100 [debug] (lint.js) passed fix flag: false 2022-03-01 11:42:49.596 +0100 [debug] (lint-util.js) Running the following lints on the file app/app.js : no-caller,no-process-env,complexity,max-nested-callbacks,handle-callback-err,no-eval,no-alert,no-debugger,no-unreachable,no-unlisted-url,no-unhandled-promise,no-logging-rejections,no-non-client-request-model,no-cross-scope-assign,no-empty-function,no-unused-vars 2022-03-01 11:42:49.643 +0100 [debug] (validate.js) running validator manifest 2022-03-01 11:42:49.643 +0100 [debug] (manifest.js) running manifest validation with type pre_pkg_validation 2022-03-01 11:42:49.643 +0100 [debug] (validate.js) running validator manifest-dependency 2022-03-01 11:42:49.643 +0100 [debug] (validate.js) running validator oauth 2022-03-01 11:42:49.644 +0100 [debug] (validate.js) skipping validator pkgsize 2022-03-01 11:42:49.644 +0100 [debug] (validate.js) skipping validator schema 2022-03-01 11:42:49.644 +0100 [debug] (validate.js) running validator version-check 2022-03-01 11:42:49.648 +0100 [warn] Please ensure that the following are addressed for quick review process. 2022-03-01 11:42:49.649 +0100 [warn] [WARN] app/app.js::12: Expected rejection to be handled. 2022-03-01 11:42:49.649 +0100 [warn] [WARN] app/app.js::35: Expected rejection to be handled. 2022-03-01 11:42:49.650 +0100 [error] 2022-03-01 11:42:49.650 +0100 [info] Validation Successful 2022-03-01 11:43:17.612 +0100 [debug] (logger.js) Starting FDK in node v12.22.7 on linux 2022-03-01 11:43:18.166 +0100 [debug] (sequelize.js) setting up sqilite at "/home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/.fdk/store.sqlite" 2022-03-01 11:43:19.070 +0100 [debug] (index.js) Running with args {"cmd":"pack","gopts":{},"opts":{},"goptArg":{},"optArg":{},"args":[]} 2022-03-01 11:43:19.071 +0100 [debug] (data-util.js) Read {"version_details":{"fdkCli":{"version":"7.4.0","dl":"https://dl.freshdev.io/cli/fdk-7.4.0.tgz","cmd":"npm install https://dl.freshdev.io/cli/fdk-7.4.0.tgz -g"},"addon":{"version":"1.9.20","dl":"https://dl.freshdev.io/cli-addon/addon-1.9.20.zip"},"forced_versions":["4.3.6"]},"last_updated":{"time_stamp":1646130633754}} 2022-03-01 11:43:19.071 +0100 [debug] (updater.js) last check less than an day ago, not looking for updates 2022-03-01 11:43:19.678 +0100 [debug] (manifest.js) Reloading manifest with {"platform-version":"2.2","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"whitelisted-domains":["https://<%= iparam.freshdesk_domain %>.freshdesk.com"],"engines":{"node":"12.22.7","fdk":"7.1.0"}}. 2022-03-01 11:43:19.678 +0100 [debug] (manifest.js) Inferred db as features. 2022-03-01 11:43:19.679 +0100 [debug] (data-util.js) Read {"version_details":{"fdkCli":{"version":"7.4.0","dl":"https://dl.freshdev.io/cli/fdk-7.4.0.tgz","cmd":"npm install https://dl.freshdev.io/cli/fdk-7.4.0.tgz -g"},"addon":{"version":"1.9.20","dl":"https://dl.freshdev.io/cli-addon/addon-1.9.20.zip"},"forced_versions":["4.3.6"]},"last_updated":{"time_stamp":1646130633754}} 2022-03-01 11:43:20.628 +0100 [debug] (data-util.js) Read {"version_details":{"fdkCli":{"version":"7.4.0","dl":"https://dl.freshdev.io/cli/fdk-7.4.0.tgz","cmd":"npm install https://dl.freshdev.io/cli/fdk-7.4.0.tgz -g"},"addon":{"version":"1.9.20","dl":"https://dl.freshdev.io/cli-addon/addon-1.9.20.zip"},"forced_versions":["4.3.6"]},"last_updated":{"time_stamp":1646130633754}} 2022-03-01 11:43:23.071 +0100 [debug] (pack.js) 'pack' called with {} 2022-03-01 11:43:23.072 +0100 [debug] (validate.js) asked to skip the following validations,  2022-03-01 11:43:23.072 +0100 [debug] (validate.js) running validator actions 2022-03-01 11:43:23.072 +0100 [debug] (validate.js) running validator app-dir 2022-03-01 11:43:23.073 +0100 [debug] (validate.js) running validator config-dir 2022-03-01 11:43:23.073 +0100 [debug] (config-dir.js) Checking to see if /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/config/ exists. 2022-03-01 11:43:23.073 +0100 [debug] (config-dir.js) Fetched the following config files iparams.json 2022-03-01 11:43:23.073 +0100 [debug] (validate.js) running validator custom-objects 2022-03-01 11:43:23.074 +0100 [debug] (validate.js) running validator event 2022-03-01 11:43:23.074 +0100 [debug] (validate.js) running validator iparam 2022-03-01 11:43:23.076 +0100 [debug] (validate.js) running validator lint 2022-03-01 11:43:23.076 +0100 [debug] (lint.js) passed fix flag: undefined 2022-03-01 11:43:23.077 +0100 [debug] (lint-util.js) Running the following lints on the file app/app.js : no-caller,no-process-env,complexity,max-nested-callbacks,handle-callback-err,no-eval,no-alert,no-debugger,no-unreachable,no-unlisted-url,no-unhandled-promise,no-logging-rejections,no-non-client-request-model,no-cross-scope-assign,no-empty-function,no-unused-vars 2022-03-01 11:43:23.131 +0100 [debug] (validate.js) running validator manifest 2022-03-01 11:43:23.131 +0100 [debug] (manifest.js) running manifest validation with type pre_pkg_validation 2022-03-01 11:43:23.131 +0100 [debug] (validate.js) running validator manifest-dependency 2022-03-01 11:43:23.132 +0100 [debug] (validate.js) running validator oauth 2022-03-01 11:43:23.132 +0100 [debug] (validate.js) skipping validator pkgsize 2022-03-01 11:43:23.132 +0100 [debug] (validate.js) skipping validator schema 2022-03-01 11:43:23.132 +0100 [debug] (validate.js) running validator version-check 2022-03-01 11:43:23.135 +0100 [warn] Please ensure that the following are addressed for quick review process. 2022-03-01 11:43:23.135 +0100 [warn] [WARN] app/app.js::12: Expected rejection to be handled. 2022-03-01 11:43:23.136 +0100 [warn] [WARN] app/app.js::35: Expected rejection to be handled. 2022-03-01 11:43:23.136 +0100 [error] 2022-03-01 11:43:23.136 +0100 [info] App being packed in Node v12.22.7 using FDK 7.4.0 2022-03-01 11:43:23.146 +0100 [debug] (pack.js) Cannot find './src' directory while packing. 2022-03-01 11:43:23.147 +0100 [debug] (pack.js) Cannot find './server' directory while packing. 2022-03-01 11:43:23.150 +0100 [debug] (file-util.js) Computing digest for app/app.js,app/template.html,manifest.json. 2022-03-01 11:43:23.151 +0100 [debug] (pack.js) Packing ./app/app.js 2022-03-01 11:43:23.152 +0100 [debug] (pack.js) Packing ./app/template.html 2022-03-01 11:43:23.152 +0100 [debug] (pack.js) Packing ./config/iparams.json 2022-03-01 11:43:23.152 +0100 [debug] (pack.js) Packing ./manifest.json 2022-03-01 11:43:23.152 +0100 [debug] (pack.js) Packing ./.report.json 2022-03-01 11:43:23.152 +0100 [debug] (pack.js) Packing ./README.md 2022-03-01 11:43:23.152 +0100 [debug] (pack.js) Packing ./digest.md5 2022-03-01 11:43:23.184 +0100 [debug] (validate.js) asked to skip the following validations,  2022-03-01 11:43:23.184 +0100 [debug] (validate.js) skipping validator actions 2022-03-01 11:43:23.184 +0100 [debug] (validate.js) skipping validator app-dir 2022-03-01 11:43:23.185 +0100 [debug] (validate.js) skipping validator config-dir 2022-03-01 11:43:23.185 +0100 [debug] (validate.js) skipping validator custom-objects 2022-03-01 11:43:23.185 +0100 [debug] (validate.js) skipping validator event 2022-03-01 11:43:23.185 +0100 [debug] (validate.js) skipping validator iparam 2022-03-01 11:43:23.185 +0100 [debug] (validate.js) skipping validator lint 2022-03-01 11:43:23.185 +0100 [debug] (validate.js) skipping validator manifest 2022-03-01 11:43:23.185 +0100 [debug] (validate.js) skipping validator manifest-dependency 2022-03-01 11:43:23.185 +0100 [debug] (validate.js) skipping validator oauth 2022-03-01 11:43:23.186 +0100 [debug] (validate.js) running validator pkgsize 2022-03-01 11:43:23.186 +0100 [debug] (validate.js) skipping validator schema 2022-03-01 11:43:23.186 +0100 [debug] (validate.js) skipping validator version-check 2022-03-01 11:43:23.187 +0100 [info] App packed successfully at /dist/tickets_close_interceptor.zip 2022-03-01 11:43:23.187 +0100 [info] Upload this file to the marketplace by following the instructions at https://developer.freshdesk.com/v2/docs/freshdesk-apps/ 2022-03-01 11:43:23.187 +0100 [debug] (file-util.js) Deleting digest. 2022-04-19 11:01:55.944 +0200 [debug] (logger.js) Starting FDK in node v12.22.7 on linux 2022-04-19 11:02:04.271 +0200 [debug] (sequelize.js) setting up sqilite at "/home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/.fdk/store.sqlite" 2022-04-19 11:02:06.167 +0200 [debug] (index.js) Running with args {"cmd":"run","gopts":{},"opts":{},"goptArg":{},"optArg":{},"args":[]} 2022-04-19 11:02:06.171 +0200 [debug] (data-util.js) Read {"version_details":{"fdkCli":{"version":"7.4.0","dl":"https://dl.freshdev.io/cli/fdk-7.4.0.tgz","cmd":"npm install https://dl.freshdev.io/cli/fdk-7.4.0.tgz -g"},"addon":{"version":"1.9.20","dl":"https://dl.freshdev.io/cli-addon/addon-1.9.20.zip"},"forced_versions":["4.3.6"]},"last_updated":{"time_stamp":1646130633754}} 2022-04-19 11:02:06.171 +0200 [debug] (updater.js) last check more than an day ago, looking for updates again 2022-04-19 11:02:06.325 +0200 [debug] (updater.js) downloaded update manifest as {"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.0.1","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.0","url":"https://dl.freshdev.io/cli-addon/addon-1.10.0.zip"}} 2022-04-19 11:02:06.326 +0200 [debug] (data-util.js) Read {"version_details":{"fdkCli":{"version":"7.4.0","dl":"https://dl.freshdev.io/cli/fdk-7.4.0.tgz","cmd":"npm install https://dl.freshdev.io/cli/fdk-7.4.0.tgz -g"},"addon":{"version":"1.9.20","dl":"https://dl.freshdev.io/cli-addon/addon-1.9.20.zip"},"forced_versions":["4.3.6"]},"last_updated":{"time_stamp":1646130633754}} 2022-04-19 11:02:07.208 +0200 [debug] (data-util.js) Read {"version_details":{"fdkCli":{"version":"7.4.0","dl":"https://dl.freshdev.io/cli/fdk-7.4.0.tgz","cmd":"npm install https://dl.freshdev.io/cli/fdk-7.4.0.tgz -g"},"addon":{"version":"1.9.20","dl":"https://dl.freshdev.io/cli-addon/addon-1.9.20.zip"},"forced_versions":["4.3.6"]},"last_updated":{"time_stamp":1646130633754}} 2022-04-19 11:02:07.213 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.0.1","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.0","url":"https://dl.freshdev.io/cli-addon/addon-1.10.0.zip"}},"last_updated":{"time_stamp":1646130633754}} 2022-04-19 11:02:07.219 +0200 [warn] [WARN] This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433. 2022-04-19 11:02:08.554 +0200 [debug] (manifest.js) Reloading manifest with {"platform-version":"2.2","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"whitelisted-domains":["https://<%= iparam.freshdesk_domain %>.freshdesk.com"],"engines":{"node":"12.22.7","fdk":"7.1.0"}}. 2022-04-19 11:02:08.554 +0200 [debug] (manifest.js) Inferred db as features. 2022-04-19 11:02:08.574 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.0.1","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.0","url":"https://dl.freshdev.io/cli-addon/addon-1.10.0.zip"}},"last_updated":{"time_stamp":1650358927209}} 2022-04-19 11:02:08.654 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.0.1","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.0","url":"https://dl.freshdev.io/cli-addon/addon-1.10.0.zip"}},"last_updated":{"time_stamp":1650358927209}} 2022-04-19 11:02:18.135 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.0.1","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.0","url":"https://dl.freshdev.io/cli-addon/addon-1.10.0.zip"}},"last_updated":{"time_stamp":1650358927209}} 2022-04-19 11:02:25.329 +0200 [debug] (validate.js) asked to skip the following validations,  2022-04-19 11:02:25.330 +0200 [debug] (validate.js) running validator actions 2022-04-19 11:02:25.330 +0200 [debug] (validate.js) running validator app-dir 2022-04-19 11:02:25.331 +0200 [debug] (validate.js) running validator config-dir 2022-04-19 11:02:25.331 +0200 [debug] (config-dir.js) Checking to see if /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/config/ exists. 2022-04-19 11:02:25.332 +0200 [debug] (config-dir.js) Fetched the following config files iparams.json 2022-04-19 11:02:25.332 +0200 [debug] (validate.js) running validator custom-objects 2022-04-19 11:02:25.332 +0200 [debug] (validate.js) running validator event 2022-04-19 11:02:25.332 +0200 [debug] (validate.js) running validator iparam 2022-04-19 11:02:25.338 +0200 [debug] (validate.js) skipping validator lint 2022-04-19 11:02:25.339 +0200 [debug] (validate.js) running validator manifest 2022-04-19 11:02:25.339 +0200 [debug] (manifest.js) running manifest validation with type run_validation 2022-04-19 11:02:25.339 +0200 [debug] (validate.js) skipping validator manifest-dependency 2022-04-19 11:02:25.339 +0200 [debug] (validate.js) running validator oauth 2022-04-19 11:02:25.339 +0200 [debug] (validate.js) skipping validator pkgsize 2022-04-19 11:02:25.339 +0200 [debug] (validate.js) running validator schema 2022-04-19 11:02:25.339 +0200 [debug] (validate.js) running validator version-check 2022-04-19 11:02:25.341 +0200 [debug] (watcher.js) Preparing to watch the following files ./app,./config,./manifest.json 2022-04-19 11:02:25.348 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-04-19 11:02:25.348 +0200 [debug] (custom-objects.js) to force or not? false 2022-04-19 11:02:25.348 +0200 [debug] (custom-objects.js) beginning to re-sync db 2022-04-19 11:02:25.801 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/bigint-pivot.js" 2022-04-19 11:02:25.815 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field-choice.js" 2022-04-19 11:02:25.821 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field.js" 2022-04-19 11:02:25.828 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity.js" 2022-04-19 11:02:25.835 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/record.js" 2022-04-19 11:02:25.842 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/string-pivot.js" 2022-04-19 11:02:25.864 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-04-19 11:02:25.865 +0200 [debug] (custom-objects.js) updated local store with latest entity hash 2022-04-19 11:02:25.867 +0200 [info] Starting local testing server at http://*:10001/ Append 'dev=true' to your Freshdesk account URL to start testing e.g. https://domain.freshdesk.com/a/tickets/1?dev=true Quit the server with Control-C. 2022-04-19 11:02:25.868 +0200 [info] To test the installation page, visit - http://localhost:10001/custom_configs 2022-04-19 11:02:41.096 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-04-19 11:02:41.097 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-04-19 11:02:41.144 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-04-19 11:03:29.548 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"mycompany7573","freshdesk_key":"InkU762V0Yzge4RcTLL"}}} 2022-04-19 11:03:35.670 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire"}}} 2022-04-19 11:04:15.281 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire"}}} 2022-04-19 11:04:15.281 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-04-19 11:04:15.289 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire"}}} 2022-04-19 11:04:15.289 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-04-19 11:04:15.308 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire"}}} 2022-04-19 11:04:15.308 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-04-19 11:04:15.314 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire"}}} 2022-04-19 11:04:15.314 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-04-19 11:04:15.329 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire"}}} 2022-04-19 11:04:15.329 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-04-19 11:04:15.331 +0200 [debug] (iframe.js) Responding with contents of /template.html 2022-04-19 11:04:15.340 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire"}}} 2022-04-19 11:04:15.340 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-04-19 11:04:15.347 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire"}}} 2022-04-19 11:04:15.348 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-04-19 11:04:15.349 +0200 [debug] (iframe.js) Responding with contents of /app.js 2022-04-19 11:04:15.351 +0200 [debug] (coverage-util.js) Instrumenting /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/app/app.js 2022-04-19 11:04:17.551 +0200 [debug] (coverage-util.js) Writing coverage. 2022-04-19 11:04:17.552 +0200 [debug] (coverage-util.js) Error Cannot read property 'start' of undefined while writing coverage report. 2022-04-19 11:04:17.552 +0200 [debug] (coverage-util.js) Flushing coverage. 2022-04-19 11:04:26.816 +0200 [debug] (data-pipe.js) received call for route "proxy" with action "execute" and body {"action":"execute","data":{"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get"}} 2022-04-19 11:04:26.816 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire"}}} 2022-04-19 11:04:26.828 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire"}}} 2022-04-19 11:04:26.828 +0200 [debug] (proxy.js) Substituing Templates {"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get"} with {"iparam":{"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire"},"oauth_iparams":{}} 2022-04-19 11:04:26.830 +0200 [debug] (proxy.js) Parsed https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452 as {"protocol":"https:","slashes":true,"auth":null,"host":"virtualdropstudio.freshdesk.com","port":null,"hostname":"virtualdropstudio.freshdesk.com","hash":null,"search":null,"query":null,"pathname":"/api/v2/contacts/101026585452","path":"/api/v2/contacts/101026585452","href":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452"} 2022-04-19 11:04:26.832 +0200 [debug] (proxy.js) Checking if the request url is whitelisted in manifest 2022-04-19 11:04:26.832 +0200 [debug] (proxy.js) Matched "https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452" with https://virtualdropstudio.freshdesk.com 2022-04-19 11:04:26.832 +0200 [debug] (proxy.js) Making proxy call with options as {"headers":{"Content-Type":"application/json","Authorization":"Basic eXBsT0hra3gyejJhY1ZRS01DZGU6eA=="},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get","whitelistedDomains":["https://virtualdropstudio.freshdesk.com"],"maxAttempts":1,"retryDelay":0,"timeout":5000} 2022-04-19 11:04:27.044 +0200 [debug] (proxy.js) Proxy came back with error as null, body as "{\"active\":false,\"address\":null,\"description\":null,\"email\":\"loloic3@sfr.fr\",\"id\":1010265 2022-04-19 11:04:27.044 +0200 [debug] (proxy.js) Looking for "application/json" in application/json,application/xml,text/html,text/xml,application/jsonp,text/plain,application/javascript,application/vnd.api+json 2022-04-19 11:04:27.560 +0200 [debug] (coverage-util.js) Writing coverage. 2022-04-19 11:04:43.567 +0200 [debug] (coverage-util.js) Writing coverage. 2022-04-19 11:05:13.930 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire"}}} 2022-04-19 11:05:13.931 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-04-19 11:05:13.941 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire"}}} 2022-04-19 11:05:13.942 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-04-19 11:05:13.964 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire"}}} 2022-04-19 11:05:13.964 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-04-19 11:05:13.972 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire"}}} 2022-04-19 11:05:13.972 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-04-19 11:05:13.997 +0200 [debug] (iframe.js) Responding with contents of /template.html 2022-04-19 11:05:13.999 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire"}}} 2022-04-19 11:05:13.999 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-04-19 11:05:14.012 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire"}}} 2022-04-19 11:05:14.012 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-04-19 11:05:14.014 +0200 [debug] (iframe.js) Responding with contents of /app.js 2022-04-19 11:05:14.015 +0200 [debug] (coverage-util.js) Instrumenting /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/app/app.js 2022-04-19 11:05:14.106 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire"}}} 2022-04-19 11:05:14.107 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-04-19 11:05:16.185 +0200 [debug] (coverage-util.js) Writing coverage. 2022-04-19 11:05:19.159 +0200 [debug] (data-pipe.js) received call for route "proxy" with action "execute" and body {"action":"execute","data":{"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get"}} 2022-04-19 11:05:19.159 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire"}}} 2022-04-19 11:05:19.160 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire"}}} 2022-04-19 11:05:19.160 +0200 [debug] (proxy.js) Substituing Templates {"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get"} with {"iparam":{"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire"},"oauth_iparams":{}} 2022-04-19 11:05:19.161 +0200 [debug] (proxy.js) Parsed https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452 as {"protocol":"https:","slashes":true,"auth":null,"host":"virtualdropstudio.freshdesk.com","port":null,"hostname":"virtualdropstudio.freshdesk.com","hash":null,"search":null,"query":null,"pathname":"/api/v2/contacts/101026585452","path":"/api/v2/contacts/101026585452","href":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452"} 2022-04-19 11:05:19.161 +0200 [debug] (proxy.js) Checking if the request url is whitelisted in manifest 2022-04-19 11:05:19.162 +0200 [debug] (proxy.js) Matched "https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452" with https://virtualdropstudio.freshdesk.com 2022-04-19 11:05:19.162 +0200 [debug] (proxy.js) Making proxy call with options as {"headers":{"Content-Type":"application/json","Authorization":"Basic eXBsT0hra3gyejJhY1ZRS01DZGU6eA=="},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get","whitelistedDomains":["https://virtualdropstudio.freshdesk.com"],"maxAttempts":1,"retryDelay":0,"timeout":5000} 2022-04-19 11:05:19.374 +0200 [debug] (proxy.js) Proxy came back with error as null, body as "{\"active\":false,\"address\":null,\"description\":null,\"email\":\"loloic3@sfr.fr\",\"id\":1010265 2022-04-19 11:05:19.375 +0200 [debug] (proxy.js) Looking for "application/json" in application/json,application/xml,text/html,text/xml,application/jsonp,text/plain,application/javascript,application/vnd.api+json 2022-04-19 11:05:20.197 +0200 [debug] (coverage-util.js) Writing coverage. 2022-04-19 11:13:02.809 +0200 [info] NOTE: We recommend a coverage of 80% for apps that are to be published in the public marketplace. 2022-04-19 11:13:08.145 +0200 [debug] (logger.js) Starting FDK in node v12.22.7 on linux 2022-04-19 11:13:08.722 +0200 [debug] (sequelize.js) setting up sqilite at "/home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/.fdk/store.sqlite" 2022-04-19 11:13:09.689 +0200 [debug] (index.js) Running with args {"cmd":"run","gopts":{},"opts":{},"goptArg":{},"optArg":{},"args":[]} 2022-04-19 11:13:09.690 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.0.1","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.0","url":"https://dl.freshdev.io/cli-addon/addon-1.10.0.zip"}},"last_updated":{"time_stamp":1650358927209}} 2022-04-19 11:13:09.690 +0200 [debug] (updater.js) last check less than an day ago, not looking for updates 2022-04-19 11:13:09.883 +0200 [debug] (manifest.js) Reloading manifest with {"platform-version":"2.2","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"whitelisted-domains":["https://<%= iparam.freshdesk_domain %>.freshdesk.com"],"engines":{"node":"12.22.7","fdk":"7.1.0"}}. 2022-04-19 11:13:09.883 +0200 [debug] (manifest.js) Inferred db as features. 2022-04-19 11:13:09.885 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.0.1","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.0","url":"https://dl.freshdev.io/cli-addon/addon-1.10.0.zip"}},"last_updated":{"time_stamp":1650358927209}} 2022-04-19 11:13:09.895 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.0.1","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.0","url":"https://dl.freshdev.io/cli-addon/addon-1.10.0.zip"}},"last_updated":{"time_stamp":1650358927209}} 2022-04-19 11:13:10.853 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.0.1","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.0","url":"https://dl.freshdev.io/cli-addon/addon-1.10.0.zip"}},"last_updated":{"time_stamp":1650358927209}} 2022-04-19 11:13:13.604 +0200 [debug] (validate.js) asked to skip the following validations,  2022-04-19 11:13:13.604 +0200 [debug] (validate.js) running validator actions 2022-04-19 11:13:13.604 +0200 [debug] (validate.js) running validator app-dir 2022-04-19 11:13:13.605 +0200 [debug] (validate.js) running validator config-dir 2022-04-19 11:13:13.605 +0200 [debug] (config-dir.js) Checking to see if /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/config/ exists. 2022-04-19 11:13:13.605 +0200 [debug] (config-dir.js) Fetched the following config files iparams.json 2022-04-19 11:13:13.606 +0200 [debug] (validate.js) running validator custom-objects 2022-04-19 11:13:13.606 +0200 [debug] (validate.js) running validator event 2022-04-19 11:13:13.606 +0200 [debug] (validate.js) running validator iparam 2022-04-19 11:13:13.612 +0200 [debug] (validate.js) skipping validator lint 2022-04-19 11:13:13.612 +0200 [debug] (validate.js) running validator manifest 2022-04-19 11:13:13.613 +0200 [debug] (manifest.js) running manifest validation with type run_validation 2022-04-19 11:13:13.613 +0200 [debug] (validate.js) skipping validator manifest-dependency 2022-04-19 11:13:13.613 +0200 [debug] (validate.js) running validator oauth 2022-04-19 11:13:13.613 +0200 [debug] (validate.js) skipping validator pkgsize 2022-04-19 11:13:13.613 +0200 [debug] (validate.js) running validator schema 2022-04-19 11:13:13.613 +0200 [debug] (validate.js) running validator version-check 2022-04-19 11:13:13.615 +0200 [debug] (watcher.js) Preparing to watch the following files ./app,./config,./manifest.json 2022-04-19 11:13:13.618 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire"}}} 2022-04-19 11:13:13.619 +0200 [debug] (custom-objects.js) to force or not? false 2022-04-19 11:13:13.619 +0200 [debug] (custom-objects.js) beginning to re-sync db 2022-04-19 11:13:13.869 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/bigint-pivot.js" 2022-04-19 11:13:13.871 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field-choice.js" 2022-04-19 11:13:13.871 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field.js" 2022-04-19 11:13:13.872 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity.js" 2022-04-19 11:13:13.873 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/record.js" 2022-04-19 11:13:13.874 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/string-pivot.js" 2022-04-19 11:13:13.889 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire"}}} 2022-04-19 11:13:13.890 +0200 [debug] (custom-objects.js) updated local store with latest entity hash 2022-04-19 11:13:13.893 +0200 [info] Starting local testing server at http://*:10001/ Append 'dev=true' to your Freshdesk account URL to start testing e.g. https://domain.freshdesk.com/a/tickets/1?dev=true Quit the server with Control-C. 2022-04-19 11:13:13.894 +0200 [info] To test the installation page, visit - http://localhost:10001/custom_configs 2022-04-19 11:13:27.118 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire"}}} 2022-04-19 11:13:27.119 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-04-19 11:13:27.158 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire"}}} 2022-04-19 11:13:29.895 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire"}}} 2022-04-19 11:14:08.699 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire"}}} 2022-04-19 11:14:08.699 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-04-19 11:14:08.707 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire"}}} 2022-04-19 11:14:08.707 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-04-19 11:14:08.726 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire"}}} 2022-04-19 11:14:08.726 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-04-19 11:14:08.733 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire"}}} 2022-04-19 11:14:08.733 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-04-19 11:14:08.750 +0200 [debug] (iframe.js) Responding with contents of /template.html 2022-04-19 11:14:08.753 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire"}}} 2022-04-19 11:14:08.753 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-04-19 11:14:08.764 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire"}}} 2022-04-19 11:14:08.764 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-04-19 11:14:08.767 +0200 [debug] (iframe.js) Responding with contents of /app.js 2022-04-19 11:14:08.768 +0200 [debug] (coverage-util.js) Instrumenting /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/app/app.js 2022-04-19 11:14:08.905 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire"}}} 2022-04-19 11:14:08.906 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-04-19 11:14:11.025 +0200 [debug] (coverage-util.js) Writing coverage. 2022-04-19 11:14:14.301 +0200 [debug] (data-pipe.js) received call for route "proxy" with action "execute" and body {"action":"execute","data":{"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get"}} 2022-04-19 11:14:14.302 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire"}}} 2022-04-19 11:14:14.306 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire"}}} 2022-04-19 11:14:14.306 +0200 [debug] (proxy.js) Substituing Templates {"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get"} with {"iparam":{"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire"},"oauth_iparams":{}} 2022-04-19 11:14:14.307 +0200 [debug] (proxy.js) Parsed https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452 as {"protocol":"https:","slashes":true,"auth":null,"host":"virtualdropstudio.freshdesk.com","port":null,"hostname":"virtualdropstudio.freshdesk.com","hash":null,"search":null,"query":null,"pathname":"/api/v2/contacts/101026585452","path":"/api/v2/contacts/101026585452","href":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452"} 2022-04-19 11:14:14.309 +0200 [debug] (proxy.js) Checking if the request url is whitelisted in manifest 2022-04-19 11:14:14.309 +0200 [debug] (proxy.js) Matched "https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452" with https://virtualdropstudio.freshdesk.com 2022-04-19 11:14:14.310 +0200 [debug] (proxy.js) Making proxy call with options as {"headers":{"Content-Type":"application/json","Authorization":"Basic eXBsT0hra3gyejJhY1ZRS01DZGU6eA=="},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get","whitelistedDomains":["https://virtualdropstudio.freshdesk.com"],"maxAttempts":1,"retryDelay":0,"timeout":5000} 2022-04-19 11:14:14.525 +0200 [debug] (proxy.js) Proxy came back with error as null, body as "{\"active\":false,\"address\":null,\"description\":null,\"email\":\"loloic3@sfr.fr\",\"id\":1010265 2022-04-19 11:14:14.525 +0200 [debug] (proxy.js) Looking for "application/json" in application/json,application/xml,text/html,text/xml,application/jsonp,text/plain,application/javascript,application/vnd.api+json 2022-04-19 11:14:15.021 +0200 [debug] (coverage-util.js) Writing coverage. 2022-04-19 11:15:34.148 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire"}}} 2022-04-19 11:15:34.149 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-04-19 11:15:34.182 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire"}}} 2022-04-19 11:15:39.228 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire"}}} 2022-04-19 11:15:40.827 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaires"}}} 2022-04-19 11:16:01.529 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaires"}}} 2022-04-19 11:16:01.529 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaires"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-04-19 11:16:01.536 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaires"}}} 2022-04-19 11:16:01.536 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaires"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-04-19 11:16:01.561 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaires"}}} 2022-04-19 11:16:01.561 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaires"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-04-19 11:16:01.569 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaires"}}} 2022-04-19 11:16:01.570 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaires"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-04-19 11:16:01.585 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaires"}}} 2022-04-19 11:16:01.585 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaires"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-04-19 11:16:01.586 +0200 [debug] (iframe.js) Responding with contents of /template.html 2022-04-19 11:16:01.596 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaires"}}} 2022-04-19 11:16:01.596 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaires"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-04-19 11:16:01.598 +0200 [debug] (iframe.js) Responding with contents of /app.js 2022-04-19 11:16:01.606 +0200 [debug] (coverage-util.js) Instrumenting /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/app/app.js 2022-04-19 11:16:01.689 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaires"}}} 2022-04-19 11:16:01.689 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaires"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-04-19 11:16:03.854 +0200 [debug] (coverage-util.js) Writing coverage. 2022-04-19 11:16:12.299 +0200 [debug] (data-pipe.js) received call for route "proxy" with action "execute" and body {"action":"execute","data":{"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get"}} 2022-04-19 11:16:12.299 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaires"}}} 2022-04-19 11:16:12.300 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaires"}}} 2022-04-19 11:16:12.300 +0200 [debug] (proxy.js) Substituing Templates {"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get"} with {"iparam":{"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaires"},"oauth_iparams":{}} 2022-04-19 11:16:12.301 +0200 [debug] (proxy.js) Parsed https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452 as {"protocol":"https:","slashes":true,"auth":null,"host":"virtualdropstudio.freshdesk.com","port":null,"hostname":"virtualdropstudio.freshdesk.com","hash":null,"search":null,"query":null,"pathname":"/api/v2/contacts/101026585452","path":"/api/v2/contacts/101026585452","href":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452"} 2022-04-19 11:16:12.301 +0200 [debug] (proxy.js) Checking if the request url is whitelisted in manifest 2022-04-19 11:16:12.301 +0200 [debug] (proxy.js) Matched "https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452" with https://virtualdropstudio.freshdesk.com 2022-04-19 11:16:12.301 +0200 [debug] (proxy.js) Making proxy call with options as {"headers":{"Content-Type":"application/json","Authorization":"Basic eXBsT0hra3gyejJhY1ZRS01DZGU6eA=="},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get","whitelistedDomains":["https://virtualdropstudio.freshdesk.com"],"maxAttempts":1,"retryDelay":0,"timeout":5000} 2022-04-19 11:16:12.495 +0200 [debug] (proxy.js) Proxy came back with error as null, body as "{\"active\":false,\"address\":null,\"description\":null,\"email\":\"loloic3@sfr.fr\",\"id\":1010265 2022-04-19 11:16:12.496 +0200 [debug] (proxy.js) Looking for "application/json" in application/json,application/xml,text/html,text/xml,application/jsonp,text/plain,application/javascript,application/vnd.api+json 2022-04-19 11:16:13.863 +0200 [debug] (coverage-util.js) Writing coverage. 2022-04-19 11:16:51.287 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaires"}}} 2022-04-19 11:16:51.287 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaires"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-04-19 11:16:51.294 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaires"}}} 2022-04-19 11:16:51.294 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaires"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-04-19 11:16:51.312 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaires"}}} 2022-04-19 11:16:51.312 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaires"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-04-19 11:16:51.320 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaires"}}} 2022-04-19 11:16:51.320 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaires"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-04-19 11:16:51.336 +0200 [debug] (iframe.js) Responding with contents of /template.html 2022-04-19 11:16:51.338 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaires"}}} 2022-04-19 11:16:51.339 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaires"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-04-19 11:16:51.346 +0200 [debug] (iframe.js) Responding with contents of /app.js 2022-04-19 11:16:51.346 +0200 [debug] (coverage-util.js) Instrumenting /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/app/app.js 2022-04-19 11:16:51.410 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaires"}}} 2022-04-19 11:16:51.411 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaires"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-04-19 11:16:51.417 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaires"}}} 2022-04-19 11:16:51.417 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaires"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-04-19 11:16:53.431 +0200 [debug] (coverage-util.js) Writing coverage. 2022-04-19 11:16:55.114 +0200 [debug] (data-pipe.js) received call for route "proxy" with action "execute" and body {"action":"execute","data":{"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get"}} 2022-04-19 11:16:55.114 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaires"}}} 2022-04-19 11:16:55.115 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaires"}}} 2022-04-19 11:16:55.115 +0200 [debug] (proxy.js) Substituing Templates {"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get"} with {"iparam":{"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaires"},"oauth_iparams":{}} 2022-04-19 11:16:55.116 +0200 [debug] (proxy.js) Parsed https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452 as {"protocol":"https:","slashes":true,"auth":null,"host":"virtualdropstudio.freshdesk.com","port":null,"hostname":"virtualdropstudio.freshdesk.com","hash":null,"search":null,"query":null,"pathname":"/api/v2/contacts/101026585452","path":"/api/v2/contacts/101026585452","href":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452"} 2022-04-19 11:16:55.116 +0200 [debug] (proxy.js) Checking if the request url is whitelisted in manifest 2022-04-19 11:16:55.116 +0200 [debug] (proxy.js) Matched "https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452" with https://virtualdropstudio.freshdesk.com 2022-04-19 11:16:55.116 +0200 [debug] (proxy.js) Making proxy call with options as {"headers":{"Content-Type":"application/json","Authorization":"Basic eXBsT0hra3gyejJhY1ZRS01DZGU6eA=="},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get","whitelistedDomains":["https://virtualdropstudio.freshdesk.com"],"maxAttempts":1,"retryDelay":0,"timeout":5000} 2022-04-19 11:16:55.307 +0200 [debug] (proxy.js) Proxy came back with error as null, body as "{\"active\":false,\"address\":null,\"description\":null,\"email\":\"loloic3@sfr.fr\",\"id\":1010265 2022-04-19 11:16:55.307 +0200 [debug] (proxy.js) Looking for "application/json" in application/json,application/xml,text/html,text/xml,application/jsonp,text/plain,application/javascript,application/vnd.api+json 2022-04-19 11:16:55.425 +0200 [debug] (coverage-util.js) Writing coverage. 2022-04-19 11:18:26.395 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaires"}}} 2022-04-19 11:18:26.395 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaires"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-04-19 11:18:26.423 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaires"}}} 2022-04-19 11:18:29.737 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaires"}}} 2022-04-19 11:21:21.442 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire"}}} 2022-04-19 11:47:32.368 +0200 [info] NOTE: We recommend a coverage of 80% for apps that are to be published in the public marketplace. 2022-04-19 11:47:44.232 +0200 [debug] (logger.js) Starting FDK in node v12.22.7 on linux 2022-04-19 11:47:44.808 +0200 [debug] (sequelize.js) setting up sqilite at "/home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/.fdk/store.sqlite" 2022-04-19 11:47:45.762 +0200 [debug] (index.js) Running with args {"cmd":"validate","gopts":{},"opts":{},"goptArg":{},"optArg":{},"args":[]} 2022-04-19 11:47:45.763 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.0.1","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.0","url":"https://dl.freshdev.io/cli-addon/addon-1.10.0.zip"}},"last_updated":{"time_stamp":1650358927209}} 2022-04-19 11:47:45.763 +0200 [debug] (updater.js) last check less than an day ago, not looking for updates 2022-04-19 11:47:45.776 +0200 [debug] (manifest.js) Reloading manifest with {"platform-version":"2.2","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"whitelisted-domains":["https://<%= iparam.freshdesk_domain %>.freshdesk.com"],"engines":{"node":"12.22.7","fdk":"7.1.0"}}. 2022-04-19 11:47:45.776 +0200 [debug] (manifest.js) Inferred db as features. 2022-04-19 11:47:45.777 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.0.1","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.0","url":"https://dl.freshdev.io/cli-addon/addon-1.10.0.zip"}},"last_updated":{"time_stamp":1650358927209}} 2022-04-19 11:47:46.789 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.0.1","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.0","url":"https://dl.freshdev.io/cli-addon/addon-1.10.0.zip"}},"last_updated":{"time_stamp":1650358927209}} 2022-04-19 11:47:49.374 +0200 [debug] (validate.js) asked to skip the following validations,  2022-04-19 11:47:49.374 +0200 [debug] (validate.js) running validator actions 2022-04-19 11:47:49.375 +0200 [debug] (validate.js) running validator app-dir 2022-04-19 11:47:49.375 +0200 [debug] (validate.js) running validator config-dir 2022-04-19 11:47:49.376 +0200 [debug] (config-dir.js) Checking to see if /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/config/ exists. 2022-04-19 11:47:49.376 +0200 [debug] (config-dir.js) Fetched the following config files iparams.json 2022-04-19 11:47:49.376 +0200 [debug] (validate.js) running validator custom-objects 2022-04-19 11:47:49.376 +0200 [debug] (validate.js) running validator event 2022-04-19 11:47:49.376 +0200 [debug] (validate.js) running validator iparam 2022-04-19 11:47:49.378 +0200 [debug] (validate.js) running validator lint 2022-04-19 11:47:49.379 +0200 [debug] (lint.js) passed fix flag: false 2022-04-19 11:47:49.381 +0200 [debug] (lint-util.js) Running the following lints on the file app/app.js : no-caller,no-process-env,complexity,max-nested-callbacks,handle-callback-err,no-eval,no-alert,no-debugger,no-unreachable,no-unlisted-url,no-unhandled-promise,no-logging-rejections,no-non-client-request-model,no-cross-scope-assign,no-empty-function,no-unused-vars 2022-04-19 11:47:49.533 +0200 [debug] (validate.js) running validator manifest 2022-04-19 11:47:49.533 +0200 [debug] (manifest.js) running manifest validation with type pre_pkg_validation 2022-04-19 11:47:49.533 +0200 [debug] (validate.js) running validator manifest-dependency 2022-04-19 11:47:49.533 +0200 [debug] (validate.js) running validator oauth 2022-04-19 11:47:49.533 +0200 [debug] (validate.js) skipping validator pkgsize 2022-04-19 11:47:49.534 +0200 [debug] (validate.js) skipping validator schema 2022-04-19 11:47:49.534 +0200 [debug] (validate.js) running validator version-check 2022-04-19 11:47:49.536 +0200 [warn] Please ensure that the following are addressed for quick review process. 2022-04-19 11:47:49.537 +0200 [warn] [WARN] app/app.js::12: Expected rejection to be handled. 2022-04-19 11:47:49.537 +0200 [warn] [WARN] app/app.js::35: Expected rejection to be handled. 2022-04-19 11:47:49.538 +0200 [error] 2022-04-19 11:47:49.538 +0200 [info] Validation Successful 2022-04-19 11:48:19.692 +0200 [debug] (logger.js) Starting FDK in node v12.22.7 on linux 2022-04-19 11:48:20.269 +0200 [debug] (sequelize.js) setting up sqilite at "/home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/.fdk/store.sqlite" 2022-04-19 11:48:21.221 +0200 [debug] (index.js) Running with args {"cmd":"pack","gopts":{},"opts":{},"goptArg":{},"optArg":{},"args":[]} 2022-04-19 11:48:21.222 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.0.1","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.0","url":"https://dl.freshdev.io/cli-addon/addon-1.10.0.zip"}},"last_updated":{"time_stamp":1650358927209}} 2022-04-19 11:48:21.222 +0200 [debug] (updater.js) last check less than an day ago, not looking for updates 2022-04-19 11:48:21.837 +0200 [debug] (manifest.js) Reloading manifest with {"platform-version":"2.2","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"whitelisted-domains":["https://<%= iparam.freshdesk_domain %>.freshdesk.com"],"engines":{"node":"12.22.7","fdk":"7.1.0"}}. 2022-04-19 11:48:21.837 +0200 [debug] (manifest.js) Inferred db as features. 2022-04-19 11:48:21.838 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.0.1","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.0","url":"https://dl.freshdev.io/cli-addon/addon-1.10.0.zip"}},"last_updated":{"time_stamp":1650358927209}} 2022-04-19 11:48:22.843 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.0.1","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.0","url":"https://dl.freshdev.io/cli-addon/addon-1.10.0.zip"}},"last_updated":{"time_stamp":1650358927209}} 2022-04-19 11:48:25.446 +0200 [debug] (pack.js) 'pack' called with {} 2022-04-19 11:48:25.447 +0200 [debug] (validate.js) asked to skip the following validations,  2022-04-19 11:48:25.447 +0200 [debug] (validate.js) running validator actions 2022-04-19 11:48:25.447 +0200 [debug] (validate.js) running validator app-dir 2022-04-19 11:48:25.448 +0200 [debug] (validate.js) running validator config-dir 2022-04-19 11:48:25.448 +0200 [debug] (config-dir.js) Checking to see if /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/config/ exists. 2022-04-19 11:48:25.448 +0200 [debug] (config-dir.js) Fetched the following config files iparams.json 2022-04-19 11:48:25.448 +0200 [debug] (validate.js) running validator custom-objects 2022-04-19 11:48:25.449 +0200 [debug] (validate.js) running validator event 2022-04-19 11:48:25.449 +0200 [debug] (validate.js) running validator iparam 2022-04-19 11:48:25.451 +0200 [debug] (validate.js) running validator lint 2022-04-19 11:48:25.451 +0200 [debug] (lint.js) passed fix flag: undefined 2022-04-19 11:48:25.452 +0200 [debug] (lint-util.js) Running the following lints on the file app/app.js : no-caller,no-process-env,complexity,max-nested-callbacks,handle-callback-err,no-eval,no-alert,no-debugger,no-unreachable,no-unlisted-url,no-unhandled-promise,no-logging-rejections,no-non-client-request-model,no-cross-scope-assign,no-empty-function,no-unused-vars 2022-04-19 11:48:25.497 +0200 [debug] (validate.js) running validator manifest 2022-04-19 11:48:25.497 +0200 [debug] (manifest.js) running manifest validation with type pre_pkg_validation 2022-04-19 11:48:25.497 +0200 [debug] (validate.js) running validator manifest-dependency 2022-04-19 11:48:25.497 +0200 [debug] (validate.js) running validator oauth 2022-04-19 11:48:25.498 +0200 [debug] (validate.js) skipping validator pkgsize 2022-04-19 11:48:25.498 +0200 [debug] (validate.js) skipping validator schema 2022-04-19 11:48:25.498 +0200 [debug] (validate.js) running validator version-check 2022-04-19 11:48:25.501 +0200 [warn] Please ensure that the following are addressed for quick review process. 2022-04-19 11:48:25.501 +0200 [warn] [WARN] app/app.js::12: Expected rejection to be handled. 2022-04-19 11:48:25.502 +0200 [warn] [WARN] app/app.js::35: Expected rejection to be handled. 2022-04-19 11:48:25.502 +0200 [error] 2022-04-19 11:48:25.503 +0200 [info] App being packed in Node v12.22.7 using FDK 7.4.0 2022-04-19 11:48:25.511 +0200 [debug] (pack.js) Cannot find './src' directory while packing. 2022-04-19 11:48:25.511 +0200 [debug] (pack.js) Cannot find './server' directory while packing. 2022-04-19 11:48:25.514 +0200 [debug] (file-util.js) Computing digest for app/app.js,app/template.html,manifest.json. 2022-04-19 11:48:25.516 +0200 [debug] (pack.js) Packing ./app/app.js 2022-04-19 11:48:25.517 +0200 [debug] (pack.js) Packing ./app/template.html 2022-04-19 11:48:25.517 +0200 [debug] (pack.js) Packing ./config/iparams.json 2022-04-19 11:48:25.517 +0200 [debug] (pack.js) Packing ./manifest.json 2022-04-19 11:48:25.518 +0200 [debug] (pack.js) Packing ./.report.json 2022-04-19 11:48:25.518 +0200 [debug] (pack.js) Packing ./README.md 2022-04-19 11:48:25.518 +0200 [debug] (pack.js) Packing ./digest.md5 2022-04-19 11:48:25.554 +0200 [debug] (validate.js) asked to skip the following validations,  2022-04-19 11:48:25.554 +0200 [debug] (validate.js) skipping validator actions 2022-04-19 11:48:25.554 +0200 [debug] (validate.js) skipping validator app-dir 2022-04-19 11:48:25.554 +0200 [debug] (validate.js) skipping validator config-dir 2022-04-19 11:48:25.555 +0200 [debug] (validate.js) skipping validator custom-objects 2022-04-19 11:48:25.555 +0200 [debug] (validate.js) skipping validator event 2022-04-19 11:48:25.555 +0200 [debug] (validate.js) skipping validator iparam 2022-04-19 11:48:25.555 +0200 [debug] (validate.js) skipping validator lint 2022-04-19 11:48:25.555 +0200 [debug] (validate.js) skipping validator manifest 2022-04-19 11:48:25.555 +0200 [debug] (validate.js) skipping validator manifest-dependency 2022-04-19 11:48:25.555 +0200 [debug] (validate.js) skipping validator oauth 2022-04-19 11:48:25.555 +0200 [debug] (validate.js) running validator pkgsize 2022-04-19 11:48:25.555 +0200 [debug] (validate.js) skipping validator schema 2022-04-19 11:48:25.555 +0200 [debug] (validate.js) skipping validator version-check 2022-04-19 11:48:25.556 +0200 [info] App packed successfully at /dist/tickets_close_interceptor.zip 2022-04-19 11:48:25.557 +0200 [info] Upload this file to the marketplace by following the instructions at https://developer.freshdesk.com/v2/docs/freshdesk-apps/ 2022-04-19 11:48:25.557 +0200 [debug] (file-util.js) Deleting digest. 2022-05-09 20:43:02.795 +0200 [debug] (logger.js) Starting FDK in node v12.22.7 on linux 2022-05-09 20:43:25.649 +0200 [debug] (sequelize.js) setting up sqilite at "/home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/.fdk/store.sqlite" 2022-05-09 20:43:29.314 +0200 [debug] (index.js) Running with args {"cmd":"run","gopts":{},"opts":{},"goptArg":{},"optArg":{},"args":[]} 2022-05-09 20:43:29.325 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.0.1","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.0","url":"https://dl.freshdev.io/cli-addon/addon-1.10.0.zip"}},"last_updated":{"time_stamp":1650358927209}} 2022-05-09 20:43:29.326 +0200 [debug] (updater.js) last check more than an day ago, looking for updates again 2022-05-09 20:43:29.595 +0200 [debug] (updater.js) downloaded update manifest as {"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.2.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":"For Freshservice, you can now build apps that use Entity Storage - Custom Objects. For more information, check out the documentation at https://developers.freshservice.com/docs/entity-storage-custom-objects/. For a demonstration of this feature, check out the sample apps at https://github.com/freshworks-developers/custom-objects-samples."}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}} 2022-05-09 20:43:29.597 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.0.1","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.0","url":"https://dl.freshdev.io/cli-addon/addon-1.10.0.zip"}},"last_updated":{"time_stamp":1650358927209}} 2022-05-09 20:43:32.875 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.0.1","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.0","url":"https://dl.freshdev.io/cli-addon/addon-1.10.0.zip"}},"last_updated":{"time_stamp":1650358927209}} 2022-05-09 20:43:32.896 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.2.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":"For Freshservice, you can now build apps that use Entity Storage - Custom Objects. For more information, check out the documentation at https://developers.freshservice.com/docs/entity-storage-custom-objects/. For a demonstration of this feature, check out the sample apps at https://github.com/freshworks-developers/custom-objects-samples."}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1650358927209}} 2022-05-09 20:43:32.916 +0200 [warn] [WARN] This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433. 2022-05-09 20:43:37.079 +0200 [debug] (manifest.js) Reloading manifest with {"platform-version":"2.2","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"whitelisted-domains":["https://<%= iparam.freshdesk_domain %>.freshdesk.com"],"engines":{"node":"12.22.7","fdk":"7.1.0"}}. 2022-05-09 20:43:37.083 +0200 [debug] (manifest.js) Inferred db as features. 2022-05-09 20:43:37.174 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.2.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":"For Freshservice, you can now build apps that use Entity Storage - Custom Objects. For more information, check out the documentation at https://developers.freshservice.com/docs/entity-storage-custom-objects/. For a demonstration of this feature, check out the sample apps at https://github.com/freshworks-developers/custom-objects-samples."}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1652121812879}} 2022-05-09 20:43:37.546 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.2.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":"For Freshservice, you can now build apps that use Entity Storage - Custom Objects. For more information, check out the documentation at https://developers.freshservice.com/docs/entity-storage-custom-objects/. For a demonstration of this feature, check out the sample apps at https://github.com/freshworks-developers/custom-objects-samples."}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1652121812879}} 2022-05-09 20:44:09.759 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.2.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":"For Freshservice, you can now build apps that use Entity Storage - Custom Objects. For more information, check out the documentation at https://developers.freshservice.com/docs/entity-storage-custom-objects/. For a demonstration of this feature, check out the sample apps at https://github.com/freshworks-developers/custom-objects-samples."}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1652121812879}} 2022-05-09 20:44:28.817 +0200 [debug] (validate.js) asked to skip the following validations,  2022-05-09 20:44:28.818 +0200 [debug] (validate.js) running validator actions 2022-05-09 20:44:28.819 +0200 [debug] (validate.js) running validator app-dir 2022-05-09 20:44:28.822 +0200 [debug] (validate.js) running validator config-dir 2022-05-09 20:44:28.823 +0200 [debug] (config-dir.js) Checking to see if /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/config/ exists. 2022-05-09 20:44:28.824 +0200 [debug] (config-dir.js) Fetched the following config files iparams.json 2022-05-09 20:44:28.825 +0200 [debug] (validate.js) running validator custom-objects 2022-05-09 20:44:28.826 +0200 [debug] (validate.js) running validator event 2022-05-09 20:44:28.827 +0200 [debug] (validate.js) running validator iparam 2022-05-09 20:44:28.836 +0200 [debug] (validate.js) skipping validator lint 2022-05-09 20:44:28.836 +0200 [debug] (validate.js) running validator manifest 2022-05-09 20:44:28.837 +0200 [debug] (manifest.js) running manifest validation with type run_validation 2022-05-09 20:44:28.838 +0200 [debug] (validate.js) skipping validator manifest-dependency 2022-05-09 20:44:28.838 +0200 [debug] (validate.js) running validator oauth 2022-05-09 20:44:28.838 +0200 [debug] (validate.js) skipping validator pkgsize 2022-05-09 20:44:28.839 +0200 [debug] (validate.js) running validator schema 2022-05-09 20:44:28.839 +0200 [debug] (validate.js) running validator version-check 2022-05-09 20:44:28.848 +0200 [debug] (watcher.js) Preparing to watch the following files ./app,./config,./manifest.json 2022-05-09 20:44:28.868 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire"}}} 2022-05-09 20:44:28.869 +0200 [debug] (custom-objects.js) to force or not? false 2022-05-09 20:44:28.869 +0200 [debug] (custom-objects.js) beginning to re-sync db 2022-05-09 20:44:29.682 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/bigint-pivot.js" 2022-05-09 20:44:29.714 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field-choice.js" 2022-05-09 20:44:29.730 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field.js" 2022-05-09 20:44:29.747 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity.js" 2022-05-09 20:44:29.763 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/record.js" 2022-05-09 20:44:29.779 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/string-pivot.js" 2022-05-09 20:44:29.851 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire"}}} 2022-05-09 20:44:29.854 +0200 [debug] (custom-objects.js) updated local store with latest entity hash 2022-05-09 20:44:29.862 +0200 [info] Starting local testing server at http://*:10001/ Append 'dev=true' to your Freshdesk account URL to start testing e.g. https://domain.freshdesk.com/a/tickets/1?dev=true Quit the server with Control-C. 2022-05-09 20:44:29.864 +0200 [info] To test the installation page, visit - http://localhost:10001/custom_configs 2022-05-09 20:45:04.820 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire"}}} 2022-05-09 20:46:44.264 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire"}}} 2022-05-09 20:46:44.266 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-09 20:46:44.275 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire"}}} 2022-05-09 20:46:44.276 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-09 20:46:44.303 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire"}}} 2022-05-09 20:46:44.303 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-09 20:46:44.314 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire"}}} 2022-05-09 20:46:44.315 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-09 20:46:44.356 +0200 [debug] (iframe.js) Responding with contents of /template.html 2022-05-09 20:46:44.369 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire"}}} 2022-05-09 20:46:44.372 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-09 20:46:44.390 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire"}}} 2022-05-09 20:46:44.391 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-09 20:46:44.404 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire"}}} 2022-05-09 20:46:44.404 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-09 20:46:44.491 +0200 [debug] (iframe.js) Responding with contents of /app.js 2022-05-09 20:46:44.510 +0200 [debug] (coverage-util.js) Instrumenting /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/app/app.js 2022-05-09 20:46:47.280 +0200 [debug] (coverage-util.js) Writing coverage. 2022-05-09 20:47:14.943 +0200 [debug] (coverage-util.js) Writing coverage. 2022-05-09 20:47:14.966 +0200 [debug] (data-pipe.js) received call for route "proxy" with action "execute" and body {"action":"execute","data":{"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get"}} 2022-05-09 20:47:14.967 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire"}}} 2022-05-09 20:47:14.991 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire"}}} 2022-05-09 20:47:14.991 +0200 [debug] (proxy.js) Substituing Templates {"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get"} with {"iparam":{"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire"},"oauth_iparams":{}} 2022-05-09 20:47:14.995 +0200 [debug] (proxy.js) Parsed https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452 as {"protocol":"https:","slashes":true,"auth":null,"host":"virtualdropstudio.freshdesk.com","port":null,"hostname":"virtualdropstudio.freshdesk.com","hash":null,"search":null,"query":null,"pathname":"/api/v2/contacts/101026585452","path":"/api/v2/contacts/101026585452","href":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452"} 2022-05-09 20:47:15.001 +0200 [debug] (proxy.js) Checking if the request url is whitelisted in manifest 2022-05-09 20:47:15.001 +0200 [debug] (proxy.js) Matched "https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452" with https://virtualdropstudio.freshdesk.com 2022-05-09 20:47:15.002 +0200 [debug] (proxy.js) Making proxy call with options as {"headers":{"Content-Type":"application/json","Authorization":"Basic eXBsT0hra3gyejJhY1ZRS01DZGU6eA=="},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get","whitelistedDomains":["https://virtualdropstudio.freshdesk.com"],"maxAttempts":1,"retryDelay":0,"timeout":5000} 2022-05-09 20:47:15.301 +0200 [debug] (proxy.js) Proxy came back with error as null, body as "{\"active\":false,\"address\":null,\"description\":null,\"email\":\"loloic3@sfr.fr\",\"id\":1010265 2022-05-09 20:47:15.302 +0200 [debug] (proxy.js) Looking for "application/json" in application/json,application/xml,text/html,text/xml,application/jsonp,text/plain,application/javascript,application/vnd.api+json 2022-05-09 20:47:16.956 +0200 [debug] (coverage-util.js) Writing coverage. 2022-05-09 20:47:50.945 +0200 [debug] (coverage-util.js) Writing coverage. 2022-05-09 20:48:51.789 +0200 [info] Please find the detailed coverage report at /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/coverage/index.html 2022-05-09 20:48:55.799 +0200 [debug] (logger.js) Starting FDK in node v12.22.7 on linux 2022-05-09 20:48:57.302 +0200 [debug] (sequelize.js) setting up sqilite at "/home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/.fdk/store.sqlite" 2022-05-09 20:48:58.678 +0200 [debug] (index.js) Running with args {"cmd":"run","gopts":{},"opts":{},"goptArg":{},"optArg":{},"args":[]} 2022-05-09 20:48:58.681 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.2.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":"For Freshservice, you can now build apps that use Entity Storage - Custom Objects. For more information, check out the documentation at https://developers.freshservice.com/docs/entity-storage-custom-objects/. For a demonstration of this feature, check out the sample apps at https://github.com/freshworks-developers/custom-objects-samples."}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1652121812879}} 2022-05-09 20:48:58.681 +0200 [debug] (updater.js) last check less than an day ago, not looking for updates 2022-05-09 20:48:59.270 +0200 [debug] (manifest.js) Reloading manifest with {"platform-version":"2.2","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"whitelisted-domains":["https://<%= iparam.freshdesk_domain %>.freshdesk.com"],"engines":{"node":"12.22.7","fdk":"7.1.0"}}. 2022-05-09 20:48:59.271 +0200 [debug] (manifest.js) Inferred db as features. 2022-05-09 20:48:59.275 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.2.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":"For Freshservice, you can now build apps that use Entity Storage - Custom Objects. For more information, check out the documentation at https://developers.freshservice.com/docs/entity-storage-custom-objects/. For a demonstration of this feature, check out the sample apps at https://github.com/freshworks-developers/custom-objects-samples."}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1652121812879}} 2022-05-09 20:48:59.308 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.2.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":"For Freshservice, you can now build apps that use Entity Storage - Custom Objects. For more information, check out the documentation at https://developers.freshservice.com/docs/entity-storage-custom-objects/. For a demonstration of this feature, check out the sample apps at https://github.com/freshworks-developers/custom-objects-samples."}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1652121812879}} 2022-05-09 20:49:02.443 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.2.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":"For Freshservice, you can now build apps that use Entity Storage - Custom Objects. For more information, check out the documentation at https://developers.freshservice.com/docs/entity-storage-custom-objects/. For a demonstration of this feature, check out the sample apps at https://github.com/freshworks-developers/custom-objects-samples."}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1652121812879}} 2022-05-09 20:49:07.054 +0200 [debug] (validate.js) asked to skip the following validations,  2022-05-09 20:49:07.055 +0200 [debug] (validate.js) running validator actions 2022-05-09 20:49:07.056 +0200 [debug] (validate.js) running validator app-dir 2022-05-09 20:49:07.058 +0200 [debug] (validate.js) running validator config-dir 2022-05-09 20:49:07.058 +0200 [debug] (config-dir.js) Checking to see if /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/config/ exists. 2022-05-09 20:49:07.059 +0200 [debug] (config-dir.js) Fetched the following config files iparams.json 2022-05-09 20:49:07.059 +0200 [debug] (validate.js) running validator custom-objects 2022-05-09 20:49:07.060 +0200 [debug] (validate.js) running validator event 2022-05-09 20:49:07.060 +0200 [debug] (validate.js) running validator iparam 2022-05-09 20:49:07.067 +0200 [debug] (validate.js) skipping validator lint 2022-05-09 20:49:07.067 +0200 [debug] (validate.js) running validator manifest 2022-05-09 20:49:07.067 +0200 [debug] (manifest.js) running manifest validation with type run_validation 2022-05-09 20:49:07.068 +0200 [debug] (validate.js) skipping validator manifest-dependency 2022-05-09 20:49:07.068 +0200 [debug] (validate.js) running validator oauth 2022-05-09 20:49:07.068 +0200 [debug] (validate.js) skipping validator pkgsize 2022-05-09 20:49:07.068 +0200 [debug] (validate.js) running validator schema 2022-05-09 20:49:07.069 +0200 [debug] (validate.js) running validator version-check 2022-05-09 20:49:07.075 +0200 [debug] (watcher.js) Preparing to watch the following files ./app,./config,./manifest.json 2022-05-09 20:49:07.117 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire"}}} 2022-05-09 20:49:07.118 +0200 [debug] (custom-objects.js) to force or not? false 2022-05-09 20:49:07.118 +0200 [debug] (custom-objects.js) beginning to re-sync db 2022-05-09 20:49:07.756 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/bigint-pivot.js" 2022-05-09 20:49:07.760 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field-choice.js" 2022-05-09 20:49:07.762 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field.js" 2022-05-09 20:49:07.765 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity.js" 2022-05-09 20:49:07.766 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/record.js" 2022-05-09 20:49:07.768 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/string-pivot.js" 2022-05-09 20:49:07.811 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire"}}} 2022-05-09 20:49:07.813 +0200 [debug] (custom-objects.js) updated local store with latest entity hash 2022-05-09 20:49:07.821 +0200 [info] Starting local testing server at http://*:10001/ Append 'dev=true' to your Freshdesk account URL to start testing e.g. https://domain.freshdesk.com/a/tickets/1?dev=true Quit the server with Control-C. 2022-05-09 20:49:07.823 +0200 [info] To test the installation page, visit - http://localhost:10001/custom_configs 2022-05-09 20:49:46.978 +0200 [debug] (data-pipe.js) received call for route "proxy" with action "execute" and body {"action":"execute","data":{"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get"}} 2022-05-09 20:49:46.982 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire"}}} 2022-05-09 20:49:46.990 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire"}}} 2022-05-09 20:49:46.991 +0200 [debug] (proxy.js) Substituing Templates {"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get"} with {"iparam":{"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire"},"oauth_iparams":{}} 2022-05-09 20:49:46.996 +0200 [debug] (proxy.js) Parsed https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452 as {"protocol":"https:","slashes":true,"auth":null,"host":"virtualdropstudio.freshdesk.com","port":null,"hostname":"virtualdropstudio.freshdesk.com","hash":null,"search":null,"query":null,"pathname":"/api/v2/contacts/101026585452","path":"/api/v2/contacts/101026585452","href":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452"} 2022-05-09 20:49:47.005 +0200 [debug] (proxy.js) Checking if the request url is whitelisted in manifest 2022-05-09 20:49:47.006 +0200 [debug] (proxy.js) Matched "https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452" with https://virtualdropstudio.freshdesk.com 2022-05-09 20:49:47.007 +0200 [debug] (proxy.js) Making proxy call with options as {"headers":{"Content-Type":"application/json","Authorization":"Basic eXBsT0hra3gyejJhY1ZRS01DZGU6eA=="},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get","whitelistedDomains":["https://virtualdropstudio.freshdesk.com"],"maxAttempts":1,"retryDelay":0,"timeout":5000} 2022-05-09 20:49:47.058 +0200 [debug] (coverage-util.js) Writing coverage. 2022-05-09 20:49:47.496 +0200 [debug] (proxy.js) Proxy came back with error as null, body as "{\"active\":false,\"address\":null,\"description\":null,\"email\":\"loloic3@sfr.fr\",\"id\":1010265 2022-05-09 20:49:47.497 +0200 [debug] (proxy.js) Looking for "application/json" in application/json,application/xml,text/html,text/xml,application/jsonp,text/plain,application/javascript,application/vnd.api+json 2022-05-09 20:49:48.948 +0200 [debug] (coverage-util.js) Writing coverage. 2022-05-09 20:50:22.960 +0200 [debug] (coverage-util.js) Writing coverage. 2022-05-09 20:51:44.016 +0200 [info] Please find the detailed coverage report at /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/coverage/index.html 2022-05-09 20:52:34.146 +0200 [debug] (logger.js) Starting FDK in node v12.22.7 on linux 2022-05-09 20:52:35.341 +0200 [debug] (sequelize.js) setting up sqilite at "/home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/.fdk/store.sqlite" 2022-05-09 20:52:36.586 +0200 [debug] (index.js) Running with args {"cmd":"run","gopts":{},"opts":{},"goptArg":{},"optArg":{},"args":[]} 2022-05-09 20:52:36.587 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.2.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":"For Freshservice, you can now build apps that use Entity Storage - Custom Objects. For more information, check out the documentation at https://developers.freshservice.com/docs/entity-storage-custom-objects/. For a demonstration of this feature, check out the sample apps at https://github.com/freshworks-developers/custom-objects-samples."}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1652121812879}} 2022-05-09 20:52:36.587 +0200 [debug] (updater.js) last check less than an day ago, not looking for updates 2022-05-09 20:52:37.067 +0200 [debug] (manifest.js) Reloading manifest with {"platform-version":"2.2","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"whitelisted-domains":["https://<%= iparam.freshdesk_domain %>.freshdesk.com"],"engines":{"node":"12.22.7","fdk":"7.1.0"}}. 2022-05-09 20:52:37.068 +0200 [debug] (manifest.js) Inferred db as features. 2022-05-09 20:52:37.073 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.2.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":"For Freshservice, you can now build apps that use Entity Storage - Custom Objects. For more information, check out the documentation at https://developers.freshservice.com/docs/entity-storage-custom-objects/. For a demonstration of this feature, check out the sample apps at https://github.com/freshworks-developers/custom-objects-samples."}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1652121812879}} 2022-05-09 20:52:37.101 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.2.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":"For Freshservice, you can now build apps that use Entity Storage - Custom Objects. For more information, check out the documentation at https://developers.freshservice.com/docs/entity-storage-custom-objects/. For a demonstration of this feature, check out the sample apps at https://github.com/freshworks-developers/custom-objects-samples."}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1652121812879}} 2022-05-09 20:52:40.337 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.2.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":"For Freshservice, you can now build apps that use Entity Storage - Custom Objects. For more information, check out the documentation at https://developers.freshservice.com/docs/entity-storage-custom-objects/. For a demonstration of this feature, check out the sample apps at https://github.com/freshworks-developers/custom-objects-samples."}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1652121812879}} 2022-05-09 20:52:44.907 +0200 [debug] (validate.js) asked to skip the following validations,  2022-05-09 20:52:44.908 +0200 [debug] (validate.js) running validator actions 2022-05-09 20:52:44.908 +0200 [debug] (validate.js) running validator app-dir 2022-05-09 20:52:44.910 +0200 [debug] (validate.js) running validator config-dir 2022-05-09 20:52:44.910 +0200 [debug] (config-dir.js) Checking to see if /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/config/ exists. 2022-05-09 20:52:44.911 +0200 [debug] (config-dir.js) Fetched the following config files iparams.json 2022-05-09 20:52:44.911 +0200 [debug] (validate.js) running validator custom-objects 2022-05-09 20:52:44.912 +0200 [debug] (validate.js) running validator event 2022-05-09 20:52:44.912 +0200 [debug] (validate.js) running validator iparam 2022-05-09 20:52:44.918 +0200 [debug] (validate.js) skipping validator lint 2022-05-09 20:52:44.918 +0200 [debug] (validate.js) running validator manifest 2022-05-09 20:52:44.919 +0200 [debug] (manifest.js) running manifest validation with type run_validation 2022-05-09 20:52:44.919 +0200 [debug] (validate.js) skipping validator manifest-dependency 2022-05-09 20:52:44.919 +0200 [debug] (validate.js) running validator oauth 2022-05-09 20:52:44.920 +0200 [debug] (validate.js) skipping validator pkgsize 2022-05-09 20:52:44.920 +0200 [debug] (validate.js) running validator schema 2022-05-09 20:52:44.920 +0200 [debug] (validate.js) running validator version-check 2022-05-09 20:52:44.927 +0200 [debug] (watcher.js) Preparing to watch the following files ./app,./config,./manifest.json 2022-05-09 20:52:44.935 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire"}}} 2022-05-09 20:52:44.935 +0200 [debug] (custom-objects.js) to force or not? false 2022-05-09 20:52:44.935 +0200 [debug] (custom-objects.js) beginning to re-sync db 2022-05-09 20:52:45.677 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/bigint-pivot.js" 2022-05-09 20:52:45.681 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field-choice.js" 2022-05-09 20:52:45.683 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field.js" 2022-05-09 20:52:45.686 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity.js" 2022-05-09 20:52:45.688 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/record.js" 2022-05-09 20:52:45.690 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/string-pivot.js" 2022-05-09 20:52:45.734 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire"}}} 2022-05-09 20:52:45.736 +0200 [debug] (custom-objects.js) updated local store with latest entity hash 2022-05-09 20:52:45.744 +0200 [info] Starting local testing server at http://*:10001/ Append 'dev=true' to your Freshdesk account URL to start testing e.g. https://domain.freshdesk.com/a/tickets/1?dev=true Quit the server with Control-C. 2022-05-09 20:52:45.745 +0200 [info] To test the installation page, visit - http://localhost:10001/custom_configs 2022-05-09 20:52:58.226 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire"}}} 2022-05-09 20:53:09.015 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire"}}} 2022-05-09 20:53:09.018 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-09 20:53:09.029 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire"}}} 2022-05-09 20:53:09.030 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-09 20:53:09.058 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire"}}} 2022-05-09 20:53:09.059 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-09 20:53:09.076 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire"}}} 2022-05-09 20:53:09.077 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-09 20:53:09.117 +0200 [debug] (iframe.js) Responding with contents of /template.html 2022-05-09 20:53:09.121 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire"}}} 2022-05-09 20:53:09.122 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-09 20:53:09.241 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire"}}} 2022-05-09 20:53:09.241 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-09 20:53:09.244 +0200 [debug] (iframe.js) Responding with contents of /app.js 2022-05-09 20:53:09.246 +0200 [debug] (coverage-util.js) Instrumenting /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/app/app.js 2022-05-09 20:53:09.532 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire"}}} 2022-05-09 20:53:09.533 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-09 20:53:11.652 +0200 [debug] (coverage-util.js) Writing coverage. 2022-05-09 21:10:39.640 +0200 [debug] (coverage-util.js) Writing coverage. 2022-05-09 21:10:45.415 +0200 [debug] (data-pipe.js) received call for route "proxy" with action "execute" and body {"action":"execute","data":{"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get"}} 2022-05-09 21:10:45.417 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire"}}} 2022-05-09 21:10:45.427 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire"}}} 2022-05-09 21:10:45.427 +0200 [debug] (proxy.js) Substituing Templates {"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get"} with {"iparam":{"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire"},"oauth_iparams":{}} 2022-05-09 21:10:45.432 +0200 [debug] (proxy.js) Parsed https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452 as {"protocol":"https:","slashes":true,"auth":null,"host":"virtualdropstudio.freshdesk.com","port":null,"hostname":"virtualdropstudio.freshdesk.com","hash":null,"search":null,"query":null,"pathname":"/api/v2/contacts/101026585452","path":"/api/v2/contacts/101026585452","href":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452"} 2022-05-09 21:10:45.444 +0200 [debug] (proxy.js) Checking if the request url is whitelisted in manifest 2022-05-09 21:10:45.444 +0200 [debug] (proxy.js) Matched "https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452" with https://virtualdropstudio.freshdesk.com 2022-05-09 21:10:45.445 +0200 [debug] (proxy.js) Making proxy call with options as {"headers":{"Content-Type":"application/json","Authorization":"Basic eXBsT0hra3gyejJhY1ZRS01DZGU6eA=="},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get","whitelistedDomains":["https://virtualdropstudio.freshdesk.com"],"maxAttempts":1,"retryDelay":0,"timeout":5000} 2022-05-09 21:10:45.625 +0200 [debug] (coverage-util.js) Writing coverage. 2022-05-09 21:10:45.984 +0200 [debug] (proxy.js) Proxy came back with error as null, body as "{\"active\":false,\"address\":null,\"description\":null,\"email\":\"loloic3@sfr.fr\",\"id\":1010265 2022-05-09 21:10:45.985 +0200 [debug] (proxy.js) Looking for "application/json" in application/json,application/xml,text/html,text/xml,application/jsonp,text/plain,application/javascript,application/vnd.api+json 2022-05-09 21:10:47.625 +0200 [debug] (coverage-util.js) Writing coverage. 2022-05-09 21:12:48.438 +0200 [debug] (data-pipe.js) received call for route "proxy" with action "execute" and body {"action":"execute","data":{"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get"}} 2022-05-09 21:12:48.439 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire"}}} 2022-05-09 21:12:48.440 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire"}}} 2022-05-09 21:12:48.440 +0200 [debug] (proxy.js) Substituing Templates {"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get"} with {"iparam":{"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire"},"oauth_iparams":{}} 2022-05-09 21:12:48.442 +0200 [debug] (proxy.js) Parsed https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452 as {"protocol":"https:","slashes":true,"auth":null,"host":"virtualdropstudio.freshdesk.com","port":null,"hostname":"virtualdropstudio.freshdesk.com","hash":null,"search":null,"query":null,"pathname":"/api/v2/contacts/101026585452","path":"/api/v2/contacts/101026585452","href":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452"} 2022-05-09 21:12:48.442 +0200 [debug] (proxy.js) Checking if the request url is whitelisted in manifest 2022-05-09 21:12:48.442 +0200 [debug] (proxy.js) Matched "https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452" with https://virtualdropstudio.freshdesk.com 2022-05-09 21:12:48.443 +0200 [debug] (proxy.js) Making proxy call with options as {"headers":{"Content-Type":"application/json","Authorization":"Basic eXBsT0hra3gyejJhY1ZRS01DZGU6eA=="},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get","whitelistedDomains":["https://virtualdropstudio.freshdesk.com"],"maxAttempts":1,"retryDelay":0,"timeout":5000} 2022-05-09 21:12:48.808 +0200 [debug] (proxy.js) Proxy came back with error as null, body as "{\"active\":false,\"address\":null,\"description\":null,\"email\":\"loloic3@sfr.fr\",\"id\":1010265 2022-05-09 21:12:48.809 +0200 [debug] (proxy.js) Looking for "application/json" in application/json,application/xml,text/html,text/xml,application/jsonp,text/plain,application/javascript,application/vnd.api+json 2022-05-09 21:12:49.626 +0200 [debug] (coverage-util.js) Writing coverage. 2022-05-09 21:17:02.982 +0200 [info] Please find the detailed coverage report at /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/coverage/index.html 2022-05-10 01:27:30.511 +0200 [debug] (logger.js) Starting FDK in node v12.22.7 on linux 2022-05-10 01:27:31.173 +0200 [debug] (sequelize.js) setting up sqilite at "/home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/.fdk/store.sqlite" 2022-05-10 01:27:32.074 +0200 [debug] (index.js) Running with args {"cmd":"run","gopts":{},"opts":{},"goptArg":{},"optArg":{},"args":[]} 2022-05-10 01:27:32.074 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.2.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":"For Freshservice, you can now build apps that use Entity Storage - Custom Objects. For more information, check out the documentation at https://developers.freshservice.com/docs/entity-storage-custom-objects/. For a demonstration of this feature, check out the sample apps at https://github.com/freshworks-developers/custom-objects-samples."}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1652121812879}} 2022-05-10 01:27:32.074 +0200 [debug] (updater.js) last check less than an day ago, not looking for updates 2022-05-10 01:27:32.274 +0200 [debug] (manifest.js) Reloading manifest with {"platform-version":"2.2","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"whitelisted-domains":["https://<%= iparam.freshdesk_domain %>.freshdesk.com"],"engines":{"node":"12.22.7","fdk":"7.1.0"}}. 2022-05-10 01:27:32.275 +0200 [debug] (manifest.js) Inferred db as features. 2022-05-10 01:27:32.276 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.2.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":"For Freshservice, you can now build apps that use Entity Storage - Custom Objects. For more information, check out the documentation at https://developers.freshservice.com/docs/entity-storage-custom-objects/. For a demonstration of this feature, check out the sample apps at https://github.com/freshworks-developers/custom-objects-samples."}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1652121812879}} 2022-05-10 01:27:32.287 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.2.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":"For Freshservice, you can now build apps that use Entity Storage - Custom Objects. For more information, check out the documentation at https://developers.freshservice.com/docs/entity-storage-custom-objects/. For a demonstration of this feature, check out the sample apps at https://github.com/freshworks-developers/custom-objects-samples."}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1652121812879}} 2022-05-10 01:27:33.351 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.2.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":"For Freshservice, you can now build apps that use Entity Storage - Custom Objects. For more information, check out the documentation at https://developers.freshservice.com/docs/entity-storage-custom-objects/. For a demonstration of this feature, check out the sample apps at https://github.com/freshworks-developers/custom-objects-samples."}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1652121812879}} 2022-05-10 01:27:36.046 +0200 [debug] (validate.js) asked to skip the following validations,  2022-05-10 01:27:36.047 +0200 [debug] (validate.js) running validator actions 2022-05-10 01:27:36.047 +0200 [debug] (validate.js) running validator app-dir 2022-05-10 01:27:36.048 +0200 [debug] (validate.js) running validator config-dir 2022-05-10 01:27:36.048 +0200 [debug] (config-dir.js) Checking to see if /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/config/ exists. 2022-05-10 01:27:36.048 +0200 [debug] (config-dir.js) Fetched the following config files iparams.json 2022-05-10 01:27:36.048 +0200 [debug] (validate.js) running validator custom-objects 2022-05-10 01:27:36.049 +0200 [debug] (validate.js) running validator event 2022-05-10 01:27:36.049 +0200 [debug] (validate.js) running validator iparam 2022-05-10 01:27:36.051 +0200 [debug] (validate.js) skipping validator lint 2022-05-10 01:27:36.051 +0200 [debug] (validate.js) running validator manifest 2022-05-10 01:27:36.051 +0200 [debug] (manifest.js) running manifest validation with type run_validation 2022-05-10 01:27:36.051 +0200 [debug] (validate.js) skipping validator manifest-dependency 2022-05-10 01:27:36.051 +0200 [debug] (validate.js) running validator oauth 2022-05-10 01:27:36.052 +0200 [debug] (validate.js) skipping validator pkgsize 2022-05-10 01:27:36.052 +0200 [debug] (validate.js) running validator schema 2022-05-10 01:27:36.052 +0200 [debug] (validate.js) running validator version-check 2022-05-10 01:27:36.054 +0200 [debug] (watcher.js) Preparing to watch the following files ./app,./config,./manifest.json 2022-05-10 01:27:36.057 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire"}}} 2022-05-10 01:27:36.057 +0200 [debug] (custom-objects.js) to force or not? false 2022-05-10 01:27:36.057 +0200 [debug] (custom-objects.js) beginning to re-sync db 2022-05-10 01:27:36.491 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/bigint-pivot.js" 2022-05-10 01:27:36.492 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field-choice.js" 2022-05-10 01:27:36.493 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field.js" 2022-05-10 01:27:36.494 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity.js" 2022-05-10 01:27:36.494 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/record.js" 2022-05-10 01:27:36.495 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/string-pivot.js" 2022-05-10 01:27:36.510 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire"}}} 2022-05-10 01:27:36.511 +0200 [debug] (custom-objects.js) updated local store with latest entity hash 2022-05-10 01:27:36.514 +0200 [info] Starting local testing server at http://*:10001/ Append 'dev=true' to your Freshdesk account URL to start testing e.g. https://domain.freshdesk.com/a/tickets/1?dev=true Quit the server with Control-C. 2022-05-10 01:27:36.515 +0200 [info] To test the installation page, visit - http://localhost:10001/custom_configs 2022-05-10 01:27:44.111 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire"}}} 2022-05-10 01:27:44.112 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-10 01:27:44.122 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire"}}} 2022-05-10 01:27:44.122 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-10 01:27:44.139 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire"}}} 2022-05-10 01:27:44.139 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-10 01:27:44.145 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire"}}} 2022-05-10 01:27:44.145 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-10 01:27:44.166 +0200 [debug] (iframe.js) Responding with contents of /template.html 2022-05-10 01:27:44.168 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire"}}} 2022-05-10 01:27:44.168 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-10 01:27:44.178 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire"}}} 2022-05-10 01:27:44.178 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-10 01:27:44.180 +0200 [debug] (iframe.js) Responding with contents of /app.js 2022-05-10 01:27:44.181 +0200 [debug] (coverage-util.js) Instrumenting /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/app/app.js 2022-05-10 01:27:44.311 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire"}}} 2022-05-10 01:27:44.311 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-10 01:27:46.442 +0200 [debug] (coverage-util.js) Writing coverage. 2022-05-10 01:27:46.443 +0200 [debug] (coverage-util.js) Error Cannot read property 'start' of undefined while writing coverage report. 2022-05-10 01:27:46.444 +0200 [debug] (coverage-util.js) Flushing coverage. 2022-05-10 01:27:48.002 +0200 [debug] (data-pipe.js) received call for route "proxy" with action "execute" and body {"action":"execute","data":{"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get"}} 2022-05-10 01:27:48.003 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire"}}} 2022-05-10 01:27:48.008 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire"}}} 2022-05-10 01:27:48.008 +0200 [debug] (proxy.js) Substituing Templates {"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get"} with {"iparam":{"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire"},"oauth_iparams":{}} 2022-05-10 01:27:48.010 +0200 [debug] (proxy.js) Parsed https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452 as {"protocol":"https:","slashes":true,"auth":null,"host":"virtualdropstudio.freshdesk.com","port":null,"hostname":"virtualdropstudio.freshdesk.com","hash":null,"search":null,"query":null,"pathname":"/api/v2/contacts/101026585452","path":"/api/v2/contacts/101026585452","href":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452"} 2022-05-10 01:27:48.015 +0200 [debug] (proxy.js) Checking if the request url is whitelisted in manifest 2022-05-10 01:27:48.015 +0200 [debug] (proxy.js) Matched "https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452" with https://virtualdropstudio.freshdesk.com 2022-05-10 01:27:48.015 +0200 [debug] (proxy.js) Making proxy call with options as {"headers":{"Content-Type":"application/json","Authorization":"Basic eXBsT0hra3gyejJhY1ZRS01DZGU6eA=="},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get","whitelistedDomains":["https://virtualdropstudio.freshdesk.com"],"maxAttempts":1,"retryDelay":0,"timeout":5000} 2022-05-10 01:27:48.323 +0200 [debug] (proxy.js) Proxy came back with error as null, body as "{\"active\":false,\"address\":null,\"description\":null,\"email\":\"loloic3@sfr.fr\",\"id\":1010265 2022-05-10 01:27:48.323 +0200 [debug] (proxy.js) Looking for "application/json" in application/json,application/xml,text/html,text/xml,application/jsonp,text/plain,application/javascript,application/vnd.api+json 2022-05-10 01:27:48.445 +0200 [debug] (coverage-util.js) Writing coverage. 2022-05-10 01:28:16.422 +0200 [debug] (coverage-util.js) Writing coverage. 2022-05-10 01:28:22.438 +0200 [debug] (coverage-util.js) Writing coverage. 2022-05-10 01:58:39.340 +0200 [info] NOTE: We recommend a coverage of 80% for apps that are to be published in the public marketplace. 2022-05-10 02:03:11.299 +0200 [debug] (logger.js) Starting FDK in node v12.22.7 on linux 2022-05-10 02:03:11.864 +0200 [debug] (sequelize.js) setting up sqilite at "/home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/.fdk/store.sqlite" 2022-05-10 02:03:12.762 +0200 [debug] (index.js) Running with args {"cmd":"run","gopts":{},"opts":{},"goptArg":{},"optArg":{},"args":[]} 2022-05-10 02:03:12.762 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.2.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":"For Freshservice, you can now build apps that use Entity Storage - Custom Objects. For more information, check out the documentation at https://developers.freshservice.com/docs/entity-storage-custom-objects/. For a demonstration of this feature, check out the sample apps at https://github.com/freshworks-developers/custom-objects-samples."}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1652121812879}} 2022-05-10 02:03:12.762 +0200 [debug] (updater.js) last check less than an day ago, not looking for updates 2022-05-10 02:03:12.952 +0200 [debug] (manifest.js) Reloading manifest with {"platform-version":"2.2","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"whitelisted-domains":["https://<%= iparam.freshdesk_domain %>.freshdesk.com"],"engines":{"node":"12.22.7","fdk":"7.1.0"}}. 2022-05-10 02:03:12.953 +0200 [debug] (manifest.js) Inferred db as features. 2022-05-10 02:03:12.954 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.2.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":"For Freshservice, you can now build apps that use Entity Storage - Custom Objects. For more information, check out the documentation at https://developers.freshservice.com/docs/entity-storage-custom-objects/. For a demonstration of this feature, check out the sample apps at https://github.com/freshworks-developers/custom-objects-samples."}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1652121812879}} 2022-05-10 02:03:12.964 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.2.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":"For Freshservice, you can now build apps that use Entity Storage - Custom Objects. For more information, check out the documentation at https://developers.freshservice.com/docs/entity-storage-custom-objects/. For a demonstration of this feature, check out the sample apps at https://github.com/freshworks-developers/custom-objects-samples."}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1652121812879}} 2022-05-10 02:03:13.910 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.2.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":"For Freshservice, you can now build apps that use Entity Storage - Custom Objects. For more information, check out the documentation at https://developers.freshservice.com/docs/entity-storage-custom-objects/. For a demonstration of this feature, check out the sample apps at https://github.com/freshworks-developers/custom-objects-samples."}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1652121812879}} 2022-05-10 02:03:16.531 +0200 [debug] (validate.js) asked to skip the following validations,  2022-05-10 02:03:16.531 +0200 [debug] (validate.js) running validator actions 2022-05-10 02:03:16.531 +0200 [debug] (validate.js) running validator app-dir 2022-05-10 02:03:16.532 +0200 [debug] (validate.js) running validator config-dir 2022-05-10 02:03:16.532 +0200 [debug] (config-dir.js) Checking to see if /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/config/ exists. 2022-05-10 02:03:16.533 +0200 [debug] (config-dir.js) Fetched the following config files iparams.json 2022-05-10 02:03:16.533 +0200 [debug] (validate.js) running validator custom-objects 2022-05-10 02:03:16.533 +0200 [debug] (validate.js) running validator event 2022-05-10 02:03:16.533 +0200 [debug] (validate.js) running validator iparam 2022-05-10 02:03:16.535 +0200 [debug] (validate.js) skipping validator lint 2022-05-10 02:03:16.535 +0200 [debug] (validate.js) running validator manifest 2022-05-10 02:03:16.535 +0200 [debug] (manifest.js) running manifest validation with type run_validation 2022-05-10 02:03:16.536 +0200 [debug] (validate.js) skipping validator manifest-dependency 2022-05-10 02:03:16.536 +0200 [debug] (validate.js) running validator oauth 2022-05-10 02:03:16.536 +0200 [debug] (validate.js) skipping validator pkgsize 2022-05-10 02:03:16.536 +0200 [debug] (validate.js) running validator schema 2022-05-10 02:03:16.536 +0200 [debug] (validate.js) running validator version-check 2022-05-10 02:03:16.538 +0200 [debug] (watcher.js) Preparing to watch the following files ./app,./config,./manifest.json 2022-05-10 02:03:16.541 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire"}}} 2022-05-10 02:03:16.541 +0200 [debug] (custom-objects.js) to force or not? false 2022-05-10 02:03:16.542 +0200 [debug] (custom-objects.js) beginning to re-sync db 2022-05-10 02:03:16.792 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/bigint-pivot.js" 2022-05-10 02:03:16.793 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field-choice.js" 2022-05-10 02:03:16.794 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field.js" 2022-05-10 02:03:16.795 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity.js" 2022-05-10 02:03:16.795 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/record.js" 2022-05-10 02:03:16.796 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/string-pivot.js" 2022-05-10 02:03:16.811 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire"}}} 2022-05-10 02:03:16.812 +0200 [debug] (custom-objects.js) updated local store with latest entity hash 2022-05-10 02:03:16.815 +0200 [info] Starting local testing server at http://*:10001/ Append 'dev=true' to your Freshdesk account URL to start testing e.g. https://domain.freshdesk.com/a/tickets/1?dev=true Quit the server with Control-C. 2022-05-10 02:03:16.816 +0200 [info] To test the installation page, visit - http://localhost:10001/custom_configs 2022-05-10 02:03:26.343 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire"}}} 2022-05-10 02:03:26.344 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-10 02:03:26.352 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire"}}} 2022-05-10 02:03:26.353 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-10 02:03:26.416 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire"}}} 2022-05-10 02:03:26.417 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-10 02:03:26.424 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire"}}} 2022-05-10 02:03:26.424 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-10 02:03:26.443 +0200 [debug] (iframe.js) Responding with contents of /template.html 2022-05-10 02:03:26.445 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire"}}} 2022-05-10 02:03:26.446 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-10 02:03:26.455 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire"}}} 2022-05-10 02:03:26.456 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-10 02:03:26.459 +0200 [debug] (iframe.js) Responding with contents of /app.js 2022-05-10 02:03:26.461 +0200 [debug] (coverage-util.js) Instrumenting /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/app/app.js 2022-05-10 02:03:26.601 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire"}}} 2022-05-10 02:03:26.602 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-10 02:03:28.691 +0200 [debug] (coverage-util.js) Writing coverage. 2022-05-10 02:03:34.696 +0200 [debug] (coverage-util.js) Writing coverage. 2022-05-10 02:03:40.700 +0200 [debug] (coverage-util.js) Writing coverage. 2022-05-10 02:23:24.455 +0200 [info] NOTE: We recommend a coverage of 80% for apps that are to be published in the public marketplace. 2022-05-10 10:04:48.400 +0200 [debug] (logger.js) Starting FDK in node v12.22.7 on linux 2022-05-10 10:04:48.966 +0200 [debug] (sequelize.js) setting up sqilite at "/home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/.fdk/store.sqlite" 2022-05-10 10:04:49.875 +0200 [debug] (index.js) Running with args {"cmd":"run","gopts":{},"opts":{},"goptArg":{},"optArg":{},"args":[]} 2022-05-10 10:04:49.875 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.2.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":"For Freshservice, you can now build apps that use Entity Storage - Custom Objects. For more information, check out the documentation at https://developers.freshservice.com/docs/entity-storage-custom-objects/. For a demonstration of this feature, check out the sample apps at https://github.com/freshworks-developers/custom-objects-samples."}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1652121812879}} 2022-05-10 10:04:49.875 +0200 [debug] (updater.js) last check less than an day ago, not looking for updates 2022-05-10 10:04:50.070 +0200 [debug] (manifest.js) Reloading manifest with {"platform-version":"2.2","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"whitelisted-domains":["https://<%= iparam.freshdesk_domain %>.freshdesk.com"],"engines":{"node":"12.22.7","fdk":"7.1.0"}}. 2022-05-10 10:04:50.071 +0200 [debug] (manifest.js) Inferred db as features. 2022-05-10 10:04:50.072 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.2.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":"For Freshservice, you can now build apps that use Entity Storage - Custom Objects. For more information, check out the documentation at https://developers.freshservice.com/docs/entity-storage-custom-objects/. For a demonstration of this feature, check out the sample apps at https://github.com/freshworks-developers/custom-objects-samples."}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1652121812879}} 2022-05-10 10:04:50.083 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.2.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":"For Freshservice, you can now build apps that use Entity Storage - Custom Objects. For more information, check out the documentation at https://developers.freshservice.com/docs/entity-storage-custom-objects/. For a demonstration of this feature, check out the sample apps at https://github.com/freshworks-developers/custom-objects-samples."}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1652121812879}} 2022-05-10 10:04:51.035 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.2.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":"For Freshservice, you can now build apps that use Entity Storage - Custom Objects. For more information, check out the documentation at https://developers.freshservice.com/docs/entity-storage-custom-objects/. For a demonstration of this feature, check out the sample apps at https://github.com/freshworks-developers/custom-objects-samples."}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1652121812879}} 2022-05-10 10:04:53.650 +0200 [debug] (validate.js) asked to skip the following validations,  2022-05-10 10:04:53.650 +0200 [debug] (validate.js) running validator actions 2022-05-10 10:04:53.650 +0200 [debug] (validate.js) running validator app-dir 2022-05-10 10:04:53.651 +0200 [debug] (validate.js) running validator config-dir 2022-05-10 10:04:53.652 +0200 [debug] (config-dir.js) Checking to see if /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/config/ exists. 2022-05-10 10:04:53.652 +0200 [debug] (config-dir.js) Fetched the following config files iparams.json 2022-05-10 10:04:53.652 +0200 [debug] (validate.js) running validator custom-objects 2022-05-10 10:04:53.652 +0200 [debug] (validate.js) running validator event 2022-05-10 10:04:53.652 +0200 [debug] (validate.js) running validator iparam 2022-05-10 10:04:53.655 +0200 [debug] (validate.js) skipping validator lint 2022-05-10 10:04:53.655 +0200 [debug] (validate.js) running validator manifest 2022-05-10 10:04:53.655 +0200 [debug] (manifest.js) running manifest validation with type run_validation 2022-05-10 10:04:53.655 +0200 [debug] (validate.js) skipping validator manifest-dependency 2022-05-10 10:04:53.655 +0200 [debug] (validate.js) running validator oauth 2022-05-10 10:04:53.655 +0200 [debug] (validate.js) skipping validator pkgsize 2022-05-10 10:04:53.655 +0200 [debug] (validate.js) running validator schema 2022-05-10 10:04:53.655 +0200 [debug] (validate.js) running validator version-check 2022-05-10 10:04:53.658 +0200 [debug] (watcher.js) Preparing to watch the following files ./app,./config,./manifest.json 2022-05-10 10:04:53.667 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire"}}} 2022-05-10 10:04:53.667 +0200 [debug] (custom-objects.js) to force or not? false 2022-05-10 10:04:53.667 +0200 [debug] (custom-objects.js) beginning to re-sync db 2022-05-10 10:04:53.917 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/bigint-pivot.js" 2022-05-10 10:04:53.918 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field-choice.js" 2022-05-10 10:04:53.919 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field.js" 2022-05-10 10:04:53.919 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity.js" 2022-05-10 10:04:53.920 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/record.js" 2022-05-10 10:04:53.921 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/string-pivot.js" 2022-05-10 10:04:53.936 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire"}}} 2022-05-10 10:04:53.937 +0200 [debug] (custom-objects.js) updated local store with latest entity hash 2022-05-10 10:04:53.940 +0200 [info] Starting local testing server at http://*:10001/ Append 'dev=true' to your Freshdesk account URL to start testing e.g. https://domain.freshdesk.com/a/tickets/1?dev=true Quit the server with Control-C. 2022-05-10 10:04:53.941 +0200 [info] To test the installation page, visit - http://localhost:10001/custom_configs 2022-05-10 10:05:03.649 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire"}}} 2022-05-10 10:05:03.650 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-10 10:05:03.659 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire"}}} 2022-05-10 10:05:03.660 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-10 10:05:03.678 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire"}}} 2022-05-10 10:05:03.678 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-10 10:05:03.685 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire"}}} 2022-05-10 10:05:03.685 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-10 10:05:03.702 +0200 [debug] (iframe.js) Responding with contents of /template.html 2022-05-10 10:05:03.709 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire"}}} 2022-05-10 10:05:03.709 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-10 10:05:03.721 +0200 [debug] (iframe.js) Responding with contents of /app.js 2022-05-10 10:05:03.722 +0200 [debug] (coverage-util.js) Instrumenting /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/app/app.js 2022-05-10 10:05:03.861 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire"}}} 2022-05-10 10:05:03.861 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-10 10:05:03.868 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire"}}} 2022-05-10 10:05:03.868 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-10 10:05:06.012 +0200 [debug] (coverage-util.js) Writing coverage. 2022-05-10 10:05:06.018 +0200 [debug] (coverage-util.js) Error Cannot read property 'start' of undefined while writing coverage report. 2022-05-10 10:05:06.019 +0200 [debug] (coverage-util.js) Flushing coverage. 2022-05-10 10:05:16.000 +0200 [debug] (coverage-util.js) Writing coverage. 2022-05-10 10:05:59.995 +0200 [debug] (coverage-util.js) Writing coverage. 2022-05-10 10:08:27.074 +0200 [info] NOTE: We recommend a coverage of 80% for apps that are to be published in the public marketplace. 2022-05-10 10:08:31.418 +0200 [debug] (logger.js) Starting FDK in node v12.22.7 on linux 2022-05-10 10:08:31.992 +0200 [debug] (sequelize.js) setting up sqilite at "/home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/.fdk/store.sqlite" 2022-05-10 10:08:32.887 +0200 [debug] (index.js) Running with args {"cmd":"run","gopts":{},"opts":{},"goptArg":{},"optArg":{},"args":[]} 2022-05-10 10:08:32.887 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.2.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":"For Freshservice, you can now build apps that use Entity Storage - Custom Objects. For more information, check out the documentation at https://developers.freshservice.com/docs/entity-storage-custom-objects/. For a demonstration of this feature, check out the sample apps at https://github.com/freshworks-developers/custom-objects-samples."}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1652121812879}} 2022-05-10 10:08:32.887 +0200 [debug] (updater.js) last check less than an day ago, not looking for updates 2022-05-10 10:08:33.080 +0200 [debug] (manifest.js) Reloading manifest with {"platform-version":"2.2","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"whitelisted-domains":["https://<%= iparam.freshdesk_domain %>.freshdesk.com"],"engines":{"node":"12.22.7","fdk":"7.1.0"}}. 2022-05-10 10:08:33.080 +0200 [debug] (manifest.js) Inferred db as features. 2022-05-10 10:08:33.082 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.2.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":"For Freshservice, you can now build apps that use Entity Storage - Custom Objects. For more information, check out the documentation at https://developers.freshservice.com/docs/entity-storage-custom-objects/. For a demonstration of this feature, check out the sample apps at https://github.com/freshworks-developers/custom-objects-samples."}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1652121812879}} 2022-05-10 10:08:33.092 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.2.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":"For Freshservice, you can now build apps that use Entity Storage - Custom Objects. For more information, check out the documentation at https://developers.freshservice.com/docs/entity-storage-custom-objects/. For a demonstration of this feature, check out the sample apps at https://github.com/freshworks-developers/custom-objects-samples."}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1652121812879}} 2022-05-10 10:08:34.035 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.2.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":"For Freshservice, you can now build apps that use Entity Storage - Custom Objects. For more information, check out the documentation at https://developers.freshservice.com/docs/entity-storage-custom-objects/. For a demonstration of this feature, check out the sample apps at https://github.com/freshworks-developers/custom-objects-samples."}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1652121812879}} 2022-05-10 10:08:36.686 +0200 [debug] (validate.js) asked to skip the following validations,  2022-05-10 10:08:36.686 +0200 [debug] (validate.js) running validator actions 2022-05-10 10:08:36.687 +0200 [debug] (validate.js) running validator app-dir 2022-05-10 10:08:36.687 +0200 [debug] (validate.js) running validator config-dir 2022-05-10 10:08:36.688 +0200 [debug] (config-dir.js) Checking to see if /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/config/ exists. 2022-05-10 10:08:36.688 +0200 [debug] (config-dir.js) Fetched the following config files iparams.json 2022-05-10 10:08:36.688 +0200 [debug] (validate.js) running validator custom-objects 2022-05-10 10:08:36.688 +0200 [debug] (validate.js) running validator event 2022-05-10 10:08:36.688 +0200 [debug] (validate.js) running validator iparam 2022-05-10 10:08:36.690 +0200 [debug] (validate.js) skipping validator lint 2022-05-10 10:08:36.691 +0200 [debug] (validate.js) running validator manifest 2022-05-10 10:08:36.691 +0200 [debug] (manifest.js) running manifest validation with type run_validation 2022-05-10 10:08:36.691 +0200 [debug] (validate.js) skipping validator manifest-dependency 2022-05-10 10:08:36.691 +0200 [debug] (validate.js) running validator oauth 2022-05-10 10:08:36.691 +0200 [debug] (validate.js) skipping validator pkgsize 2022-05-10 10:08:36.691 +0200 [debug] (validate.js) running validator schema 2022-05-10 10:08:36.691 +0200 [debug] (validate.js) running validator version-check 2022-05-10 10:08:36.694 +0200 [debug] (watcher.js) Preparing to watch the following files ./app,./config,./manifest.json 2022-05-10 10:08:36.697 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire"}}} 2022-05-10 10:08:36.697 +0200 [debug] (custom-objects.js) to force or not? false 2022-05-10 10:08:36.697 +0200 [debug] (custom-objects.js) beginning to re-sync db 2022-05-10 10:08:36.963 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/bigint-pivot.js" 2022-05-10 10:08:36.964 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field-choice.js" 2022-05-10 10:08:36.965 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field.js" 2022-05-10 10:08:36.966 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity.js" 2022-05-10 10:08:36.966 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/record.js" 2022-05-10 10:08:36.967 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/string-pivot.js" 2022-05-10 10:08:36.983 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire"}}} 2022-05-10 10:08:36.984 +0200 [debug] (custom-objects.js) updated local store with latest entity hash 2022-05-10 10:08:36.987 +0200 [info] Starting local testing server at http://*:10001/ Append 'dev=true' to your Freshdesk account URL to start testing e.g. https://domain.freshdesk.com/a/tickets/1?dev=true Quit the server with Control-C. 2022-05-10 10:08:36.987 +0200 [info] To test the installation page, visit - http://localhost:10001/custom_configs 2022-05-10 10:08:48.710 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire"}}} 2022-05-10 10:08:48.711 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-10 10:08:48.718 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire"}}} 2022-05-10 10:08:48.719 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-10 10:08:48.739 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire"}}} 2022-05-10 10:08:48.739 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-10 10:08:48.745 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire"}}} 2022-05-10 10:08:48.745 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-10 10:08:48.763 +0200 [debug] (iframe.js) Responding with contents of /template.html 2022-05-10 10:08:48.764 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire"}}} 2022-05-10 10:08:48.765 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-10 10:08:48.779 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire"}}} 2022-05-10 10:08:48.779 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-10 10:08:48.786 +0200 [debug] (iframe.js) Responding with contents of /app.js 2022-05-10 10:08:48.787 +0200 [debug] (coverage-util.js) Instrumenting /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/app/app.js 2022-05-10 10:08:48.904 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire"}}} 2022-05-10 10:08:48.904 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-10 10:08:51.065 +0200 [debug] (coverage-util.js) Error Cannot read property 'length' of undefined while merging coverage stats. 2022-05-10 10:08:51.065 +0200 [debug] (coverage-util.js) Flushing coverage. 2022-05-10 10:08:51.065 +0200 [debug] (coverage-util.js) Writing coverage. 2022-05-10 10:08:57.056 +0200 [debug] (coverage-util.js) Writing coverage. 2022-05-10 10:12:17.287 +0200 [debug] (logger.js) Starting FDK in node v12.22.7 on linux 2022-05-10 10:12:17.985 +0200 [debug] (sequelize.js) setting up sqilite at "/home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/.fdk/store.sqlite" 2022-05-10 10:12:18.897 +0200 [debug] (index.js) Running with args {"cmd":"run","gopts":{},"opts":{},"goptArg":{},"optArg":{},"args":[]} 2022-05-10 10:12:18.897 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.2.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":"For Freshservice, you can now build apps that use Entity Storage - Custom Objects. For more information, check out the documentation at https://developers.freshservice.com/docs/entity-storage-custom-objects/. For a demonstration of this feature, check out the sample apps at https://github.com/freshworks-developers/custom-objects-samples."}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1652121812879}} 2022-05-10 10:12:18.898 +0200 [debug] (updater.js) last check less than an day ago, not looking for updates 2022-05-10 10:12:19.114 +0200 [debug] (manifest.js) Reloading manifest with {"platform-version":"2.2","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"whitelisted-domains":["https://<%= iparam.freshdesk_domain %>.freshdesk.com"],"engines":{"node":"12.22.7","fdk":"7.1.0"}}. 2022-05-10 10:12:19.114 +0200 [debug] (manifest.js) Inferred db as features. 2022-05-10 10:12:19.116 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.2.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":"For Freshservice, you can now build apps that use Entity Storage - Custom Objects. For more information, check out the documentation at https://developers.freshservice.com/docs/entity-storage-custom-objects/. For a demonstration of this feature, check out the sample apps at https://github.com/freshworks-developers/custom-objects-samples."}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1652121812879}} 2022-05-10 10:12:19.128 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.2.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":"For Freshservice, you can now build apps that use Entity Storage - Custom Objects. For more information, check out the documentation at https://developers.freshservice.com/docs/entity-storage-custom-objects/. For a demonstration of this feature, check out the sample apps at https://github.com/freshworks-developers/custom-objects-samples."}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1652121812879}} 2022-05-10 10:12:20.272 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.2.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":"For Freshservice, you can now build apps that use Entity Storage - Custom Objects. For more information, check out the documentation at https://developers.freshservice.com/docs/entity-storage-custom-objects/. For a demonstration of this feature, check out the sample apps at https://github.com/freshworks-developers/custom-objects-samples."}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1652121812879}} 2022-05-10 10:12:22.965 +0200 [debug] (validate.js) asked to skip the following validations,  2022-05-10 10:12:22.966 +0200 [debug] (validate.js) running validator actions 2022-05-10 10:12:22.966 +0200 [debug] (validate.js) running validator app-dir 2022-05-10 10:12:22.967 +0200 [debug] (validate.js) running validator config-dir 2022-05-10 10:12:22.967 +0200 [debug] (config-dir.js) Checking to see if /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/config/ exists. 2022-05-10 10:12:22.968 +0200 [debug] (config-dir.js) Fetched the following config files iparams.json 2022-05-10 10:12:22.968 +0200 [debug] (validate.js) running validator custom-objects 2022-05-10 10:12:22.968 +0200 [debug] (validate.js) running validator event 2022-05-10 10:12:22.968 +0200 [debug] (validate.js) running validator iparam 2022-05-10 10:12:22.970 +0200 [debug] (validate.js) skipping validator lint 2022-05-10 10:12:22.970 +0200 [debug] (validate.js) running validator manifest 2022-05-10 10:12:22.970 +0200 [debug] (manifest.js) running manifest validation with type run_validation 2022-05-10 10:12:22.971 +0200 [debug] (validate.js) skipping validator manifest-dependency 2022-05-10 10:12:22.971 +0200 [debug] (validate.js) running validator oauth 2022-05-10 10:12:22.971 +0200 [debug] (validate.js) skipping validator pkgsize 2022-05-10 10:12:22.971 +0200 [debug] (validate.js) running validator schema 2022-05-10 10:12:22.971 +0200 [debug] (validate.js) running validator version-check 2022-05-10 10:12:22.974 +0200 [debug] (watcher.js) Preparing to watch the following files ./app,./config,./manifest.json 2022-05-10 10:12:22.977 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire"}}} 2022-05-10 10:12:22.977 +0200 [debug] (custom-objects.js) to force or not? false 2022-05-10 10:12:22.977 +0200 [debug] (custom-objects.js) beginning to re-sync db 2022-05-10 10:12:23.351 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/bigint-pivot.js" 2022-05-10 10:12:23.353 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field-choice.js" 2022-05-10 10:12:23.354 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field.js" 2022-05-10 10:12:23.355 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity.js" 2022-05-10 10:12:23.356 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/record.js" 2022-05-10 10:12:23.357 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/string-pivot.js" 2022-05-10 10:12:23.373 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire"}}} 2022-05-10 10:12:23.374 +0200 [debug] (custom-objects.js) updated local store with latest entity hash 2022-05-10 10:12:23.376 +0200 [info] Starting local testing server at http://*:10001/ Append 'dev=true' to your Freshdesk account URL to start testing e.g. https://domain.freshdesk.com/a/tickets/1?dev=true Quit the server with Control-C. 2022-05-10 10:12:23.377 +0200 [info] To test the installation page, visit - http://localhost:10001/custom_configs 2022-05-10 10:12:35.658 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire"}}} 2022-05-10 10:12:35.659 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-10 10:12:35.672 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire"}}} 2022-05-10 10:12:35.672 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-10 10:12:35.693 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire"}}} 2022-05-10 10:12:35.693 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-10 10:12:35.700 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire"}}} 2022-05-10 10:12:35.700 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-10 10:12:35.716 +0200 [debug] (iframe.js) Responding with contents of /template.html 2022-05-10 10:12:35.720 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire"}}} 2022-05-10 10:12:35.721 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-10 10:12:35.729 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire"}}} 2022-05-10 10:12:35.730 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-10 10:12:35.736 +0200 [debug] (iframe.js) Responding with contents of /app.js 2022-05-10 10:12:35.736 +0200 [debug] (coverage-util.js) Instrumenting /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/app/app.js 2022-05-10 10:12:35.858 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire"}}} 2022-05-10 10:12:35.859 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-10 10:12:37.996 +0200 [debug] (coverage-util.js) Error Cannot read property 'length' of undefined while merging coverage stats. 2022-05-10 10:12:37.996 +0200 [debug] (coverage-util.js) Flushing coverage. 2022-05-10 10:12:37.997 +0200 [debug] (coverage-util.js) Writing coverage. 2022-05-10 10:12:41.979 +0200 [debug] (coverage-util.js) Writing coverage. 2022-05-10 10:13:07.979 +0200 [debug] (coverage-util.js) Writing coverage. 2022-05-10 10:27:59.977 +0200 [debug] (coverage-util.js) Writing coverage. 2022-05-10 10:39:00.683 +0200 [info] NOTE: We recommend a coverage of 80% for apps that are to be published in the public marketplace. 2022-05-24 10:46:52.041 +0200 [debug] (logger.js) Starting FDK in node v12.22.7 on linux 2022-05-24 10:47:00.644 +0200 [debug] (sequelize.js) setting up sqilite at "/home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/.fdk/store.sqlite" 2022-05-24 10:47:02.528 +0200 [debug] (index.js) Running with args {"cmd":"run","gopts":{},"opts":{},"goptArg":{},"optArg":{},"args":[]} 2022-05-24 10:47:02.535 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.2.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":"For Freshservice, you can now build apps that use Entity Storage - Custom Objects. For more information, check out the documentation at https://developers.freshservice.com/docs/entity-storage-custom-objects/. For a demonstration of this feature, check out the sample apps at https://github.com/freshworks-developers/custom-objects-samples."}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1652121812879}} 2022-05-24 10:47:02.535 +0200 [debug] (updater.js) last check more than an day ago, looking for updates again 2022-05-24 10:47:02.778 +0200 [debug] (updater.js) downloaded update manifest as {"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}} 2022-05-24 10:47:02.779 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.2.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":"For Freshservice, you can now build apps that use Entity Storage - Custom Objects. For more information, check out the documentation at https://developers.freshservice.com/docs/entity-storage-custom-objects/. For a demonstration of this feature, check out the sample apps at https://github.com/freshworks-developers/custom-objects-samples."}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1652121812879}} 2022-05-24 10:47:02.780 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.2.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":"For Freshservice, you can now build apps that use Entity Storage - Custom Objects. For more information, check out the documentation at https://developers.freshservice.com/docs/entity-storage-custom-objects/. For a demonstration of this feature, check out the sample apps at https://github.com/freshworks-developers/custom-objects-samples."}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1652121812879}} 2022-05-24 10:47:02.788 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1652121812879}} 2022-05-24 10:47:02.796 +0200 [warn] [WARN] This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433. 2022-05-24 10:47:04.303 +0200 [debug] (manifest.js) Reloading manifest with {"platform-version":"2.2","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"whitelisted-domains":["https://<%= iparam.freshdesk_domain %>.freshdesk.com"],"engines":{"node":"12.22.7","fdk":"7.1.0"}}. 2022-05-24 10:47:04.303 +0200 [debug] (manifest.js) Inferred db as features. 2022-05-24 10:47:04.323 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653382022782}} 2022-05-24 10:47:04.407 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653382022782}} 2022-05-24 10:47:14.065 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653382022782}} 2022-05-24 10:47:21.479 +0200 [debug] (validate.js) asked to skip the following validations,  2022-05-24 10:47:21.479 +0200 [debug] (validate.js) running validator actions 2022-05-24 10:47:21.479 +0200 [debug] (validate.js) running validator app-dir 2022-05-24 10:47:21.480 +0200 [debug] (validate.js) running validator config-dir 2022-05-24 10:47:21.481 +0200 [debug] (config-dir.js) Checking to see if /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/config/ exists. 2022-05-24 10:47:21.481 +0200 [debug] (config-dir.js) Fetched the following config files iparams.json 2022-05-24 10:47:21.481 +0200 [debug] (validate.js) running validator custom-objects 2022-05-24 10:47:21.481 +0200 [debug] (validate.js) running validator event 2022-05-24 10:47:21.482 +0200 [debug] (validate.js) running validator iparam 2022-05-24 10:47:21.488 +0200 [debug] (validate.js) skipping validator lint 2022-05-24 10:47:21.488 +0200 [debug] (validate.js) running validator manifest 2022-05-24 10:47:21.488 +0200 [debug] (manifest.js) running manifest validation with type run_validation 2022-05-24 10:47:21.489 +0200 [debug] (validate.js) skipping validator manifest-dependency 2022-05-24 10:47:21.489 +0200 [debug] (validate.js) running validator oauth 2022-05-24 10:47:21.489 +0200 [debug] (validate.js) skipping validator pkgsize 2022-05-24 10:47:21.489 +0200 [debug] (validate.js) running validator schema 2022-05-24 10:47:21.489 +0200 [debug] (validate.js) running validator version-check 2022-05-24 10:47:21.491 +0200 [debug] (watcher.js) Preparing to watch the following files ./app,./config,./manifest.json 2022-05-24 10:47:21.498 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire"}}} 2022-05-24 10:47:21.498 +0200 [debug] (custom-objects.js) to force or not? false 2022-05-24 10:47:21.498 +0200 [debug] (custom-objects.js) beginning to re-sync db 2022-05-24 10:47:21.988 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/bigint-pivot.js" 2022-05-24 10:47:22.002 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field-choice.js" 2022-05-24 10:47:22.009 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field.js" 2022-05-24 10:47:22.016 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity.js" 2022-05-24 10:47:22.023 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/record.js" 2022-05-24 10:47:22.031 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/string-pivot.js" 2022-05-24 10:47:22.052 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire"}}} 2022-05-24 10:47:22.052 +0200 [debug] (custom-objects.js) updated local store with latest entity hash 2022-05-24 10:47:22.055 +0200 [info] Starting local testing server at http://*:10001/ Append 'dev=true' to your Freshdesk account URL to start testing e.g. https://domain.freshdesk.com/a/tickets/1?dev=true Quit the server with Control-C. 2022-05-24 10:47:22.056 +0200 [info] To test the installation page, visit - http://localhost:10001/custom_configs 2022-05-24 10:48:08.059 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire"}}} 2022-05-24 10:48:08.060 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-24 10:48:08.102 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire"}}} 2022-05-24 10:48:08.103 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-24 10:48:08.151 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire"}}} 2022-05-24 10:48:08.151 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-24 10:48:08.198 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire"}}} 2022-05-24 10:48:08.199 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-24 10:48:08.222 +0200 [debug] (iframe.js) Responding with contents of /template.html 2022-05-24 10:48:08.239 +0200 [debug] (iframe.js) Responding with contents of /app.js 2022-05-24 10:48:08.249 +0200 [debug] (coverage-util.js) Instrumenting /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/app/app.js 2022-05-24 10:48:08.382 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire"}}} 2022-05-24 10:48:08.382 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-24 10:48:08.419 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire"}}} 2022-05-24 10:48:08.419 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-24 10:48:08.462 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire"}}} 2022-05-24 10:48:08.462 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-24 10:48:10.601 +0200 [debug] (coverage-util.js) Writing coverage. 2022-05-24 10:48:28.553 +0200 [debug] (data-pipe.js) received call for route "proxy" with action "execute" and body {"action":"execute","data":{"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get"}} 2022-05-24 10:48:28.554 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire"}}} 2022-05-24 10:48:28.567 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire"}}} 2022-05-24 10:48:28.567 +0200 [debug] (proxy.js) Substituing Templates {"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get"} with {"iparam":{"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire"},"oauth_iparams":{}} 2022-05-24 10:48:28.569 +0200 [debug] (proxy.js) Parsed https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452 as {"protocol":"https:","slashes":true,"auth":null,"host":"virtualdropstudio.freshdesk.com","port":null,"hostname":"virtualdropstudio.freshdesk.com","hash":null,"search":null,"query":null,"pathname":"/api/v2/contacts/101026585452","path":"/api/v2/contacts/101026585452","href":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452"} 2022-05-24 10:48:28.571 +0200 [debug] (proxy.js) Checking if the request url is whitelisted in manifest 2022-05-24 10:48:28.571 +0200 [debug] (proxy.js) Matched "https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452" with https://virtualdropstudio.freshdesk.com 2022-05-24 10:48:28.571 +0200 [debug] (proxy.js) Making proxy call with options as {"headers":{"Content-Type":"application/json","Authorization":"Basic eXBsT0hra3gyejJhY1ZRS01DZGU6eA=="},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get","whitelistedDomains":["https://virtualdropstudio.freshdesk.com"],"maxAttempts":1,"retryDelay":0,"timeout":5000} 2022-05-24 10:48:28.795 +0200 [debug] (proxy.js) Proxy came back with error as null, body as "{\"active\":false,\"address\":null,\"description\":null,\"email\":\"loloic3@sfr.fr\",\"id\":1010265 2022-05-24 10:48:28.795 +0200 [debug] (proxy.js) Looking for "application/json" in application/json,application/xml,text/html,text/xml,application/jsonp,text/plain,application/javascript,application/vnd.api+json 2022-05-24 10:48:30.521 +0200 [debug] (coverage-util.js) Writing coverage. 2022-05-24 10:48:48.509 +0200 [debug] (coverage-util.js) Writing coverage. 2022-05-24 10:59:10.348 +0200 [info] NOTE: We recommend a coverage of 80% for apps that are to be published in the public marketplace. 2022-05-24 10:59:12.754 +0200 [debug] (logger.js) Starting FDK in node v12.22.7 on linux 2022-05-24 10:59:13.327 +0200 [debug] (sequelize.js) setting up sqilite at "/home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/.fdk/store.sqlite" 2022-05-24 10:59:14.221 +0200 [debug] (index.js) Running with args {"cmd":"run","gopts":{},"opts":{},"goptArg":{},"optArg":{},"args":[]} 2022-05-24 10:59:14.222 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653382022782}} 2022-05-24 10:59:14.222 +0200 [debug] (updater.js) last check less than an day ago, not looking for updates 2022-05-24 10:59:14.414 +0200 [debug] (manifest.js) Reloading manifest with {"platform-version":"2.2","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"whitelisted-domains":["https://<%= iparam.freshdesk_domain %>.freshdesk.com"],"engines":{"node":"12.22.7","fdk":"7.1.0"}}. 2022-05-24 10:59:14.414 +0200 [debug] (manifest.js) Inferred db as features. 2022-05-24 10:59:14.415 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653382022782}} 2022-05-24 10:59:14.426 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653382022782}} 2022-05-24 10:59:15.382 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653382022782}} 2022-05-24 10:59:18.002 +0200 [debug] (validate.js) asked to skip the following validations,  2022-05-24 10:59:18.003 +0200 [debug] (validate.js) running validator actions 2022-05-24 10:59:18.003 +0200 [debug] (validate.js) running validator app-dir 2022-05-24 10:59:18.004 +0200 [debug] (validate.js) running validator config-dir 2022-05-24 10:59:18.004 +0200 [debug] (config-dir.js) Checking to see if /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/config/ exists. 2022-05-24 10:59:18.004 +0200 [debug] (config-dir.js) Fetched the following config files iparams.json 2022-05-24 10:59:18.004 +0200 [debug] (validate.js) running validator custom-objects 2022-05-24 10:59:18.004 +0200 [debug] (validate.js) running validator event 2022-05-24 10:59:18.004 +0200 [debug] (validate.js) running validator iparam 2022-05-24 10:59:18.007 +0200 [debug] (validate.js) skipping validator lint 2022-05-24 10:59:18.007 +0200 [debug] (validate.js) running validator manifest 2022-05-24 10:59:18.007 +0200 [debug] (manifest.js) running manifest validation with type run_validation 2022-05-24 10:59:18.007 +0200 [debug] (validate.js) skipping validator manifest-dependency 2022-05-24 10:59:18.007 +0200 [debug] (validate.js) running validator oauth 2022-05-24 10:59:18.007 +0200 [debug] (validate.js) skipping validator pkgsize 2022-05-24 10:59:18.007 +0200 [debug] (validate.js) running validator schema 2022-05-24 10:59:18.008 +0200 [debug] (validate.js) running validator version-check 2022-05-24 10:59:18.010 +0200 [debug] (watcher.js) Preparing to watch the following files ./app,./config,./manifest.json 2022-05-24 10:59:18.013 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire"}}} 2022-05-24 10:59:18.013 +0200 [debug] (custom-objects.js) to force or not? false 2022-05-24 10:59:18.013 +0200 [debug] (custom-objects.js) beginning to re-sync db 2022-05-24 10:59:18.421 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/bigint-pivot.js" 2022-05-24 10:59:18.424 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field-choice.js" 2022-05-24 10:59:18.425 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field.js" 2022-05-24 10:59:18.427 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity.js" 2022-05-24 10:59:18.428 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/record.js" 2022-05-24 10:59:18.429 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/string-pivot.js" 2022-05-24 10:59:18.448 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire"}}} 2022-05-24 10:59:18.448 +0200 [debug] (custom-objects.js) updated local store with latest entity hash 2022-05-24 10:59:18.451 +0200 [info] Starting local testing server at http://*:10001/ Append 'dev=true' to your Freshdesk account URL to start testing e.g. https://domain.freshdesk.com/a/tickets/1?dev=true Quit the server with Control-C. 2022-05-24 10:59:18.452 +0200 [info] To test the installation page, visit - http://localhost:10001/custom_configs 2022-05-24 10:59:32.647 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire"}}} 2022-05-24 10:59:32.648 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-24 10:59:32.701 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire"}}} 2022-05-24 10:59:32.701 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-24 10:59:32.768 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire"}}} 2022-05-24 10:59:32.768 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-24 10:59:32.808 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire"}}} 2022-05-24 10:59:32.808 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-24 10:59:32.827 +0200 [debug] (iframe.js) Responding with contents of /template.html 2022-05-24 10:59:32.841 +0200 [debug] (iframe.js) Responding with contents of /app.js 2022-05-24 10:59:32.841 +0200 [debug] (coverage-util.js) Instrumenting /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/app/app.js 2022-05-24 10:59:32.984 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire"}}} 2022-05-24 10:59:32.985 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-24 10:59:33.031 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire"}}} 2022-05-24 10:59:33.032 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-24 10:59:33.073 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire"}}} 2022-05-24 10:59:33.074 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-24 10:59:35.194 +0200 [debug] (coverage-util.js) Writing coverage. 2022-05-24 10:59:37.510 +0200 [debug] (data-pipe.js) received call for route "proxy" with action "execute" and body {"action":"execute","data":{"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get"}} 2022-05-24 10:59:37.511 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire"}}} 2022-05-24 10:59:37.516 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire"}}} 2022-05-24 10:59:37.516 +0200 [debug] (proxy.js) Substituing Templates {"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get"} with {"iparam":{"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire"},"oauth_iparams":{}} 2022-05-24 10:59:37.519 +0200 [debug] (proxy.js) Parsed https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452 as {"protocol":"https:","slashes":true,"auth":null,"host":"virtualdropstudio.freshdesk.com","port":null,"hostname":"virtualdropstudio.freshdesk.com","hash":null,"search":null,"query":null,"pathname":"/api/v2/contacts/101026585452","path":"/api/v2/contacts/101026585452","href":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452"} 2022-05-24 10:59:37.523 +0200 [debug] (proxy.js) Checking if the request url is whitelisted in manifest 2022-05-24 10:59:37.523 +0200 [debug] (proxy.js) Matched "https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452" with https://virtualdropstudio.freshdesk.com 2022-05-24 10:59:37.523 +0200 [debug] (proxy.js) Making proxy call with options as {"headers":{"Content-Type":"application/json","Authorization":"Basic eXBsT0hra3gyejJhY1ZRS01DZGU6eA=="},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get","whitelistedDomains":["https://virtualdropstudio.freshdesk.com"],"maxAttempts":1,"retryDelay":0,"timeout":5000} 2022-05-24 10:59:37.729 +0200 [debug] (proxy.js) Proxy came back with error as null, body as "{\"active\":false,\"address\":null,\"description\":null,\"email\":\"loloic3@sfr.fr\",\"id\":1010265 2022-05-24 10:59:37.729 +0200 [debug] (proxy.js) Looking for "application/json" in application/json,application/xml,text/html,text/xml,application/jsonp,text/plain,application/javascript,application/vnd.api+json 2022-05-24 10:59:39.184 +0200 [debug] (coverage-util.js) Writing coverage. 2022-05-24 11:00:48.645 +0200 [info] NOTE: We recommend a coverage of 80% for apps that are to be published in the public marketplace. 2022-05-24 11:00:49.859 +0200 [debug] (logger.js) Starting FDK in node v12.22.7 on linux 2022-05-24 11:00:50.433 +0200 [debug] (sequelize.js) setting up sqilite at "/home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/.fdk/store.sqlite" 2022-05-24 11:00:51.334 +0200 [debug] (index.js) Running with args {"cmd":"run","gopts":{},"opts":{},"goptArg":{},"optArg":{},"args":[]} 2022-05-24 11:00:51.334 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653382022782}} 2022-05-24 11:00:51.335 +0200 [debug] (updater.js) last check less than an day ago, not looking for updates 2022-05-24 11:00:51.526 +0200 [debug] (manifest.js) Reloading manifest with {"platform-version":"2.2","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"whitelisted-domains":["https://<%= iparam.freshdesk_domain %>.freshdesk.com"],"engines":{"node":"12.22.7","fdk":"7.1.0"}}. 2022-05-24 11:00:51.527 +0200 [debug] (manifest.js) Inferred db as features. 2022-05-24 11:00:51.528 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653382022782}} 2022-05-24 11:00:51.539 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653382022782}} 2022-05-24 11:00:52.499 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653382022782}} 2022-05-24 11:00:55.111 +0200 [debug] (validate.js) asked to skip the following validations,  2022-05-24 11:00:55.112 +0200 [debug] (validate.js) running validator actions 2022-05-24 11:00:55.112 +0200 [debug] (validate.js) running validator app-dir 2022-05-24 11:00:55.113 +0200 [debug] (validate.js) running validator config-dir 2022-05-24 11:00:55.113 +0200 [debug] (config-dir.js) Checking to see if /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/config/ exists. 2022-05-24 11:00:55.113 +0200 [debug] (config-dir.js) Fetched the following config files iparams.json 2022-05-24 11:00:55.113 +0200 [debug] (validate.js) running validator custom-objects 2022-05-24 11:00:55.113 +0200 [debug] (validate.js) running validator event 2022-05-24 11:00:55.114 +0200 [debug] (validate.js) running validator iparam 2022-05-24 11:00:55.116 +0200 [debug] (validate.js) skipping validator lint 2022-05-24 11:00:55.116 +0200 [debug] (validate.js) running validator manifest 2022-05-24 11:00:55.116 +0200 [debug] (manifest.js) running manifest validation with type run_validation 2022-05-24 11:00:55.116 +0200 [debug] (validate.js) skipping validator manifest-dependency 2022-05-24 11:00:55.116 +0200 [debug] (validate.js) running validator oauth 2022-05-24 11:00:55.116 +0200 [debug] (validate.js) skipping validator pkgsize 2022-05-24 11:00:55.116 +0200 [debug] (validate.js) running validator schema 2022-05-24 11:00:55.117 +0200 [debug] (validate.js) running validator version-check 2022-05-24 11:00:55.119 +0200 [debug] (watcher.js) Preparing to watch the following files ./app,./config,./manifest.json 2022-05-24 11:00:55.122 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire"}}} 2022-05-24 11:00:55.122 +0200 [debug] (custom-objects.js) to force or not? false 2022-05-24 11:00:55.122 +0200 [debug] (custom-objects.js) beginning to re-sync db 2022-05-24 11:00:55.513 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/bigint-pivot.js" 2022-05-24 11:00:55.514 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field-choice.js" 2022-05-24 11:00:55.515 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field.js" 2022-05-24 11:00:55.515 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity.js" 2022-05-24 11:00:55.516 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/record.js" 2022-05-24 11:00:55.517 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/string-pivot.js" 2022-05-24 11:00:55.532 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire"}}} 2022-05-24 11:00:55.533 +0200 [debug] (custom-objects.js) updated local store with latest entity hash 2022-05-24 11:00:55.536 +0200 [info] Starting local testing server at http://*:10001/ Append 'dev=true' to your Freshdesk account URL to start testing e.g. https://domain.freshdesk.com/a/tickets/1?dev=true Quit the server with Control-C. 2022-05-24 11:00:55.537 +0200 [info] To test the installation page, visit - http://localhost:10001/custom_configs 2022-05-24 11:01:04.604 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire"}}} 2022-05-24 11:01:04.605 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-24 11:01:04.654 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire"}}} 2022-05-24 11:01:04.654 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-24 11:01:04.707 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire"}}} 2022-05-24 11:01:04.707 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-24 11:01:04.747 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire"}}} 2022-05-24 11:01:04.747 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-24 11:01:04.763 +0200 [debug] (iframe.js) Responding with contents of /template.html 2022-05-24 11:01:04.779 +0200 [debug] (iframe.js) Responding with contents of /app.js 2022-05-24 11:01:04.780 +0200 [debug] (coverage-util.js) Instrumenting /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/app/app.js 2022-05-24 11:01:04.908 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire"}}} 2022-05-24 11:01:04.908 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-24 11:01:04.948 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire"}}} 2022-05-24 11:01:04.948 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-24 11:01:04.985 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire"}}} 2022-05-24 11:01:04.985 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-24 11:01:07.166 +0200 [debug] (coverage-util.js) Writing coverage. 2022-05-24 11:01:08.414 +0200 [debug] (data-pipe.js) received call for route "proxy" with action "execute" and body {"action":"execute","data":{"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get"}} 2022-05-24 11:01:08.415 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire"}}} 2022-05-24 11:01:08.418 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire"}}} 2022-05-24 11:01:08.419 +0200 [debug] (proxy.js) Substituing Templates {"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get"} with {"iparam":{"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire"},"oauth_iparams":{}} 2022-05-24 11:01:08.421 +0200 [debug] (proxy.js) Parsed https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452 as {"protocol":"https:","slashes":true,"auth":null,"host":"virtualdropstudio.freshdesk.com","port":null,"hostname":"virtualdropstudio.freshdesk.com","hash":null,"search":null,"query":null,"pathname":"/api/v2/contacts/101026585452","path":"/api/v2/contacts/101026585452","href":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452"} 2022-05-24 11:01:08.425 +0200 [debug] (proxy.js) Checking if the request url is whitelisted in manifest 2022-05-24 11:01:08.425 +0200 [debug] (proxy.js) Matched "https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452" with https://virtualdropstudio.freshdesk.com 2022-05-24 11:01:08.426 +0200 [debug] (proxy.js) Making proxy call with options as {"headers":{"Content-Type":"application/json","Authorization":"Basic eXBsT0hra3gyejJhY1ZRS01DZGU6eA=="},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get","whitelistedDomains":["https://virtualdropstudio.freshdesk.com"],"maxAttempts":1,"retryDelay":0,"timeout":5000} 2022-05-24 11:01:08.627 +0200 [debug] (proxy.js) Proxy came back with error as null, body as "{\"active\":false,\"address\":null,\"description\":null,\"email\":\"loloic3@sfr.fr\",\"id\":1010265 2022-05-24 11:01:08.627 +0200 [debug] (proxy.js) Looking for "application/json" in application/json,application/xml,text/html,text/xml,application/jsonp,text/plain,application/javascript,application/vnd.api+json 2022-05-24 11:01:09.168 +0200 [debug] (coverage-util.js) Writing coverage. 2022-05-24 11:13:41.139 +0200 [info] NOTE: We recommend a coverage of 80% for apps that are to be published in the public marketplace. 2022-05-24 11:37:15.780 +0200 [debug] (logger.js) Starting FDK in node v12.22.7 on linux 2022-05-24 11:37:16.349 +0200 [debug] (sequelize.js) setting up sqilite at "/home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/.fdk/store.sqlite" 2022-05-24 11:37:17.256 +0200 [debug] (index.js) Running with args {"cmd":"run","gopts":{},"opts":{},"goptArg":{},"optArg":{},"args":[]} 2022-05-24 11:37:17.256 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653382022782}} 2022-05-24 11:37:17.256 +0200 [debug] (updater.js) last check less than an day ago, not looking for updates 2022-05-24 11:37:17.448 +0200 [debug] (manifest.js) Reloading manifest with {"platform-version":"2.2","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"whitelisted-domains":["https://<%= iparam.freshdesk_domain %>.freshdesk.com"],"engines":{"node":"12.22.7","fdk":"7.1.0"}}. 2022-05-24 11:37:17.448 +0200 [debug] (manifest.js) Inferred db as features. 2022-05-24 11:37:17.450 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653382022782}} 2022-05-24 11:37:17.460 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653382022782}} 2022-05-24 11:37:18.430 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653382022782}} 2022-05-24 11:37:21.110 +0200 [debug] (validate.js) asked to skip the following validations,  2022-05-24 11:37:21.110 +0200 [debug] (validate.js) running validator actions 2022-05-24 11:37:21.110 +0200 [debug] (validate.js) running validator app-dir 2022-05-24 11:37:21.111 +0200 [debug] (validate.js) running validator config-dir 2022-05-24 11:37:21.111 +0200 [debug] (config-dir.js) Checking to see if /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/config/ exists. 2022-05-24 11:37:21.111 +0200 [debug] (config-dir.js) Fetched the following config files iparams.json 2022-05-24 11:37:21.112 +0200 [debug] (validate.js) running validator custom-objects 2022-05-24 11:37:21.112 +0200 [debug] (validate.js) running validator event 2022-05-24 11:37:21.112 +0200 [debug] (validate.js) running validator iparam 2022-05-24 11:37:21.114 +0200 [debug] (validate.js) skipping validator lint 2022-05-24 11:37:21.114 +0200 [debug] (validate.js) running validator manifest 2022-05-24 11:37:21.114 +0200 [debug] (manifest.js) running manifest validation with type run_validation 2022-05-24 11:37:21.114 +0200 [debug] (validate.js) skipping validator manifest-dependency 2022-05-24 11:37:21.115 +0200 [debug] (validate.js) running validator oauth 2022-05-24 11:37:21.115 +0200 [debug] (validate.js) skipping validator pkgsize 2022-05-24 11:37:21.115 +0200 [debug] (validate.js) running validator schema 2022-05-24 11:37:21.115 +0200 [debug] (validate.js) running validator version-check 2022-05-24 11:37:21.117 +0200 [debug] (watcher.js) Preparing to watch the following files ./app,./config,./manifest.json 2022-05-24 11:37:21.120 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire"}}} 2022-05-24 11:37:21.120 +0200 [debug] (custom-objects.js) to force or not? false 2022-05-24 11:37:21.120 +0200 [debug] (custom-objects.js) beginning to re-sync db 2022-05-24 11:37:21.374 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/bigint-pivot.js" 2022-05-24 11:37:21.375 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field-choice.js" 2022-05-24 11:37:21.376 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field.js" 2022-05-24 11:37:21.377 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity.js" 2022-05-24 11:37:21.377 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/record.js" 2022-05-24 11:37:21.378 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/string-pivot.js" 2022-05-24 11:37:21.393 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire"}}} 2022-05-24 11:37:21.394 +0200 [debug] (custom-objects.js) updated local store with latest entity hash 2022-05-24 11:37:21.397 +0200 [info] Starting local testing server at http://*:10001/ Append 'dev=true' to your Freshdesk account URL to start testing e.g. https://domain.freshdesk.com/a/tickets/1?dev=true Quit the server with Control-C. 2022-05-24 11:37:21.398 +0200 [info] To test the installation page, visit - http://localhost:10001/custom_configs 2022-05-24 11:37:24.605 +0200 [info] NOTE: We recommend a coverage of 80% for apps that are to be published in the public marketplace. 2022-05-24 11:54:48.607 +0200 [debug] (logger.js) Starting FDK in node v12.22.7 on linux 2022-05-24 11:54:49.209 +0200 [debug] (sequelize.js) setting up sqilite at "/home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/.fdk/store.sqlite" 2022-05-24 11:54:50.153 +0200 [debug] (index.js) Running with args {"cmd":"run","gopts":{},"opts":{},"goptArg":{},"optArg":{},"args":[]} 2022-05-24 11:54:50.153 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653382022782}} 2022-05-24 11:54:50.153 +0200 [debug] (updater.js) last check less than an day ago, not looking for updates 2022-05-24 11:54:50.347 +0200 [debug] (manifest.js) Reloading manifest with {"platform-version":"2.2","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"whitelisted-domains":["https://<%= iparam.freshdesk_domain %>.freshdesk.com"],"engines":{"node":"12.22.7","fdk":"7.1.0"}}. 2022-05-24 11:54:50.348 +0200 [debug] (manifest.js) Inferred db as features. 2022-05-24 11:54:50.349 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653382022782}} 2022-05-24 11:54:50.361 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653382022782}} 2022-05-24 11:54:51.343 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653382022782}} 2022-05-24 11:54:53.986 +0200 [debug] (validate.js) asked to skip the following validations,  2022-05-24 11:54:53.986 +0200 [debug] (validate.js) running validator actions 2022-05-24 11:54:53.986 +0200 [debug] (validate.js) running validator app-dir 2022-05-24 11:54:53.987 +0200 [debug] (validate.js) running validator config-dir 2022-05-24 11:54:53.987 +0200 [debug] (config-dir.js) Checking to see if /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/config/ exists. 2022-05-24 11:54:53.987 +0200 [debug] (config-dir.js) Fetched the following config files iparams.json 2022-05-24 11:54:53.988 +0200 [debug] (validate.js) running validator custom-objects 2022-05-24 11:54:53.988 +0200 [debug] (validate.js) running validator event 2022-05-24 11:54:53.988 +0200 [debug] (validate.js) running validator iparam 2022-05-24 11:54:53.991 +0200 [debug] (validate.js) skipping validator lint 2022-05-24 11:54:53.992 +0200 [debug] (validate.js) running validator manifest 2022-05-24 11:54:53.992 +0200 [debug] (manifest.js) running manifest validation with type run_validation 2022-05-24 11:54:53.992 +0200 [debug] (validate.js) skipping validator manifest-dependency 2022-05-24 11:54:53.992 +0200 [debug] (validate.js) running validator oauth 2022-05-24 11:54:53.992 +0200 [debug] (validate.js) skipping validator pkgsize 2022-05-24 11:54:53.992 +0200 [debug] (validate.js) running validator schema 2022-05-24 11:54:53.992 +0200 [debug] (validate.js) running validator version-check 2022-05-24 11:54:53.995 +0200 [debug] (watcher.js) Preparing to watch the following files ./app,./config,./manifest.json 2022-05-24 11:54:53.999 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire"}}} 2022-05-24 11:54:53.999 +0200 [debug] (custom-objects.js) to force or not? false 2022-05-24 11:54:53.999 +0200 [debug] (custom-objects.js) beginning to re-sync db 2022-05-24 11:54:54.268 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/bigint-pivot.js" 2022-05-24 11:54:54.269 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field-choice.js" 2022-05-24 11:54:54.270 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field.js" 2022-05-24 11:54:54.271 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity.js" 2022-05-24 11:54:54.271 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/record.js" 2022-05-24 11:54:54.272 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/string-pivot.js" 2022-05-24 11:54:54.287 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire"}}} 2022-05-24 11:54:54.288 +0200 [debug] (custom-objects.js) updated local store with latest entity hash 2022-05-24 11:54:54.291 +0200 [info] Starting local testing server at http://*:10001/ Append 'dev=true' to your Freshdesk account URL to start testing e.g. https://domain.freshdesk.com/a/tickets/1?dev=true Quit the server with Control-C. 2022-05-24 11:54:54.291 +0200 [info] To test the installation page, visit - http://localhost:10001/custom_configs 2022-05-24 11:55:08.451 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire"}}} 2022-05-24 11:55:08.452 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-24 11:55:08.470 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire"}}} 2022-05-24 13:47:05.661 +0200 [info] NOTE: We recommend a coverage of 80% for apps that are to be published in the public marketplace. 2022-05-24 14:55:23.600 +0200 [debug] (logger.js) Starting FDK in node v12.22.7 on linux 2022-05-24 14:55:31.187 +0200 [debug] (sequelize.js) setting up sqilite at "/home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/.fdk/store.sqlite" 2022-05-24 14:55:32.889 +0200 [debug] (index.js) Running with args {"cmd":"run","gopts":{},"opts":{},"goptArg":{},"optArg":{},"args":[]} 2022-05-24 14:55:32.895 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653382022782}} 2022-05-24 14:55:32.895 +0200 [debug] (updater.js) last check less than an day ago, not looking for updates 2022-05-24 14:55:34.173 +0200 [debug] (manifest.js) Reloading manifest with {"platform-version":"2.2","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"whitelisted-domains":["https://<%= iparam.freshdesk_domain %>.freshdesk.com"],"engines":{"node":"12.22.7","fdk":"7.1.0"}}. 2022-05-24 14:55:34.173 +0200 [debug] (manifest.js) Inferred db as features. 2022-05-24 14:55:34.188 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653382022782}} 2022-05-24 14:55:34.270 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653382022782}} 2022-05-24 14:55:42.938 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653382022782}} 2022-05-24 14:55:49.824 +0200 [debug] (validate.js) asked to skip the following validations,  2022-05-24 14:55:49.825 +0200 [debug] (validate.js) running validator actions 2022-05-24 14:55:49.825 +0200 [debug] (validate.js) running validator app-dir 2022-05-24 14:55:49.826 +0200 [debug] (validate.js) running validator config-dir 2022-05-24 14:55:49.826 +0200 [debug] (config-dir.js) Checking to see if /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/config/ exists. 2022-05-24 14:55:49.826 +0200 [debug] (config-dir.js) Fetched the following config files iparams.json 2022-05-24 14:55:49.826 +0200 [debug] (validate.js) running validator custom-objects 2022-05-24 14:55:49.827 +0200 [debug] (validate.js) running validator event 2022-05-24 14:55:49.827 +0200 [debug] (validate.js) running validator iparam 2022-05-24 14:55:49.833 +0200 [debug] (validate.js) skipping validator lint 2022-05-24 14:55:49.833 +0200 [debug] (validate.js) running validator manifest 2022-05-24 14:55:49.834 +0200 [debug] (manifest.js) running manifest validation with type run_validation 2022-05-24 14:55:49.834 +0200 [debug] (validate.js) skipping validator manifest-dependency 2022-05-24 14:55:49.834 +0200 [debug] (validate.js) running validator oauth 2022-05-24 14:55:49.834 +0200 [debug] (validate.js) skipping validator pkgsize 2022-05-24 14:55:49.834 +0200 [debug] (validate.js) running validator schema 2022-05-24 14:55:49.834 +0200 [debug] (validate.js) running validator version-check 2022-05-24 14:55:49.836 +0200 [debug] (watcher.js) Preparing to watch the following files ./app,./config,./manifest.json 2022-05-24 14:55:49.843 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire"}}} 2022-05-24 14:55:49.843 +0200 [debug] (custom-objects.js) to force or not? false 2022-05-24 14:55:49.843 +0200 [debug] (custom-objects.js) beginning to re-sync db 2022-05-24 14:55:50.304 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/bigint-pivot.js" 2022-05-24 14:55:50.317 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field-choice.js" 2022-05-24 14:55:50.323 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field.js" 2022-05-24 14:55:50.330 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity.js" 2022-05-24 14:55:50.336 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/record.js" 2022-05-24 14:55:50.343 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/string-pivot.js" 2022-05-24 14:55:50.364 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire"}}} 2022-05-24 14:55:50.365 +0200 [debug] (custom-objects.js) updated local store with latest entity hash 2022-05-24 14:55:50.368 +0200 [info] Starting local testing server at http://*:10001/ Append 'dev=true' to your Freshdesk account URL to start testing e.g. https://domain.freshdesk.com/a/tickets/1?dev=true Quit the server with Control-C. 2022-05-24 14:55:50.368 +0200 [info] To test the installation page, visit - http://localhost:10001/custom_configs 2022-05-24 15:05:00.133 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire"}}} 2022-05-24 15:05:00.134 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-24 15:05:00.161 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire"}}} 2022-05-24 15:05:19.959 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire"}}} 2022-05-24 15:21:16.705 +0200 [info] NOTE: We recommend a coverage of 80% for apps that are to be published in the public marketplace. 2022-05-24 15:21:18.509 +0200 [debug] (logger.js) Starting FDK in node v12.22.7 on linux 2022-05-24 15:21:19.084 +0200 [debug] (sequelize.js) setting up sqilite at "/home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/.fdk/store.sqlite" 2022-05-24 15:21:20.000 +0200 [debug] (index.js) Running with args {"cmd":"run","gopts":{},"opts":{},"goptArg":{},"optArg":{},"args":[]} 2022-05-24 15:21:20.001 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653382022782}} 2022-05-24 15:21:20.001 +0200 [debug] (updater.js) last check less than an day ago, not looking for updates 2022-05-24 15:21:20.200 +0200 [debug] (manifest.js) Reloading manifest with {"platform-version":"2.2","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"whitelisted-domains":["https://<%= iparam.freshdesk_domain %>.freshdesk.com"],"engines":{"node":"12.22.7","fdk":"7.1.0"}}. 2022-05-24 15:21:20.201 +0200 [debug] (manifest.js) Inferred db as features. 2022-05-24 15:21:20.202 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653382022782}} 2022-05-24 15:21:20.213 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653382022782}} 2022-05-24 15:21:21.174 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653382022782}} 2022-05-24 15:21:23.789 +0200 [debug] (validate.js) asked to skip the following validations,  2022-05-24 15:21:23.790 +0200 [debug] (validate.js) running validator actions 2022-05-24 15:21:23.790 +0200 [debug] (validate.js) running validator app-dir 2022-05-24 15:21:23.791 +0200 [debug] (validate.js) running validator config-dir 2022-05-24 15:21:23.791 +0200 [debug] (config-dir.js) Checking to see if /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/config/ exists. 2022-05-24 15:21:23.791 +0200 [debug] (config-dir.js) Fetched the following config files iparams.json 2022-05-24 15:21:23.791 +0200 [debug] (validate.js) running validator custom-objects 2022-05-24 15:21:23.791 +0200 [debug] (validate.js) running validator event 2022-05-24 15:21:23.792 +0200 [debug] (validate.js) running validator iparam 2022-05-24 15:21:23.794 +0200 [debug] (validate.js) skipping validator lint 2022-05-24 15:21:23.794 +0200 [debug] (validate.js) running validator manifest 2022-05-24 15:21:23.794 +0200 [debug] (manifest.js) running manifest validation with type run_validation 2022-05-24 15:21:23.794 +0200 [debug] (validate.js) skipping validator manifest-dependency 2022-05-24 15:21:23.794 +0200 [debug] (validate.js) running validator oauth 2022-05-24 15:21:23.794 +0200 [debug] (validate.js) skipping validator pkgsize 2022-05-24 15:21:23.794 +0200 [debug] (validate.js) running validator schema 2022-05-24 15:21:23.795 +0200 [debug] (validate.js) running validator version-check 2022-05-24 15:21:23.797 +0200 [debug] (watcher.js) Preparing to watch the following files ./app,./config,./manifest.json 2022-05-24 15:21:23.804 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-24 15:21:23.804 +0200 [debug] (custom-objects.js) to force or not? false 2022-05-24 15:21:23.804 +0200 [debug] (custom-objects.js) beginning to re-sync db 2022-05-24 15:21:24.182 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/bigint-pivot.js" 2022-05-24 15:21:24.184 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field-choice.js" 2022-05-24 15:21:24.184 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field.js" 2022-05-24 15:21:24.185 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity.js" 2022-05-24 15:21:24.186 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/record.js" 2022-05-24 15:21:24.187 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/string-pivot.js" 2022-05-24 15:21:24.202 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-24 15:21:24.203 +0200 [debug] (custom-objects.js) updated local store with latest entity hash 2022-05-24 15:21:24.207 +0200 [info] Starting local testing server at http://*:10001/ Append 'dev=true' to your Freshdesk account URL to start testing e.g. https://domain.freshdesk.com/a/tickets/1?dev=true Quit the server with Control-C. 2022-05-24 15:21:24.207 +0200 [info] To test the installation page, visit - http://localhost:10001/custom_configs 2022-05-24 15:21:49.789 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-24 15:21:49.790 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-24 15:21:49.835 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-24 15:21:49.835 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-24 15:21:49.887 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-24 15:21:49.888 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-24 15:21:49.935 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-24 15:21:49.935 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-24 15:21:49.954 +0200 [debug] (iframe.js) Responding with contents of /template.html 2022-05-24 15:21:49.970 +0200 [debug] (iframe.js) Responding with contents of /app.js 2022-05-24 15:21:49.970 +0200 [debug] (coverage-util.js) Instrumenting /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/app/app.js 2022-05-24 15:21:50.112 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-24 15:21:50.112 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-24 15:21:50.151 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-24 15:21:50.152 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-24 15:21:50.192 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-24 15:21:50.192 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-24 15:21:52.342 +0200 [debug] (coverage-util.js) Writing coverage. 2022-05-24 15:21:56.507 +0200 [debug] (data-pipe.js) received call for route "proxy" with action "execute" and body {"action":"execute","data":{"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get"}} 2022-05-24 15:21:56.507 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-24 15:21:56.518 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-24 15:21:56.518 +0200 [debug] (proxy.js) Substituing Templates {"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get"} with {"iparam":{"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"oauth_iparams":{}} 2022-05-24 15:21:56.521 +0200 [debug] (proxy.js) Parsed https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452 as {"protocol":"https:","slashes":true,"auth":null,"host":"virtualdropstudio.freshdesk.com","port":null,"hostname":"virtualdropstudio.freshdesk.com","hash":null,"search":null,"query":null,"pathname":"/api/v2/contacts/101026585452","path":"/api/v2/contacts/101026585452","href":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452"} 2022-05-24 15:21:56.525 +0200 [debug] (proxy.js) Checking if the request url is whitelisted in manifest 2022-05-24 15:21:56.525 +0200 [debug] (proxy.js) Matched "https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452" with https://virtualdropstudio.freshdesk.com 2022-05-24 15:21:56.525 +0200 [debug] (proxy.js) Making proxy call with options as {"headers":{"Content-Type":"application/json","Authorization":"Basic eXBsT0hra3gyejJhY1ZRS01DZGU6eA=="},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get","whitelistedDomains":["https://virtualdropstudio.freshdesk.com"],"maxAttempts":1,"retryDelay":0,"timeout":5000} 2022-05-24 15:21:56.803 +0200 [debug] (proxy.js) Proxy came back with error as null, body as "{\"active\":false,\"address\":null,\"description\":null,\"email\":\"loloic3@sfr.fr\",\"id\":1010265 2022-05-24 15:21:56.803 +0200 [debug] (proxy.js) Looking for "application/json" in application/json,application/xml,text/html,text/xml,application/jsonp,text/plain,application/javascript,application/vnd.api+json 2022-05-24 15:21:58.325 +0200 [debug] (coverage-util.js) Writing coverage. 2022-05-24 15:22:25.117 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-24 15:22:25.117 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-24 15:22:25.153 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-24 15:23:07.586 +0200 [info] NOTE: We recommend a coverage of 80% for apps that are to be published in the public marketplace. 2022-05-24 15:23:08.585 +0200 [debug] (logger.js) Starting FDK in node v12.22.7 on linux 2022-05-24 15:23:09.154 +0200 [debug] (sequelize.js) setting up sqilite at "/home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/.fdk/store.sqlite" 2022-05-24 15:23:10.066 +0200 [debug] (index.js) Running with args {"cmd":"run","gopts":{},"opts":{},"goptArg":{},"optArg":{},"args":[]} 2022-05-24 15:23:10.067 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653382022782}} 2022-05-24 15:23:10.067 +0200 [debug] (updater.js) last check less than an day ago, not looking for updates 2022-05-24 15:23:10.258 +0200 [debug] (manifest.js) Reloading manifest with {"platform-version":"2.2","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"whitelisted-domains":["https://<%= iparam.freshdesk_domain %>.freshdesk.com"],"engines":{"node":"12.22.7","fdk":"7.1.0"}}. 2022-05-24 15:23:10.259 +0200 [debug] (manifest.js) Inferred db as features. 2022-05-24 15:23:10.260 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653382022782}} 2022-05-24 15:23:10.270 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653382022782}} 2022-05-24 15:23:11.246 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653382022782}} 2022-05-24 15:23:13.870 +0200 [debug] (validate.js) asked to skip the following validations,  2022-05-24 15:23:13.871 +0200 [debug] (validate.js) running validator actions 2022-05-24 15:23:13.871 +0200 [debug] (validate.js) running validator app-dir 2022-05-24 15:23:13.872 +0200 [debug] (validate.js) running validator config-dir 2022-05-24 15:23:13.872 +0200 [debug] (config-dir.js) Checking to see if /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/config/ exists. 2022-05-24 15:23:13.872 +0200 [debug] (config-dir.js) Fetched the following config files iparams.json 2022-05-24 15:23:13.872 +0200 [debug] (validate.js) running validator custom-objects 2022-05-24 15:23:13.873 +0200 [debug] (validate.js) running validator event 2022-05-24 15:23:13.873 +0200 [debug] (validate.js) running validator iparam 2022-05-24 15:23:13.875 +0200 [debug] (validate.js) skipping validator lint 2022-05-24 15:23:13.875 +0200 [debug] (validate.js) running validator manifest 2022-05-24 15:23:13.875 +0200 [debug] (manifest.js) running manifest validation with type run_validation 2022-05-24 15:23:13.875 +0200 [debug] (validate.js) skipping validator manifest-dependency 2022-05-24 15:23:13.875 +0200 [debug] (validate.js) running validator oauth 2022-05-24 15:23:13.876 +0200 [debug] (validate.js) skipping validator pkgsize 2022-05-24 15:23:13.876 +0200 [debug] (validate.js) running validator schema 2022-05-24 15:23:13.876 +0200 [debug] (validate.js) running validator version-check 2022-05-24 15:23:13.878 +0200 [debug] (watcher.js) Preparing to watch the following files ./app,./config,./manifest.json 2022-05-24 15:23:13.881 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-24 15:23:13.881 +0200 [debug] (custom-objects.js) to force or not? false 2022-05-24 15:23:13.881 +0200 [debug] (custom-objects.js) beginning to re-sync db 2022-05-24 15:23:14.277 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/bigint-pivot.js" 2022-05-24 15:23:14.278 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field-choice.js" 2022-05-24 15:23:14.279 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field.js" 2022-05-24 15:23:14.280 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity.js" 2022-05-24 15:23:14.281 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/record.js" 2022-05-24 15:23:14.282 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/string-pivot.js" 2022-05-24 15:23:14.300 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-24 15:23:14.301 +0200 [debug] (custom-objects.js) updated local store with latest entity hash 2022-05-24 15:23:14.302 +0200 [info] Starting local testing server at http://*:10001/ Append 'dev=true' to your Freshdesk account URL to start testing e.g. https://domain.freshdesk.com/a/tickets/1?dev=true Quit the server with Control-C. 2022-05-24 15:23:14.303 +0200 [info] To test the installation page, visit - http://localhost:10001/custom_configs 2022-05-24 15:23:23.154 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-24 15:23:23.155 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-24 15:23:23.196 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-24 15:23:23.196 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-24 15:23:23.246 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-24 15:23:23.246 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-24 15:23:23.298 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-24 15:23:23.298 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-24 15:23:23.315 +0200 [debug] (iframe.js) Responding with contents of /template.html 2022-05-24 15:23:23.325 +0200 [debug] (iframe.js) Responding with contents of /app.js 2022-05-24 15:23:23.325 +0200 [debug] (coverage-util.js) Instrumenting /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/app/app.js 2022-05-24 15:23:23.454 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-24 15:23:23.455 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-24 15:23:23.493 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-24 15:23:23.494 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-24 15:23:23.530 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-24 15:23:23.531 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-24 15:23:25.586 +0200 [debug] (coverage-util.js) Writing coverage. 2022-05-24 15:23:27.023 +0200 [debug] (data-pipe.js) received call for route "proxy" with action "execute" and body {"action":"execute","data":{"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get"}} 2022-05-24 15:23:27.023 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-24 15:23:27.027 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-24 15:23:27.027 +0200 [debug] (proxy.js) Substituing Templates {"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get"} with {"iparam":{"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"oauth_iparams":{}} 2022-05-24 15:23:27.029 +0200 [debug] (proxy.js) Parsed https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452 as {"protocol":"https:","slashes":true,"auth":null,"host":"virtualdropstudio.freshdesk.com","port":null,"hostname":"virtualdropstudio.freshdesk.com","hash":null,"search":null,"query":null,"pathname":"/api/v2/contacts/101026585452","path":"/api/v2/contacts/101026585452","href":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452"} 2022-05-24 15:23:27.033 +0200 [debug] (proxy.js) Checking if the request url is whitelisted in manifest 2022-05-24 15:23:27.033 +0200 [debug] (proxy.js) Matched "https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452" with https://virtualdropstudio.freshdesk.com 2022-05-24 15:23:27.033 +0200 [debug] (proxy.js) Making proxy call with options as {"headers":{"Content-Type":"application/json","Authorization":"Basic eXBsT0hra3gyejJhY1ZRS01DZGU6eA=="},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get","whitelistedDomains":["https://virtualdropstudio.freshdesk.com"],"maxAttempts":1,"retryDelay":0,"timeout":5000} 2022-05-24 15:23:27.264 +0200 [debug] (proxy.js) Proxy came back with error as null, body as "{\"active\":false,\"address\":null,\"description\":null,\"email\":\"loloic3@sfr.fr\",\"id\":1010265 2022-05-24 15:23:27.264 +0200 [debug] (proxy.js) Looking for "application/json" in application/json,application/xml,text/html,text/xml,application/jsonp,text/plain,application/javascript,application/vnd.api+json 2022-05-24 15:23:27.552 +0200 [debug] (coverage-util.js) Writing coverage. 2022-05-24 16:44:53.532 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-24 16:44:53.533 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-24 16:44:53.574 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-24 16:44:53.575 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-24 16:44:53.624 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-24 16:44:53.624 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-24 16:44:53.685 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-24 16:44:53.686 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-24 16:44:53.700 +0200 [debug] (iframe.js) Responding with contents of /template.html 2022-05-24 16:44:53.710 +0200 [debug] (iframe.js) Responding with contents of /app.js 2022-05-24 16:44:53.711 +0200 [debug] (coverage-util.js) Instrumenting /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/app/app.js 2022-05-24 16:44:53.800 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-24 16:44:53.800 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-24 16:44:53.840 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-24 16:44:53.840 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-24 16:44:53.876 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-24 16:44:53.876 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-24 16:44:55.949 +0200 [debug] (coverage-util.js) Writing coverage. 2022-05-24 16:44:58.666 +0200 [debug] (data-pipe.js) received call for route "proxy" with action "execute" and body {"action":"execute","data":{"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get"}} 2022-05-24 16:44:58.667 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-24 16:44:58.668 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-24 16:44:58.668 +0200 [debug] (proxy.js) Substituing Templates {"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get"} with {"iparam":{"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"oauth_iparams":{}} 2022-05-24 16:44:58.669 +0200 [debug] (proxy.js) Parsed https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452 as {"protocol":"https:","slashes":true,"auth":null,"host":"virtualdropstudio.freshdesk.com","port":null,"hostname":"virtualdropstudio.freshdesk.com","hash":null,"search":null,"query":null,"pathname":"/api/v2/contacts/101026585452","path":"/api/v2/contacts/101026585452","href":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452"} 2022-05-24 16:44:58.673 +0200 [debug] (proxy.js) Checking if the request url is whitelisted in manifest 2022-05-24 16:44:58.673 +0200 [debug] (proxy.js) Matched "https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452" with https://virtualdropstudio.freshdesk.com 2022-05-24 16:44:58.673 +0200 [debug] (proxy.js) Making proxy call with options as {"headers":{"Content-Type":"application/json","Authorization":"Basic eXBsT0hra3gyejJhY1ZRS01DZGU6eA=="},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get","whitelistedDomains":["https://virtualdropstudio.freshdesk.com"],"maxAttempts":1,"retryDelay":0,"timeout":5000} 2022-05-24 16:44:58.856 +0200 [debug] (proxy.js) Proxy came back with error as null, body as "{\"active\":false,\"address\":null,\"description\":null,\"email\":\"loloic3@sfr.fr\",\"id\":1010265 2022-05-24 16:44:58.856 +0200 [debug] (proxy.js) Looking for "application/json" in application/json,application/xml,text/html,text/xml,application/jsonp,text/plain,application/javascript,application/vnd.api+json 2022-05-24 16:44:59.940 +0200 [debug] (coverage-util.js) Writing coverage. 2022-05-24 16:54:30.150 +0200 [info] NOTE: We recommend a coverage of 80% for apps that are to be published in the public marketplace. 2022-05-24 16:54:31.338 +0200 [debug] (logger.js) Starting FDK in node v12.22.7 on linux 2022-05-24 16:54:31.932 +0200 [debug] (sequelize.js) setting up sqilite at "/home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/.fdk/store.sqlite" 2022-05-24 16:54:32.826 +0200 [debug] (index.js) Running with args {"cmd":"run","gopts":{},"opts":{},"goptArg":{},"optArg":{},"args":[]} 2022-05-24 16:54:32.826 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653382022782}} 2022-05-24 16:54:32.827 +0200 [debug] (updater.js) last check less than an day ago, not looking for updates 2022-05-24 16:54:33.029 +0200 [debug] (manifest.js) Reloading manifest with {"platform-version":"2.2","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"whitelisted-domains":["https://<%= iparam.freshdesk_domain %>.freshdesk.com"],"engines":{"node":"12.22.7","fdk":"7.1.0"}}. 2022-05-24 16:54:33.029 +0200 [debug] (manifest.js) Inferred db as features. 2022-05-24 16:54:33.031 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653382022782}} 2022-05-24 16:54:33.041 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653382022782}} 2022-05-24 16:54:34.025 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653382022782}} 2022-05-24 16:54:36.643 +0200 [debug] (validate.js) asked to skip the following validations,  2022-05-24 16:54:36.643 +0200 [debug] (validate.js) running validator actions 2022-05-24 16:54:36.643 +0200 [debug] (validate.js) running validator app-dir 2022-05-24 16:54:36.644 +0200 [debug] (validate.js) running validator config-dir 2022-05-24 16:54:36.644 +0200 [debug] (config-dir.js) Checking to see if /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/config/ exists. 2022-05-24 16:54:36.645 +0200 [debug] (config-dir.js) Fetched the following config files iparams.json 2022-05-24 16:54:36.645 +0200 [debug] (validate.js) running validator custom-objects 2022-05-24 16:54:36.645 +0200 [debug] (validate.js) running validator event 2022-05-24 16:54:36.645 +0200 [debug] (validate.js) running validator iparam 2022-05-24 16:54:36.647 +0200 [debug] (validate.js) skipping validator lint 2022-05-24 16:54:36.647 +0200 [debug] (validate.js) running validator manifest 2022-05-24 16:54:36.648 +0200 [debug] (manifest.js) running manifest validation with type run_validation 2022-05-24 16:54:36.648 +0200 [debug] (validate.js) skipping validator manifest-dependency 2022-05-24 16:54:36.648 +0200 [debug] (validate.js) running validator oauth 2022-05-24 16:54:36.648 +0200 [debug] (validate.js) skipping validator pkgsize 2022-05-24 16:54:36.648 +0200 [debug] (validate.js) running validator schema 2022-05-24 16:54:36.648 +0200 [debug] (validate.js) running validator version-check 2022-05-24 16:54:36.651 +0200 [debug] (watcher.js) Preparing to watch the following files ./app,./config,./manifest.json 2022-05-24 16:54:36.653 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-24 16:54:36.654 +0200 [debug] (custom-objects.js) to force or not? false 2022-05-24 16:54:36.654 +0200 [debug] (custom-objects.js) beginning to re-sync db 2022-05-24 16:54:36.926 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/bigint-pivot.js" 2022-05-24 16:54:36.928 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field-choice.js" 2022-05-24 16:54:36.928 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field.js" 2022-05-24 16:54:36.929 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity.js" 2022-05-24 16:54:36.930 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/record.js" 2022-05-24 16:54:36.931 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/string-pivot.js" 2022-05-24 16:54:36.946 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-24 16:54:36.947 +0200 [debug] (custom-objects.js) updated local store with latest entity hash 2022-05-24 16:54:36.950 +0200 [info] Starting local testing server at http://*:10001/ Append 'dev=true' to your Freshdesk account URL to start testing e.g. https://domain.freshdesk.com/a/tickets/1?dev=true Quit the server with Control-C. 2022-05-24 16:54:36.951 +0200 [info] To test the installation page, visit - http://localhost:10001/custom_configs 2022-05-24 16:54:44.546 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-24 16:54:44.548 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-24 16:54:44.603 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-24 16:54:44.603 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-24 16:54:44.656 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-24 16:54:44.656 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-24 16:54:44.704 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-24 16:54:44.704 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-24 16:54:44.723 +0200 [debug] (iframe.js) Responding with contents of /template.html 2022-05-24 16:54:44.733 +0200 [debug] (iframe.js) Responding with contents of /app.js 2022-05-24 16:54:44.735 +0200 [debug] (coverage-util.js) Instrumenting /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/app/app.js 2022-05-24 16:54:44.868 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-24 16:54:44.868 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-24 16:54:44.905 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-24 16:54:44.906 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-24 16:54:44.948 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-24 16:54:44.950 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-24 16:54:46.977 +0200 [debug] (coverage-util.js) Writing coverage. 2022-05-24 16:54:50.967 +0200 [debug] (coverage-util.js) Writing coverage. 2022-05-24 16:55:10.973 +0200 [debug] (coverage-util.js) Writing coverage. 2022-05-24 16:55:34.118 +0200 [info] NOTE: We recommend a coverage of 80% for apps that are to be published in the public marketplace. 2022-05-24 16:55:35.199 +0200 [debug] (logger.js) Starting FDK in node v12.22.7 on linux 2022-05-24 16:55:35.779 +0200 [debug] (sequelize.js) setting up sqilite at "/home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/.fdk/store.sqlite" 2022-05-24 16:55:36.692 +0200 [debug] (index.js) Running with args {"cmd":"run","gopts":{},"opts":{},"goptArg":{},"optArg":{},"args":[]} 2022-05-24 16:55:36.693 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653382022782}} 2022-05-24 16:55:36.693 +0200 [debug] (updater.js) last check less than an day ago, not looking for updates 2022-05-24 16:55:36.887 +0200 [debug] (manifest.js) Reloading manifest with {"platform-version":"2.2","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"whitelisted-domains":["https://<%= iparam.freshdesk_domain %>.freshdesk.com"],"engines":{"node":"12.22.7","fdk":"7.1.0"}}. 2022-05-24 16:55:36.888 +0200 [debug] (manifest.js) Inferred db as features. 2022-05-24 16:55:36.889 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653382022782}} 2022-05-24 16:55:36.899 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653382022782}} 2022-05-24 16:55:37.877 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653382022782}} 2022-05-24 16:55:40.588 +0200 [debug] (validate.js) asked to skip the following validations,  2022-05-24 16:55:40.588 +0200 [debug] (validate.js) running validator actions 2022-05-24 16:55:40.589 +0200 [debug] (validate.js) running validator app-dir 2022-05-24 16:55:40.589 +0200 [debug] (validate.js) running validator config-dir 2022-05-24 16:55:40.589 +0200 [debug] (config-dir.js) Checking to see if /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/config/ exists. 2022-05-24 16:55:40.590 +0200 [debug] (config-dir.js) Fetched the following config files iparams.json 2022-05-24 16:55:40.590 +0200 [debug] (validate.js) running validator custom-objects 2022-05-24 16:55:40.590 +0200 [debug] (validate.js) running validator event 2022-05-24 16:55:40.590 +0200 [debug] (validate.js) running validator iparam 2022-05-24 16:55:40.592 +0200 [debug] (validate.js) skipping validator lint 2022-05-24 16:55:40.593 +0200 [debug] (validate.js) running validator manifest 2022-05-24 16:55:40.593 +0200 [debug] (manifest.js) running manifest validation with type run_validation 2022-05-24 16:55:40.593 +0200 [debug] (validate.js) skipping validator manifest-dependency 2022-05-24 16:55:40.593 +0200 [debug] (validate.js) running validator oauth 2022-05-24 16:55:40.593 +0200 [debug] (validate.js) skipping validator pkgsize 2022-05-24 16:55:40.593 +0200 [debug] (validate.js) running validator schema 2022-05-24 16:55:40.593 +0200 [debug] (validate.js) running validator version-check 2022-05-24 16:55:40.596 +0200 [debug] (watcher.js) Preparing to watch the following files ./app,./config,./manifest.json 2022-05-24 16:55:40.599 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-24 16:55:40.599 +0200 [debug] (custom-objects.js) to force or not? false 2022-05-24 16:55:40.599 +0200 [debug] (custom-objects.js) beginning to re-sync db 2022-05-24 16:55:40.854 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/bigint-pivot.js" 2022-05-24 16:55:40.856 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field-choice.js" 2022-05-24 16:55:40.856 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field.js" 2022-05-24 16:55:40.857 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity.js" 2022-05-24 16:55:40.858 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/record.js" 2022-05-24 16:55:40.859 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/string-pivot.js" 2022-05-24 16:55:40.874 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-24 16:55:40.875 +0200 [debug] (custom-objects.js) updated local store with latest entity hash 2022-05-24 16:55:40.877 +0200 [info] Starting local testing server at http://*:10001/ Append 'dev=true' to your Freshdesk account URL to start testing e.g. https://domain.freshdesk.com/a/tickets/1?dev=true Quit the server with Control-C. 2022-05-24 16:55:40.878 +0200 [info] To test the installation page, visit - http://localhost:10001/custom_configs 2022-05-24 16:55:47.584 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-24 16:55:47.585 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-24 16:55:47.628 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-24 16:55:47.628 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-24 16:55:47.677 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-24 16:55:47.677 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-24 16:55:47.716 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-24 16:55:47.717 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-24 16:55:47.731 +0200 [debug] (iframe.js) Responding with contents of /template.html 2022-05-24 16:55:47.739 +0200 [debug] (iframe.js) Responding with contents of /app.js 2022-05-24 16:55:47.740 +0200 [debug] (coverage-util.js) Instrumenting /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/app/app.js 2022-05-24 16:55:47.872 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-24 16:55:47.872 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-24 16:55:47.929 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-24 16:55:47.930 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-24 16:55:47.978 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-24 16:55:47.979 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-24 16:55:49.926 +0200 [debug] (coverage-util.js) Writing coverage. 2022-05-24 16:56:14.294 +0200 [debug] (data-pipe.js) received call for route "proxy" with action "execute" and body {"action":"execute","data":{"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get"}} 2022-05-24 16:56:14.295 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-24 16:56:14.298 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-24 16:56:14.298 +0200 [debug] (proxy.js) Substituing Templates {"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get"} with {"iparam":{"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"oauth_iparams":{}} 2022-05-24 16:56:14.300 +0200 [debug] (proxy.js) Parsed https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452 as {"protocol":"https:","slashes":true,"auth":null,"host":"virtualdropstudio.freshdesk.com","port":null,"hostname":"virtualdropstudio.freshdesk.com","hash":null,"search":null,"query":null,"pathname":"/api/v2/contacts/101026585452","path":"/api/v2/contacts/101026585452","href":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452"} 2022-05-24 16:56:14.302 +0200 [debug] (proxy.js) Checking if the request url is whitelisted in manifest 2022-05-24 16:56:14.303 +0200 [debug] (proxy.js) Matched "https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452" with https://virtualdropstudio.freshdesk.com 2022-05-24 16:56:14.303 +0200 [debug] (proxy.js) Making proxy call with options as {"headers":{"Content-Type":"application/json","Authorization":"Basic eXBsT0hra3gyejJhY1ZRS01DZGU6eA=="},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get","whitelistedDomains":["https://virtualdropstudio.freshdesk.com"],"maxAttempts":1,"retryDelay":0,"timeout":5000} 2022-05-24 16:56:14.503 +0200 [debug] (proxy.js) Proxy came back with error as null, body as "{\"active\":false,\"address\":null,\"description\":null,\"email\":\"loloic3@sfr.fr\",\"id\":1010265 2022-05-24 16:56:14.503 +0200 [debug] (proxy.js) Looking for "application/json" in application/json,application/xml,text/html,text/xml,application/jsonp,text/plain,application/javascript,application/vnd.api+json 2022-05-24 16:56:15.902 +0200 [debug] (coverage-util.js) Writing coverage. 2022-05-24 16:58:45.497 +0200 [info] NOTE: We recommend a coverage of 80% for apps that are to be published in the public marketplace. 2022-05-24 16:58:46.382 +0200 [debug] (logger.js) Starting FDK in node v12.22.7 on linux 2022-05-24 16:58:46.962 +0200 [debug] (sequelize.js) setting up sqilite at "/home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/.fdk/store.sqlite" 2022-05-24 16:58:47.860 +0200 [debug] (index.js) Running with args {"cmd":"run","gopts":{},"opts":{},"goptArg":{},"optArg":{},"args":[]} 2022-05-24 16:58:47.860 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653382022782}} 2022-05-24 16:58:47.860 +0200 [debug] (updater.js) last check less than an day ago, not looking for updates 2022-05-24 16:58:48.052 +0200 [debug] (manifest.js) Reloading manifest with {"platform-version":"2.2","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"whitelisted-domains":["https://<%= iparam.freshdesk_domain %>.freshdesk.com"],"engines":{"node":"12.22.7","fdk":"7.1.0"}}. 2022-05-24 16:58:48.052 +0200 [debug] (manifest.js) Inferred db as features. 2022-05-24 16:58:48.054 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653382022782}} 2022-05-24 16:58:48.064 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653382022782}} 2022-05-24 16:58:49.023 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653382022782}} 2022-05-24 16:58:51.630 +0200 [debug] (validate.js) asked to skip the following validations,  2022-05-24 16:58:51.630 +0200 [debug] (validate.js) running validator actions 2022-05-24 16:58:51.631 +0200 [debug] (validate.js) running validator app-dir 2022-05-24 16:58:51.631 +0200 [debug] (validate.js) running validator config-dir 2022-05-24 16:58:51.632 +0200 [debug] (config-dir.js) Checking to see if /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/config/ exists. 2022-05-24 16:58:51.632 +0200 [debug] (config-dir.js) Fetched the following config files iparams.json 2022-05-24 16:58:51.632 +0200 [debug] (validate.js) running validator custom-objects 2022-05-24 16:58:51.632 +0200 [debug] (validate.js) running validator event 2022-05-24 16:58:51.632 +0200 [debug] (validate.js) running validator iparam 2022-05-24 16:58:51.634 +0200 [debug] (validate.js) skipping validator lint 2022-05-24 16:58:51.635 +0200 [debug] (validate.js) running validator manifest 2022-05-24 16:58:51.635 +0200 [debug] (manifest.js) running manifest validation with type run_validation 2022-05-24 16:58:51.635 +0200 [debug] (validate.js) skipping validator manifest-dependency 2022-05-24 16:58:51.635 +0200 [debug] (validate.js) running validator oauth 2022-05-24 16:58:51.635 +0200 [debug] (validate.js) skipping validator pkgsize 2022-05-24 16:58:51.635 +0200 [debug] (validate.js) running validator schema 2022-05-24 16:58:51.635 +0200 [debug] (validate.js) running validator version-check 2022-05-24 16:58:51.638 +0200 [debug] (watcher.js) Preparing to watch the following files ./app,./config,./manifest.json 2022-05-24 16:58:51.640 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-24 16:58:51.641 +0200 [debug] (custom-objects.js) to force or not? false 2022-05-24 16:58:51.641 +0200 [debug] (custom-objects.js) beginning to re-sync db 2022-05-24 16:58:51.910 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/bigint-pivot.js" 2022-05-24 16:58:51.912 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field-choice.js" 2022-05-24 16:58:51.912 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field.js" 2022-05-24 16:58:51.913 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity.js" 2022-05-24 16:58:51.914 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/record.js" 2022-05-24 16:58:51.914 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/string-pivot.js" 2022-05-24 16:58:51.930 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-24 16:58:51.931 +0200 [debug] (custom-objects.js) updated local store with latest entity hash 2022-05-24 16:58:51.934 +0200 [info] Starting local testing server at http://*:10001/ Append 'dev=true' to your Freshdesk account URL to start testing e.g. https://domain.freshdesk.com/a/tickets/1?dev=true Quit the server with Control-C. 2022-05-24 16:58:51.934 +0200 [info] To test the installation page, visit - http://localhost:10001/custom_configs 2022-05-24 16:58:57.268 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-24 16:58:57.269 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-24 16:58:57.316 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-24 16:58:57.317 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-24 16:58:57.392 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-24 16:58:57.393 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-24 16:58:57.434 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-24 16:58:57.434 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-24 16:58:57.450 +0200 [debug] (iframe.js) Responding with contents of /template.html 2022-05-24 16:58:57.459 +0200 [debug] (iframe.js) Responding with contents of /app.js 2022-05-24 16:58:57.460 +0200 [debug] (coverage-util.js) Instrumenting /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/app/app.js 2022-05-24 16:58:57.598 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-24 16:58:57.598 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-24 16:58:57.634 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-24 16:58:57.634 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-24 16:58:57.672 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-24 16:58:57.672 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-24 16:58:59.745 +0200 [debug] (coverage-util.js) Writing coverage. 2022-05-24 16:59:05.732 +0200 [debug] (coverage-util.js) Writing coverage. 2022-05-24 17:00:28.474 +0200 [info] NOTE: We recommend a coverage of 80% for apps that are to be published in the public marketplace. 2022-05-24 17:00:29.744 +0200 [debug] (logger.js) Starting FDK in node v12.22.7 on linux 2022-05-24 17:00:30.330 +0200 [debug] (sequelize.js) setting up sqilite at "/home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/.fdk/store.sqlite" 2022-05-24 17:00:31.234 +0200 [debug] (index.js) Running with args {"cmd":"run","gopts":{},"opts":{},"goptArg":{},"optArg":{},"args":[]} 2022-05-24 17:00:31.235 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653382022782}} 2022-05-24 17:00:31.235 +0200 [debug] (updater.js) last check less than an day ago, not looking for updates 2022-05-24 17:00:31.439 +0200 [debug] (manifest.js) Reloading manifest with {"platform-version":"2.2","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"whitelisted-domains":["https://<%= iparam.freshdesk_domain %>.freshdesk.com"],"engines":{"node":"12.22.7","fdk":"7.1.0"}}. 2022-05-24 17:00:31.440 +0200 [debug] (manifest.js) Inferred db as features. 2022-05-24 17:00:31.441 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653382022782}} 2022-05-24 17:00:31.452 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653382022782}} 2022-05-24 17:00:32.444 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653382022782}} 2022-05-24 17:00:35.100 +0200 [debug] (validate.js) asked to skip the following validations,  2022-05-24 17:00:35.100 +0200 [debug] (validate.js) running validator actions 2022-05-24 17:00:35.100 +0200 [debug] (validate.js) running validator app-dir 2022-05-24 17:00:35.101 +0200 [debug] (validate.js) running validator config-dir 2022-05-24 17:00:35.101 +0200 [debug] (config-dir.js) Checking to see if /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/config/ exists. 2022-05-24 17:00:35.102 +0200 [debug] (config-dir.js) Fetched the following config files iparams.json 2022-05-24 17:00:35.102 +0200 [debug] (validate.js) running validator custom-objects 2022-05-24 17:00:35.102 +0200 [debug] (validate.js) running validator event 2022-05-24 17:00:35.102 +0200 [debug] (validate.js) running validator iparam 2022-05-24 17:00:35.104 +0200 [debug] (validate.js) skipping validator lint 2022-05-24 17:00:35.104 +0200 [debug] (validate.js) running validator manifest 2022-05-24 17:00:35.105 +0200 [debug] (manifest.js) running manifest validation with type run_validation 2022-05-24 17:00:35.105 +0200 [debug] (validate.js) skipping validator manifest-dependency 2022-05-24 17:00:35.105 +0200 [debug] (validate.js) running validator oauth 2022-05-24 17:00:35.105 +0200 [debug] (validate.js) skipping validator pkgsize 2022-05-24 17:00:35.105 +0200 [debug] (validate.js) running validator schema 2022-05-24 17:00:35.105 +0200 [debug] (validate.js) running validator version-check 2022-05-24 17:00:35.108 +0200 [debug] (watcher.js) Preparing to watch the following files ./app,./config,./manifest.json 2022-05-24 17:00:35.111 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-24 17:00:35.111 +0200 [debug] (custom-objects.js) to force or not? false 2022-05-24 17:00:35.111 +0200 [debug] (custom-objects.js) beginning to re-sync db 2022-05-24 17:00:35.520 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/bigint-pivot.js" 2022-05-24 17:00:35.522 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field-choice.js" 2022-05-24 17:00:35.522 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field.js" 2022-05-24 17:00:35.523 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity.js" 2022-05-24 17:00:35.524 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/record.js" 2022-05-24 17:00:35.525 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/string-pivot.js" 2022-05-24 17:00:35.540 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-24 17:00:35.541 +0200 [debug] (custom-objects.js) updated local store with latest entity hash 2022-05-24 17:00:35.544 +0200 [info] Starting local testing server at http://*:10001/ Append 'dev=true' to your Freshdesk account URL to start testing e.g. https://domain.freshdesk.com/a/tickets/1?dev=true Quit the server with Control-C. 2022-05-24 17:00:35.545 +0200 [info] To test the installation page, visit - http://localhost:10001/custom_configs 2022-05-24 17:00:40.430 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-24 17:00:40.430 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-24 17:00:40.471 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-24 17:00:40.471 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-24 17:00:40.518 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-24 17:00:40.518 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-24 17:00:40.556 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-24 17:00:40.556 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-24 17:00:40.571 +0200 [debug] (iframe.js) Responding with contents of /template.html 2022-05-24 17:00:40.580 +0200 [debug] (iframe.js) Responding with contents of /app.js 2022-05-24 17:00:40.580 +0200 [debug] (coverage-util.js) Instrumenting /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/app/app.js 2022-05-24 17:00:40.693 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-24 17:00:40.693 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-24 17:00:40.746 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-24 17:00:40.746 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-24 17:00:40.786 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-24 17:00:40.786 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-24 17:00:42.779 +0200 [debug] (coverage-util.js) Writing coverage. 2022-05-24 17:00:45.921 +0200 [debug] (data-pipe.js) received call for route "proxy" with action "execute" and body {"action":"execute","data":{"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get"}} 2022-05-24 17:00:45.922 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-24 17:00:45.925 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-24 17:00:45.925 +0200 [debug] (proxy.js) Substituing Templates {"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get"} with {"iparam":{"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"oauth_iparams":{}} 2022-05-24 17:00:45.926 +0200 [debug] (proxy.js) Parsed https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452 as {"protocol":"https:","slashes":true,"auth":null,"host":"virtualdropstudio.freshdesk.com","port":null,"hostname":"virtualdropstudio.freshdesk.com","hash":null,"search":null,"query":null,"pathname":"/api/v2/contacts/101026585452","path":"/api/v2/contacts/101026585452","href":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452"} 2022-05-24 17:00:45.929 +0200 [debug] (proxy.js) Checking if the request url is whitelisted in manifest 2022-05-24 17:00:45.929 +0200 [debug] (proxy.js) Matched "https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452" with https://virtualdropstudio.freshdesk.com 2022-05-24 17:00:45.930 +0200 [debug] (proxy.js) Making proxy call with options as {"headers":{"Content-Type":"application/json","Authorization":"Basic eXBsT0hra3gyejJhY1ZRS01DZGU6eA=="},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get","whitelistedDomains":["https://virtualdropstudio.freshdesk.com"],"maxAttempts":1,"retryDelay":0,"timeout":5000} 2022-05-24 17:00:46.153 +0200 [debug] (proxy.js) Proxy came back with error as null, body as "{\"active\":false,\"address\":null,\"description\":null,\"email\":\"loloic3@sfr.fr\",\"id\":1010265 2022-05-24 17:00:46.153 +0200 [debug] (proxy.js) Looking for "application/json" in application/json,application/xml,text/html,text/xml,application/jsonp,text/plain,application/javascript,application/vnd.api+json 2022-05-24 17:00:46.785 +0200 [debug] (coverage-util.js) Writing coverage. 2022-05-24 17:01:02.944 +0200 [debug] (data-pipe.js) received call for route "proxy" with action "execute" and body {"action":"execute","data":{"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get"}} 2022-05-24 17:01:02.945 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-24 17:01:02.945 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-24 17:01:02.946 +0200 [debug] (proxy.js) Substituing Templates {"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get"} with {"iparam":{"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"oauth_iparams":{}} 2022-05-24 17:01:02.946 +0200 [debug] (proxy.js) Parsed https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452 as {"protocol":"https:","slashes":true,"auth":null,"host":"virtualdropstudio.freshdesk.com","port":null,"hostname":"virtualdropstudio.freshdesk.com","hash":null,"search":null,"query":null,"pathname":"/api/v2/contacts/101026585452","path":"/api/v2/contacts/101026585452","href":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452"} 2022-05-24 17:01:02.948 +0200 [debug] (proxy.js) Checking if the request url is whitelisted in manifest 2022-05-24 17:01:02.949 +0200 [debug] (proxy.js) Matched "https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452" with https://virtualdropstudio.freshdesk.com 2022-05-24 17:01:02.949 +0200 [debug] (proxy.js) Making proxy call with options as {"headers":{"Content-Type":"application/json","Authorization":"Basic eXBsT0hra3gyejJhY1ZRS01DZGU6eA=="},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get","whitelistedDomains":["https://virtualdropstudio.freshdesk.com"],"maxAttempts":1,"retryDelay":0,"timeout":5000} 2022-05-24 17:01:03.161 +0200 [debug] (proxy.js) Proxy came back with error as null, body as "{\"active\":false,\"address\":null,\"description\":null,\"email\":\"loloic3@sfr.fr\",\"id\":1010265 2022-05-24 17:01:03.162 +0200 [debug] (proxy.js) Looking for "application/json" in application/json,application/xml,text/html,text/xml,application/jsonp,text/plain,application/javascript,application/vnd.api+json 2022-05-24 17:01:04.784 +0200 [debug] (coverage-util.js) Writing coverage. 2022-05-24 17:02:44.024 +0200 [info] NOTE: We recommend a coverage of 80% for apps that are to be published in the public marketplace. 2022-05-24 17:02:45.502 +0200 [debug] (logger.js) Starting FDK in node v12.22.7 on linux 2022-05-24 17:02:46.089 +0200 [debug] (sequelize.js) setting up sqilite at "/home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/.fdk/store.sqlite" 2022-05-24 17:02:46.984 +0200 [debug] (index.js) Running with args {"cmd":"run","gopts":{},"opts":{},"goptArg":{},"optArg":{},"args":[]} 2022-05-24 17:02:46.985 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653382022782}} 2022-05-24 17:02:46.985 +0200 [debug] (updater.js) last check less than an day ago, not looking for updates 2022-05-24 17:02:47.177 +0200 [debug] (manifest.js) Reloading manifest with {"platform-version":"2.2","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"whitelisted-domains":["https://<%= iparam.freshdesk_domain %>.freshdesk.com"],"engines":{"node":"12.22.7","fdk":"7.1.0"}}. 2022-05-24 17:02:47.178 +0200 [debug] (manifest.js) Inferred db as features. 2022-05-24 17:02:47.179 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653382022782}} 2022-05-24 17:02:47.190 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653382022782}} 2022-05-24 17:02:48.151 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653382022782}} 2022-05-24 17:02:50.786 +0200 [debug] (validate.js) asked to skip the following validations,  2022-05-24 17:02:50.786 +0200 [debug] (validate.js) running validator actions 2022-05-24 17:02:50.786 +0200 [debug] (validate.js) running validator app-dir 2022-05-24 17:02:50.787 +0200 [debug] (validate.js) running validator config-dir 2022-05-24 17:02:50.787 +0200 [debug] (config-dir.js) Checking to see if /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/config/ exists. 2022-05-24 17:02:50.788 +0200 [debug] (config-dir.js) Fetched the following config files iparams.json 2022-05-24 17:02:50.788 +0200 [debug] (validate.js) running validator custom-objects 2022-05-24 17:02:50.788 +0200 [debug] (validate.js) running validator event 2022-05-24 17:02:50.788 +0200 [debug] (validate.js) running validator iparam 2022-05-24 17:02:50.790 +0200 [debug] (validate.js) skipping validator lint 2022-05-24 17:02:50.791 +0200 [debug] (validate.js) running validator manifest 2022-05-24 17:02:50.791 +0200 [debug] (manifest.js) running manifest validation with type run_validation 2022-05-24 17:02:50.791 +0200 [debug] (validate.js) skipping validator manifest-dependency 2022-05-24 17:02:50.791 +0200 [debug] (validate.js) running validator oauth 2022-05-24 17:02:50.791 +0200 [debug] (validate.js) skipping validator pkgsize 2022-05-24 17:02:50.791 +0200 [debug] (validate.js) running validator schema 2022-05-24 17:02:50.791 +0200 [debug] (validate.js) running validator version-check 2022-05-24 17:02:50.794 +0200 [debug] (watcher.js) Preparing to watch the following files ./app,./config,./manifest.json 2022-05-24 17:02:50.796 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-24 17:02:50.797 +0200 [debug] (custom-objects.js) to force or not? false 2022-05-24 17:02:50.797 +0200 [debug] (custom-objects.js) beginning to re-sync db 2022-05-24 17:02:51.197 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/bigint-pivot.js" 2022-05-24 17:02:51.198 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field-choice.js" 2022-05-24 17:02:51.199 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field.js" 2022-05-24 17:02:51.200 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity.js" 2022-05-24 17:02:51.201 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/record.js" 2022-05-24 17:02:51.201 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/string-pivot.js" 2022-05-24 17:02:51.216 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-24 17:02:51.217 +0200 [debug] (custom-objects.js) updated local store with latest entity hash 2022-05-24 17:02:51.220 +0200 [info] Starting local testing server at http://*:10001/ Append 'dev=true' to your Freshdesk account URL to start testing e.g. https://domain.freshdesk.com/a/tickets/1?dev=true Quit the server with Control-C. 2022-05-24 17:02:51.221 +0200 [info] To test the installation page, visit - http://localhost:10001/custom_configs 2022-05-24 17:03:01.492 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-24 17:03:01.493 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-24 17:03:01.536 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-24 17:03:01.537 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-24 17:03:01.588 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-24 17:03:01.589 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-24 17:03:01.629 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-24 17:03:01.629 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-24 17:03:01.644 +0200 [debug] (iframe.js) Responding with contents of /template.html 2022-05-24 17:03:01.653 +0200 [debug] (iframe.js) Responding with contents of /app.js 2022-05-24 17:03:01.655 +0200 [debug] (coverage-util.js) Instrumenting /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/app/app.js 2022-05-24 17:03:01.790 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-24 17:03:01.791 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-24 17:03:01.842 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-24 17:03:01.842 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-24 17:03:01.877 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-24 17:03:01.877 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-24 17:03:03.837 +0200 [debug] (coverage-util.js) Writing coverage. 2022-05-24 17:03:11.667 +0200 [debug] (data-pipe.js) received call for route "proxy" with action "execute" and body {"action":"execute","data":{"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get"}} 2022-05-24 17:03:11.668 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-24 17:03:11.672 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-24 17:03:11.672 +0200 [debug] (proxy.js) Substituing Templates {"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get"} with {"iparam":{"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"oauth_iparams":{}} 2022-05-24 17:03:11.675 +0200 [debug] (proxy.js) Parsed https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452 as {"protocol":"https:","slashes":true,"auth":null,"host":"virtualdropstudio.freshdesk.com","port":null,"hostname":"virtualdropstudio.freshdesk.com","hash":null,"search":null,"query":null,"pathname":"/api/v2/contacts/101026585452","path":"/api/v2/contacts/101026585452","href":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452"} 2022-05-24 17:03:11.678 +0200 [debug] (proxy.js) Checking if the request url is whitelisted in manifest 2022-05-24 17:03:11.678 +0200 [debug] (proxy.js) Matched "https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452" with https://virtualdropstudio.freshdesk.com 2022-05-24 17:03:11.679 +0200 [debug] (proxy.js) Making proxy call with options as {"headers":{"Content-Type":"application/json","Authorization":"Basic eXBsT0hra3gyejJhY1ZRS01DZGU6eA=="},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get","whitelistedDomains":["https://virtualdropstudio.freshdesk.com"],"maxAttempts":1,"retryDelay":0,"timeout":5000} 2022-05-24 17:03:11.824 +0200 [debug] (coverage-util.js) Writing coverage. 2022-05-24 17:03:11.923 +0200 [debug] (proxy.js) Proxy came back with error as null, body as "{\"active\":false,\"address\":null,\"description\":null,\"email\":\"loloic3@sfr.fr\",\"id\":1010265 2022-05-24 17:03:11.923 +0200 [debug] (proxy.js) Looking for "application/json" in application/json,application/xml,text/html,text/xml,application/jsonp,text/plain,application/javascript,application/vnd.api+json 2022-05-24 17:03:13.826 +0200 [debug] (coverage-util.js) Writing coverage. 2022-05-24 17:03:51.256 +0200 [info] NOTE: We recommend a coverage of 80% for apps that are to be published in the public marketplace. 2022-05-24 17:03:52.613 +0200 [debug] (logger.js) Starting FDK in node v12.22.7 on linux 2022-05-24 17:03:53.191 +0200 [debug] (sequelize.js) setting up sqilite at "/home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/.fdk/store.sqlite" 2022-05-24 17:03:54.088 +0200 [debug] (index.js) Running with args {"cmd":"run","gopts":{},"opts":{},"goptArg":{},"optArg":{},"args":[]} 2022-05-24 17:03:54.089 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653382022782}} 2022-05-24 17:03:54.089 +0200 [debug] (updater.js) last check less than an day ago, not looking for updates 2022-05-24 17:03:54.283 +0200 [debug] (manifest.js) Reloading manifest with {"platform-version":"2.2","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"whitelisted-domains":["https://<%= iparam.freshdesk_domain %>.freshdesk.com"],"engines":{"node":"12.22.7","fdk":"7.1.0"}}. 2022-05-24 17:03:54.283 +0200 [debug] (manifest.js) Inferred db as features. 2022-05-24 17:03:54.285 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653382022782}} 2022-05-24 17:03:54.295 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653382022782}} 2022-05-24 17:03:55.254 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653382022782}} 2022-05-24 17:03:57.875 +0200 [debug] (validate.js) asked to skip the following validations,  2022-05-24 17:03:57.875 +0200 [debug] (validate.js) running validator actions 2022-05-24 17:03:57.876 +0200 [debug] (validate.js) running validator app-dir 2022-05-24 17:03:57.876 +0200 [debug] (validate.js) running validator config-dir 2022-05-24 17:03:57.877 +0200 [debug] (config-dir.js) Checking to see if /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/config/ exists. 2022-05-24 17:03:57.877 +0200 [debug] (config-dir.js) Fetched the following config files iparams.json 2022-05-24 17:03:57.877 +0200 [debug] (validate.js) running validator custom-objects 2022-05-24 17:03:57.877 +0200 [debug] (validate.js) running validator event 2022-05-24 17:03:57.877 +0200 [debug] (validate.js) running validator iparam 2022-05-24 17:03:57.880 +0200 [debug] (validate.js) skipping validator lint 2022-05-24 17:03:57.880 +0200 [debug] (validate.js) running validator manifest 2022-05-24 17:03:57.880 +0200 [debug] (manifest.js) running manifest validation with type run_validation 2022-05-24 17:03:57.880 +0200 [debug] (validate.js) skipping validator manifest-dependency 2022-05-24 17:03:57.880 +0200 [debug] (validate.js) running validator oauth 2022-05-24 17:03:57.880 +0200 [debug] (validate.js) skipping validator pkgsize 2022-05-24 17:03:57.880 +0200 [debug] (validate.js) running validator schema 2022-05-24 17:03:57.880 +0200 [debug] (validate.js) running validator version-check 2022-05-24 17:03:57.883 +0200 [debug] (watcher.js) Preparing to watch the following files ./app,./config,./manifest.json 2022-05-24 17:03:57.886 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-24 17:03:57.886 +0200 [debug] (custom-objects.js) to force or not? false 2022-05-24 17:03:57.886 +0200 [debug] (custom-objects.js) beginning to re-sync db 2022-05-24 17:03:58.291 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/bigint-pivot.js" 2022-05-24 17:03:58.292 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field-choice.js" 2022-05-24 17:03:58.293 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field.js" 2022-05-24 17:03:58.294 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity.js" 2022-05-24 17:03:58.294 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/record.js" 2022-05-24 17:03:58.295 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/string-pivot.js" 2022-05-24 17:03:58.310 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-24 17:03:58.311 +0200 [debug] (custom-objects.js) updated local store with latest entity hash 2022-05-24 17:03:58.314 +0200 [info] Starting local testing server at http://*:10001/ Append 'dev=true' to your Freshdesk account URL to start testing e.g. https://domain.freshdesk.com/a/tickets/1?dev=true Quit the server with Control-C. 2022-05-24 17:03:58.315 +0200 [info] To test the installation page, visit - http://localhost:10001/custom_configs 2022-05-24 17:04:17.278 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-24 17:04:17.278 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-24 17:04:17.317 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-24 17:04:17.318 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-24 17:04:17.367 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-24 17:04:17.367 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-24 17:04:17.404 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-24 17:04:17.404 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-24 17:04:17.419 +0200 [debug] (iframe.js) Responding with contents of /template.html 2022-05-24 17:04:17.429 +0200 [debug] (iframe.js) Responding with contents of /app.js 2022-05-24 17:04:17.430 +0200 [debug] (coverage-util.js) Instrumenting /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/app/app.js 2022-05-24 17:04:17.573 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-24 17:04:17.573 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-24 17:04:17.623 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-24 17:04:17.623 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-24 17:04:17.675 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-24 17:04:17.675 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-24 17:04:19.612 +0200 [debug] (coverage-util.js) Writing coverage. 2022-05-24 17:04:25.882 +0200 [debug] (data-pipe.js) received call for route "proxy" with action "execute" and body {"action":"execute","data":{"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get"}} 2022-05-24 17:04:25.883 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-24 17:04:25.885 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-24 17:04:25.885 +0200 [debug] (proxy.js) Substituing Templates {"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get"} with {"iparam":{"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"oauth_iparams":{}} 2022-05-24 17:04:25.887 +0200 [debug] (proxy.js) Parsed https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452 as {"protocol":"https:","slashes":true,"auth":null,"host":"virtualdropstudio.freshdesk.com","port":null,"hostname":"virtualdropstudio.freshdesk.com","hash":null,"search":null,"query":null,"pathname":"/api/v2/contacts/101026585452","path":"/api/v2/contacts/101026585452","href":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452"} 2022-05-24 17:04:25.889 +0200 [debug] (proxy.js) Checking if the request url is whitelisted in manifest 2022-05-24 17:04:25.890 +0200 [debug] (proxy.js) Matched "https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452" with https://virtualdropstudio.freshdesk.com 2022-05-24 17:04:25.890 +0200 [debug] (proxy.js) Making proxy call with options as {"headers":{"Content-Type":"application/json","Authorization":"Basic eXBsT0hra3gyejJhY1ZRS01DZGU6eA=="},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get","whitelistedDomains":["https://virtualdropstudio.freshdesk.com"],"maxAttempts":1,"retryDelay":0,"timeout":5000} 2022-05-24 17:04:26.127 +0200 [debug] (proxy.js) Proxy came back with error as null, body as "{\"active\":false,\"address\":null,\"description\":null,\"email\":\"loloic3@sfr.fr\",\"id\":1010265 2022-05-24 17:04:26.127 +0200 [debug] (proxy.js) Looking for "application/json" in application/json,application/xml,text/html,text/xml,application/jsonp,text/plain,application/javascript,application/vnd.api+json 2022-05-24 17:04:27.610 +0200 [debug] (coverage-util.js) Writing coverage. 2022-05-24 17:04:57.430 +0200 [info] NOTE: We recommend a coverage of 80% for apps that are to be published in the public marketplace. 2022-05-24 17:04:58.493 +0200 [debug] (logger.js) Starting FDK in node v12.22.7 on linux 2022-05-24 17:04:59.064 +0200 [debug] (sequelize.js) setting up sqilite at "/home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/.fdk/store.sqlite" 2022-05-24 17:04:59.960 +0200 [debug] (index.js) Running with args {"cmd":"run","gopts":{},"opts":{},"goptArg":{},"optArg":{},"args":[]} 2022-05-24 17:04:59.960 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653382022782}} 2022-05-24 17:04:59.961 +0200 [debug] (updater.js) last check less than an day ago, not looking for updates 2022-05-24 17:05:00.163 +0200 [debug] (manifest.js) Reloading manifest with {"platform-version":"2.2","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"whitelisted-domains":["https://<%= iparam.freshdesk_domain %>.freshdesk.com"],"engines":{"node":"12.22.7","fdk":"7.1.0"}}. 2022-05-24 17:05:00.163 +0200 [debug] (manifest.js) Inferred db as features. 2022-05-24 17:05:00.165 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653382022782}} 2022-05-24 17:05:00.175 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653382022782}} 2022-05-24 17:05:01.142 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653382022782}} 2022-05-24 17:05:03.768 +0200 [debug] (validate.js) asked to skip the following validations,  2022-05-24 17:05:03.768 +0200 [debug] (validate.js) running validator actions 2022-05-24 17:05:03.768 +0200 [debug] (validate.js) running validator app-dir 2022-05-24 17:05:03.769 +0200 [debug] (validate.js) running validator config-dir 2022-05-24 17:05:03.769 +0200 [debug] (config-dir.js) Checking to see if /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/config/ exists. 2022-05-24 17:05:03.770 +0200 [debug] (config-dir.js) Fetched the following config files iparams.json 2022-05-24 17:05:03.770 +0200 [debug] (validate.js) running validator custom-objects 2022-05-24 17:05:03.770 +0200 [debug] (validate.js) running validator event 2022-05-24 17:05:03.770 +0200 [debug] (validate.js) running validator iparam 2022-05-24 17:05:03.773 +0200 [debug] (validate.js) skipping validator lint 2022-05-24 17:05:03.773 +0200 [debug] (validate.js) running validator manifest 2022-05-24 17:05:03.773 +0200 [debug] (manifest.js) running manifest validation with type run_validation 2022-05-24 17:05:03.773 +0200 [debug] (validate.js) skipping validator manifest-dependency 2022-05-24 17:05:03.773 +0200 [debug] (validate.js) running validator oauth 2022-05-24 17:05:03.773 +0200 [debug] (validate.js) skipping validator pkgsize 2022-05-24 17:05:03.773 +0200 [debug] (validate.js) running validator schema 2022-05-24 17:05:03.773 +0200 [debug] (validate.js) running validator version-check 2022-05-24 17:05:03.776 +0200 [debug] (watcher.js) Preparing to watch the following files ./app,./config,./manifest.json 2022-05-24 17:05:03.779 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-24 17:05:03.779 +0200 [debug] (custom-objects.js) to force or not? false 2022-05-24 17:05:03.779 +0200 [debug] (custom-objects.js) beginning to re-sync db 2022-05-24 17:05:04.176 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/bigint-pivot.js" 2022-05-24 17:05:04.177 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field-choice.js" 2022-05-24 17:05:04.178 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field.js" 2022-05-24 17:05:04.179 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity.js" 2022-05-24 17:05:04.179 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/record.js" 2022-05-24 17:05:04.180 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/string-pivot.js" 2022-05-24 17:05:04.195 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-24 17:05:04.196 +0200 [debug] (custom-objects.js) updated local store with latest entity hash 2022-05-24 17:05:04.199 +0200 [info] Starting local testing server at http://*:10001/ Append 'dev=true' to your Freshdesk account URL to start testing e.g. https://domain.freshdesk.com/a/tickets/1?dev=true Quit the server with Control-C. 2022-05-24 17:05:04.200 +0200 [info] To test the installation page, visit - http://localhost:10001/custom_configs 2022-05-24 17:05:10.281 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-24 17:05:10.282 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-24 17:05:10.330 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-24 17:05:10.331 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-24 17:05:10.391 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-24 17:05:10.392 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-24 17:05:10.440 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-24 17:05:10.441 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-24 17:05:10.459 +0200 [debug] (iframe.js) Responding with contents of /template.html 2022-05-24 17:05:10.467 +0200 [debug] (iframe.js) Responding with contents of /app.js 2022-05-24 17:05:10.467 +0200 [debug] (coverage-util.js) Instrumenting /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/app/app.js 2022-05-24 17:05:10.586 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-24 17:05:10.586 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-24 17:05:10.627 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-24 17:05:10.627 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-24 17:05:10.675 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-24 17:05:10.675 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-24 17:05:12.648 +0200 [debug] (coverage-util.js) Writing coverage. 2022-05-24 17:05:16.626 +0200 [debug] (coverage-util.js) Writing coverage. 2022-05-24 17:07:22.915 +0200 [info] NOTE: We recommend a coverage of 80% for apps that are to be published in the public marketplace. 2022-05-24 17:07:24.592 +0200 [debug] (logger.js) Starting FDK in node v12.22.7 on linux 2022-05-24 17:07:25.166 +0200 [debug] (sequelize.js) setting up sqilite at "/home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/.fdk/store.sqlite" 2022-05-24 17:07:26.073 +0200 [debug] (index.js) Running with args {"cmd":"run","gopts":{},"opts":{},"goptArg":{},"optArg":{},"args":[]} 2022-05-24 17:07:26.074 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653382022782}} 2022-05-24 17:07:26.074 +0200 [debug] (updater.js) last check less than an day ago, not looking for updates 2022-05-24 17:07:26.270 +0200 [debug] (manifest.js) Reloading manifest with {"platform-version":"2.2","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"whitelisted-domains":["https://<%= iparam.freshdesk_domain %>.freshdesk.com"],"engines":{"node":"12.22.7","fdk":"7.1.0"}}. 2022-05-24 17:07:26.270 +0200 [debug] (manifest.js) Inferred db as features. 2022-05-24 17:07:26.272 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653382022782}} 2022-05-24 17:07:26.282 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653382022782}} 2022-05-24 17:07:27.248 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653382022782}} 2022-05-24 17:07:29.860 +0200 [debug] (validate.js) asked to skip the following validations,  2022-05-24 17:07:29.861 +0200 [debug] (validate.js) running validator actions 2022-05-24 17:07:29.861 +0200 [debug] (validate.js) running validator app-dir 2022-05-24 17:07:29.862 +0200 [debug] (validate.js) running validator config-dir 2022-05-24 17:07:29.862 +0200 [debug] (config-dir.js) Checking to see if /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/config/ exists. 2022-05-24 17:07:29.862 +0200 [debug] (config-dir.js) Fetched the following config files iparams.json 2022-05-24 17:07:29.862 +0200 [debug] (validate.js) running validator custom-objects 2022-05-24 17:07:29.862 +0200 [debug] (validate.js) running validator event 2022-05-24 17:07:29.863 +0200 [debug] (validate.js) running validator iparam 2022-05-24 17:07:29.865 +0200 [debug] (validate.js) skipping validator lint 2022-05-24 17:07:29.865 +0200 [debug] (validate.js) running validator manifest 2022-05-24 17:07:29.865 +0200 [debug] (manifest.js) running manifest validation with type run_validation 2022-05-24 17:07:29.866 +0200 [debug] (validate.js) skipping validator manifest-dependency 2022-05-24 17:07:29.866 +0200 [debug] (validate.js) running validator oauth 2022-05-24 17:07:29.866 +0200 [debug] (validate.js) skipping validator pkgsize 2022-05-24 17:07:29.866 +0200 [debug] (validate.js) running validator schema 2022-05-24 17:07:29.866 +0200 [debug] (validate.js) running validator version-check 2022-05-24 17:07:29.868 +0200 [debug] (watcher.js) Preparing to watch the following files ./app,./config,./manifest.json 2022-05-24 17:07:29.871 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-24 17:07:29.871 +0200 [debug] (custom-objects.js) to force or not? false 2022-05-24 17:07:29.871 +0200 [debug] (custom-objects.js) beginning to re-sync db 2022-05-24 17:07:30.255 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/bigint-pivot.js" 2022-05-24 17:07:30.257 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field-choice.js" 2022-05-24 17:07:30.257 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field.js" 2022-05-24 17:07:30.258 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity.js" 2022-05-24 17:07:30.259 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/record.js" 2022-05-24 17:07:30.260 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/string-pivot.js" 2022-05-24 17:07:30.275 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-24 17:07:30.276 +0200 [debug] (custom-objects.js) updated local store with latest entity hash 2022-05-24 17:07:30.279 +0200 [info] Starting local testing server at http://*:10001/ Append 'dev=true' to your Freshdesk account URL to start testing e.g. https://domain.freshdesk.com/a/tickets/1?dev=true Quit the server with Control-C. 2022-05-24 17:07:30.280 +0200 [info] To test the installation page, visit - http://localhost:10001/custom_configs 2022-05-24 17:07:39.645 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-24 17:07:39.646 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-24 17:07:39.688 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-24 17:07:39.688 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-24 17:07:39.739 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-24 17:07:39.739 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-24 17:07:39.779 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-24 17:07:39.779 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-24 17:07:39.794 +0200 [debug] (iframe.js) Responding with contents of /template.html 2022-05-24 17:07:39.803 +0200 [debug] (iframe.js) Responding with contents of /app.js 2022-05-24 17:07:39.803 +0200 [debug] (coverage-util.js) Instrumenting /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/app/app.js 2022-05-24 17:07:39.918 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-24 17:07:39.918 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-24 17:07:39.959 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-24 17:07:39.960 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-24 17:07:40.006 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-24 17:07:40.006 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-24 17:07:41.964 +0200 [debug] (coverage-util.js) Writing coverage. 2022-05-24 17:07:46.784 +0200 [debug] (data-pipe.js) received call for route "proxy" with action "execute" and body {"action":"execute","data":{"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get"}} 2022-05-24 17:07:46.785 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-24 17:07:46.788 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-24 17:07:46.789 +0200 [debug] (proxy.js) Substituing Templates {"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get"} with {"iparam":{"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"oauth_iparams":{}} 2022-05-24 17:07:46.791 +0200 [debug] (proxy.js) Parsed https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452 as {"protocol":"https:","slashes":true,"auth":null,"host":"virtualdropstudio.freshdesk.com","port":null,"hostname":"virtualdropstudio.freshdesk.com","hash":null,"search":null,"query":null,"pathname":"/api/v2/contacts/101026585452","path":"/api/v2/contacts/101026585452","href":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452"} 2022-05-24 17:07:46.795 +0200 [debug] (proxy.js) Checking if the request url is whitelisted in manifest 2022-05-24 17:07:46.795 +0200 [debug] (proxy.js) Matched "https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452" with https://virtualdropstudio.freshdesk.com 2022-05-24 17:07:46.795 +0200 [debug] (proxy.js) Making proxy call with options as {"headers":{"Content-Type":"application/json","Authorization":"Basic eXBsT0hra3gyejJhY1ZRS01DZGU6eA=="},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get","whitelistedDomains":["https://virtualdropstudio.freshdesk.com"],"maxAttempts":1,"retryDelay":0,"timeout":5000} 2022-05-24 17:07:47.055 +0200 [debug] (proxy.js) Proxy came back with error as null, body as "{\"active\":false,\"address\":null,\"description\":null,\"email\":\"loloic3@sfr.fr\",\"id\":1010265 2022-05-24 17:07:47.055 +0200 [debug] (proxy.js) Looking for "application/json" in application/json,application/xml,text/html,text/xml,application/jsonp,text/plain,application/javascript,application/vnd.api+json 2022-05-24 17:07:47.955 +0200 [debug] (coverage-util.js) Writing coverage. 2022-05-24 17:08:15.204 +0200 [info] NOTE: We recommend a coverage of 80% for apps that are to be published in the public marketplace. 2022-05-24 17:08:16.138 +0200 [debug] (logger.js) Starting FDK in node v12.22.7 on linux 2022-05-24 17:08:16.713 +0200 [debug] (sequelize.js) setting up sqilite at "/home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/.fdk/store.sqlite" 2022-05-24 17:08:17.616 +0200 [debug] (index.js) Running with args {"cmd":"run","gopts":{},"opts":{},"goptArg":{},"optArg":{},"args":[]} 2022-05-24 17:08:17.616 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653382022782}} 2022-05-24 17:08:17.616 +0200 [debug] (updater.js) last check less than an day ago, not looking for updates 2022-05-24 17:08:17.810 +0200 [debug] (manifest.js) Reloading manifest with {"platform-version":"2.2","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"whitelisted-domains":["https://<%= iparam.freshdesk_domain %>.freshdesk.com"],"engines":{"node":"12.22.7","fdk":"7.1.0"}}. 2022-05-24 17:08:17.811 +0200 [debug] (manifest.js) Inferred db as features. 2022-05-24 17:08:17.812 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653382022782}} 2022-05-24 17:08:17.822 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653382022782}} 2022-05-24 17:08:18.793 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653382022782}} 2022-05-24 17:08:21.404 +0200 [debug] (validate.js) asked to skip the following validations,  2022-05-24 17:08:21.405 +0200 [debug] (validate.js) running validator actions 2022-05-24 17:08:21.405 +0200 [debug] (validate.js) running validator app-dir 2022-05-24 17:08:21.406 +0200 [debug] (validate.js) running validator config-dir 2022-05-24 17:08:21.406 +0200 [debug] (config-dir.js) Checking to see if /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/config/ exists. 2022-05-24 17:08:21.406 +0200 [debug] (config-dir.js) Fetched the following config files iparams.json 2022-05-24 17:08:21.406 +0200 [debug] (validate.js) running validator custom-objects 2022-05-24 17:08:21.407 +0200 [debug] (validate.js) running validator event 2022-05-24 17:08:21.407 +0200 [debug] (validate.js) running validator iparam 2022-05-24 17:08:21.409 +0200 [debug] (validate.js) skipping validator lint 2022-05-24 17:08:21.409 +0200 [debug] (validate.js) running validator manifest 2022-05-24 17:08:21.410 +0200 [debug] (manifest.js) running manifest validation with type run_validation 2022-05-24 17:08:21.410 +0200 [debug] (validate.js) skipping validator manifest-dependency 2022-05-24 17:08:21.410 +0200 [debug] (validate.js) running validator oauth 2022-05-24 17:08:21.410 +0200 [debug] (validate.js) skipping validator pkgsize 2022-05-24 17:08:21.410 +0200 [debug] (validate.js) running validator schema 2022-05-24 17:08:21.410 +0200 [debug] (validate.js) running validator version-check 2022-05-24 17:08:21.413 +0200 [debug] (watcher.js) Preparing to watch the following files ./app,./config,./manifest.json 2022-05-24 17:08:21.415 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-24 17:08:21.416 +0200 [debug] (custom-objects.js) to force or not? false 2022-05-24 17:08:21.416 +0200 [debug] (custom-objects.js) beginning to re-sync db 2022-05-24 17:08:21.830 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/bigint-pivot.js" 2022-05-24 17:08:21.831 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field-choice.js" 2022-05-24 17:08:21.832 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field.js" 2022-05-24 17:08:21.833 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity.js" 2022-05-24 17:08:21.833 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/record.js" 2022-05-24 17:08:21.834 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/string-pivot.js" 2022-05-24 17:08:21.850 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-24 17:08:21.851 +0200 [debug] (custom-objects.js) updated local store with latest entity hash 2022-05-24 17:08:21.854 +0200 [info] Starting local testing server at http://*:10001/ Append 'dev=true' to your Freshdesk account URL to start testing e.g. https://domain.freshdesk.com/a/tickets/1?dev=true Quit the server with Control-C. 2022-05-24 17:08:21.855 +0200 [info] To test the installation page, visit - http://localhost:10001/custom_configs 2022-05-24 17:08:29.852 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-24 17:08:29.853 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-24 17:08:29.893 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-24 17:08:29.894 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-24 17:08:29.943 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-24 17:08:29.943 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-24 17:08:29.982 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-24 17:08:29.982 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-24 17:08:29.997 +0200 [debug] (iframe.js) Responding with contents of /template.html 2022-05-24 17:08:30.006 +0200 [debug] (iframe.js) Responding with contents of /app.js 2022-05-24 17:08:30.007 +0200 [debug] (coverage-util.js) Instrumenting /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/app/app.js 2022-05-24 17:08:30.144 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-24 17:08:30.145 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-24 17:08:30.197 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-24 17:08:30.197 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-24 17:08:30.245 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-24 17:08:30.246 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-24 17:08:32.182 +0200 [debug] (coverage-util.js) Writing coverage. 2022-05-24 17:08:35.730 +0200 [debug] (data-pipe.js) received call for route "proxy" with action "execute" and body {"action":"execute","data":{"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get"}} 2022-05-24 17:08:35.731 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-24 17:08:35.735 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-24 17:08:35.735 +0200 [debug] (proxy.js) Substituing Templates {"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get"} with {"iparam":{"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"oauth_iparams":{}} 2022-05-24 17:08:35.737 +0200 [debug] (proxy.js) Parsed https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452 as {"protocol":"https:","slashes":true,"auth":null,"host":"virtualdropstudio.freshdesk.com","port":null,"hostname":"virtualdropstudio.freshdesk.com","hash":null,"search":null,"query":null,"pathname":"/api/v2/contacts/101026585452","path":"/api/v2/contacts/101026585452","href":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452"} 2022-05-24 17:08:35.739 +0200 [debug] (proxy.js) Checking if the request url is whitelisted in manifest 2022-05-24 17:08:35.740 +0200 [debug] (proxy.js) Matched "https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452" with https://virtualdropstudio.freshdesk.com 2022-05-24 17:08:35.740 +0200 [debug] (proxy.js) Making proxy call with options as {"headers":{"Content-Type":"application/json","Authorization":"Basic eXBsT0hra3gyejJhY1ZRS01DZGU6eA=="},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get","whitelistedDomains":["https://virtualdropstudio.freshdesk.com"],"maxAttempts":1,"retryDelay":0,"timeout":5000} 2022-05-24 17:08:35.936 +0200 [debug] (proxy.js) Proxy came back with error as null, body as "{\"active\":false,\"address\":null,\"description\":null,\"email\":\"loloic3@sfr.fr\",\"id\":1010265 2022-05-24 17:08:35.936 +0200 [debug] (proxy.js) Looking for "application/json" in application/json,application/xml,text/html,text/xml,application/jsonp,text/plain,application/javascript,application/vnd.api+json 2022-05-24 17:08:36.177 +0200 [debug] (coverage-util.js) Writing coverage. 2022-05-24 17:08:55.663 +0200 [info] NOTE: We recommend a coverage of 80% for apps that are to be published in the public marketplace. 2022-05-24 17:08:56.876 +0200 [debug] (logger.js) Starting FDK in node v12.22.7 on linux 2022-05-24 17:08:57.453 +0200 [debug] (sequelize.js) setting up sqilite at "/home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/.fdk/store.sqlite" 2022-05-24 17:08:58.344 +0200 [debug] (index.js) Running with args {"cmd":"run","gopts":{},"opts":{},"goptArg":{},"optArg":{},"args":[]} 2022-05-24 17:08:58.345 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653382022782}} 2022-05-24 17:08:58.345 +0200 [debug] (updater.js) last check less than an day ago, not looking for updates 2022-05-24 17:08:58.539 +0200 [debug] (manifest.js) Reloading manifest with {"platform-version":"2.2","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"whitelisted-domains":["https://<%= iparam.freshdesk_domain %>.freshdesk.com"],"engines":{"node":"12.22.7","fdk":"7.1.0"}}. 2022-05-24 17:08:58.539 +0200 [debug] (manifest.js) Inferred db as features. 2022-05-24 17:08:58.541 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653382022782}} 2022-05-24 17:08:58.551 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653382022782}} 2022-05-24 17:08:59.504 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653382022782}} 2022-05-24 17:09:02.140 +0200 [debug] (validate.js) asked to skip the following validations,  2022-05-24 17:09:02.141 +0200 [debug] (validate.js) running validator actions 2022-05-24 17:09:02.141 +0200 [debug] (validate.js) running validator app-dir 2022-05-24 17:09:02.142 +0200 [debug] (validate.js) running validator config-dir 2022-05-24 17:09:02.142 +0200 [debug] (config-dir.js) Checking to see if /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/config/ exists. 2022-05-24 17:09:02.142 +0200 [debug] (config-dir.js) Fetched the following config files iparams.json 2022-05-24 17:09:02.142 +0200 [debug] (validate.js) running validator custom-objects 2022-05-24 17:09:02.142 +0200 [debug] (validate.js) running validator event 2022-05-24 17:09:02.142 +0200 [debug] (validate.js) running validator iparam 2022-05-24 17:09:02.145 +0200 [debug] (validate.js) skipping validator lint 2022-05-24 17:09:02.145 +0200 [debug] (validate.js) running validator manifest 2022-05-24 17:09:02.145 +0200 [debug] (manifest.js) running manifest validation with type run_validation 2022-05-24 17:09:02.145 +0200 [debug] (validate.js) skipping validator manifest-dependency 2022-05-24 17:09:02.145 +0200 [debug] (validate.js) running validator oauth 2022-05-24 17:09:02.145 +0200 [debug] (validate.js) skipping validator pkgsize 2022-05-24 17:09:02.145 +0200 [debug] (validate.js) running validator schema 2022-05-24 17:09:02.146 +0200 [debug] (validate.js) running validator version-check 2022-05-24 17:09:02.148 +0200 [debug] (watcher.js) Preparing to watch the following files ./app,./config,./manifest.json 2022-05-24 17:09:02.151 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-24 17:09:02.152 +0200 [debug] (custom-objects.js) to force or not? false 2022-05-24 17:09:02.152 +0200 [debug] (custom-objects.js) beginning to re-sync db 2022-05-24 17:09:02.561 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/bigint-pivot.js" 2022-05-24 17:09:02.562 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field-choice.js" 2022-05-24 17:09:02.563 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field.js" 2022-05-24 17:09:02.564 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity.js" 2022-05-24 17:09:02.564 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/record.js" 2022-05-24 17:09:02.565 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/string-pivot.js" 2022-05-24 17:09:02.581 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-24 17:09:02.582 +0200 [debug] (custom-objects.js) updated local store with latest entity hash 2022-05-24 17:09:02.585 +0200 [info] Starting local testing server at http://*:10001/ Append 'dev=true' to your Freshdesk account URL to start testing e.g. https://domain.freshdesk.com/a/tickets/1?dev=true Quit the server with Control-C. 2022-05-24 17:09:02.585 +0200 [info] To test the installation page, visit - http://localhost:10001/custom_configs 2022-05-24 17:09:07.992 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-24 17:09:07.993 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-24 17:09:08.044 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-24 17:09:08.045 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-24 17:09:08.092 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-24 17:09:08.092 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-24 17:09:08.130 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-24 17:09:08.131 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-24 17:09:08.146 +0200 [debug] (iframe.js) Responding with contents of /template.html 2022-05-24 17:09:08.156 +0200 [debug] (iframe.js) Responding with contents of /app.js 2022-05-24 17:09:08.157 +0200 [debug] (coverage-util.js) Instrumenting /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/app/app.js 2022-05-24 17:09:08.289 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-24 17:09:08.289 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-24 17:09:08.346 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-24 17:09:08.346 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-24 17:09:08.386 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-24 17:09:08.386 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-24 17:09:10.336 +0200 [debug] (coverage-util.js) Writing coverage. 2022-05-24 17:09:16.154 +0200 [debug] (data-pipe.js) received call for route "proxy" with action "execute" and body {"action":"execute","data":{"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get"}} 2022-05-24 17:09:16.155 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-24 17:09:16.157 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-24 17:09:16.157 +0200 [debug] (proxy.js) Substituing Templates {"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get"} with {"iparam":{"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"oauth_iparams":{}} 2022-05-24 17:09:16.160 +0200 [debug] (proxy.js) Parsed https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452 as {"protocol":"https:","slashes":true,"auth":null,"host":"virtualdropstudio.freshdesk.com","port":null,"hostname":"virtualdropstudio.freshdesk.com","hash":null,"search":null,"query":null,"pathname":"/api/v2/contacts/101026585452","path":"/api/v2/contacts/101026585452","href":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452"} 2022-05-24 17:09:16.164 +0200 [debug] (proxy.js) Checking if the request url is whitelisted in manifest 2022-05-24 17:09:16.164 +0200 [debug] (proxy.js) Matched "https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452" with https://virtualdropstudio.freshdesk.com 2022-05-24 17:09:16.164 +0200 [debug] (proxy.js) Making proxy call with options as {"headers":{"Content-Type":"application/json","Authorization":"Basic eXBsT0hra3gyejJhY1ZRS01DZGU6eA=="},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get","whitelistedDomains":["https://virtualdropstudio.freshdesk.com"],"maxAttempts":1,"retryDelay":0,"timeout":5000} 2022-05-24 17:09:16.325 +0200 [debug] (coverage-util.js) Writing coverage. 2022-05-24 17:09:16.406 +0200 [debug] (proxy.js) Proxy came back with error as null, body as "{\"active\":false,\"address\":null,\"description\":null,\"email\":\"loloic3@sfr.fr\",\"id\":1010265 2022-05-24 17:09:16.406 +0200 [debug] (proxy.js) Looking for "application/json" in application/json,application/xml,text/html,text/xml,application/jsonp,text/plain,application/javascript,application/vnd.api+json 2022-05-24 17:09:18.317 +0200 [debug] (coverage-util.js) Writing coverage. 2022-05-24 17:34:37.256 +0200 [info] NOTE: We recommend a coverage of 80% for apps that are to be published in the public marketplace. 2022-05-24 17:34:38.275 +0200 [debug] (logger.js) Starting FDK in node v12.22.7 on linux 2022-05-24 17:34:38.872 +0200 [debug] (sequelize.js) setting up sqilite at "/home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/.fdk/store.sqlite" 2022-05-24 17:34:39.778 +0200 [debug] (index.js) Running with args {"cmd":"run","gopts":{},"opts":{},"goptArg":{},"optArg":{},"args":[]} 2022-05-24 17:34:39.779 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653382022782}} 2022-05-24 17:34:39.779 +0200 [debug] (updater.js) last check less than an day ago, not looking for updates 2022-05-24 17:34:39.972 +0200 [debug] (manifest.js) Reloading manifest with {"platform-version":"2.2","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"whitelisted-domains":["https://<%= iparam.freshdesk_domain %>.freshdesk.com"],"engines":{"node":"12.22.7","fdk":"7.1.0"}}. 2022-05-24 17:34:39.973 +0200 [debug] (manifest.js) Inferred db as features. 2022-05-24 17:34:39.974 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653382022782}} 2022-05-24 17:34:39.985 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653382022782}} 2022-05-24 17:34:40.947 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653382022782}} 2022-05-24 17:34:43.574 +0200 [debug] (validate.js) asked to skip the following validations,  2022-05-24 17:34:43.575 +0200 [debug] (validate.js) running validator actions 2022-05-24 17:34:43.575 +0200 [debug] (validate.js) running validator app-dir 2022-05-24 17:34:43.576 +0200 [debug] (validate.js) running validator config-dir 2022-05-24 17:34:43.576 +0200 [debug] (config-dir.js) Checking to see if /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/config/ exists. 2022-05-24 17:34:43.576 +0200 [debug] (config-dir.js) Fetched the following config files iparams.json 2022-05-24 17:34:43.576 +0200 [debug] (validate.js) running validator custom-objects 2022-05-24 17:34:43.577 +0200 [debug] (validate.js) running validator event 2022-05-24 17:34:43.577 +0200 [debug] (validate.js) running validator iparam 2022-05-24 17:34:43.579 +0200 [debug] (validate.js) skipping validator lint 2022-05-24 17:34:43.579 +0200 [debug] (validate.js) running validator manifest 2022-05-24 17:34:43.579 +0200 [debug] (manifest.js) running manifest validation with type run_validation 2022-05-24 17:34:43.579 +0200 [debug] (validate.js) skipping validator manifest-dependency 2022-05-24 17:34:43.579 +0200 [debug] (validate.js) running validator oauth 2022-05-24 17:34:43.580 +0200 [debug] (validate.js) skipping validator pkgsize 2022-05-24 17:34:43.580 +0200 [debug] (validate.js) running validator schema 2022-05-24 17:34:43.580 +0200 [debug] (validate.js) running validator version-check 2022-05-24 17:34:43.582 +0200 [debug] (watcher.js) Preparing to watch the following files ./app,./config,./manifest.json 2022-05-24 17:34:43.585 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-24 17:34:43.585 +0200 [debug] (custom-objects.js) to force or not? false 2022-05-24 17:34:43.585 +0200 [debug] (custom-objects.js) beginning to re-sync db 2022-05-24 17:34:43.841 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/bigint-pivot.js" 2022-05-24 17:34:43.843 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field-choice.js" 2022-05-24 17:34:43.844 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field.js" 2022-05-24 17:34:43.844 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity.js" 2022-05-24 17:34:43.845 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/record.js" 2022-05-24 17:34:43.846 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/string-pivot.js" 2022-05-24 17:34:43.861 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-24 17:34:43.862 +0200 [debug] (custom-objects.js) updated local store with latest entity hash 2022-05-24 17:34:43.865 +0200 [info] Starting local testing server at http://*:10001/ Append 'dev=true' to your Freshdesk account URL to start testing e.g. https://domain.freshdesk.com/a/tickets/1?dev=true Quit the server with Control-C. 2022-05-24 17:34:43.866 +0200 [info] To test the installation page, visit - http://localhost:10001/custom_configs 2022-05-24 17:34:50.484 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-24 17:34:50.485 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-24 17:34:50.527 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-24 17:34:50.528 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-24 17:34:50.577 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-24 17:34:50.577 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-24 17:34:50.615 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-24 17:34:50.615 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-24 17:34:50.630 +0200 [debug] (iframe.js) Responding with contents of /template.html 2022-05-24 17:34:50.639 +0200 [debug] (iframe.js) Responding with contents of /app.js 2022-05-24 17:34:50.639 +0200 [debug] (coverage-util.js) Instrumenting /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/app/app.js 2022-05-24 17:34:50.782 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-24 17:34:50.782 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-24 17:34:50.823 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-24 17:34:50.823 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-24 17:34:50.862 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-24 17:34:50.862 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-24 17:34:52.869 +0200 [debug] (coverage-util.js) Writing coverage. 2022-05-24 17:34:58.757 +0200 [debug] (data-pipe.js) received call for route "proxy" with action "execute" and body {"action":"execute","data":{"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get"}} 2022-05-24 17:34:58.757 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-24 17:34:58.760 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-24 17:34:58.760 +0200 [debug] (proxy.js) Substituing Templates {"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get"} with {"iparam":{"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"oauth_iparams":{}} 2022-05-24 17:34:58.762 +0200 [debug] (proxy.js) Parsed https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452 as {"protocol":"https:","slashes":true,"auth":null,"host":"virtualdropstudio.freshdesk.com","port":null,"hostname":"virtualdropstudio.freshdesk.com","hash":null,"search":null,"query":null,"pathname":"/api/v2/contacts/101026585452","path":"/api/v2/contacts/101026585452","href":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452"} 2022-05-24 17:34:58.765 +0200 [debug] (proxy.js) Checking if the request url is whitelisted in manifest 2022-05-24 17:34:58.765 +0200 [debug] (proxy.js) Matched "https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452" with https://virtualdropstudio.freshdesk.com 2022-05-24 17:34:58.765 +0200 [debug] (proxy.js) Making proxy call with options as {"headers":{"Content-Type":"application/json","Authorization":"Basic eXBsT0hra3gyejJhY1ZRS01DZGU6eA=="},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get","whitelistedDomains":["https://virtualdropstudio.freshdesk.com"],"maxAttempts":1,"retryDelay":0,"timeout":5000} 2022-05-24 17:34:58.852 +0200 [debug] (coverage-util.js) Writing coverage. 2022-05-24 17:34:58.995 +0200 [debug] (proxy.js) Proxy came back with error as null, body as "{\"active\":false,\"address\":null,\"description\":null,\"email\":\"loloic3@sfr.fr\",\"id\":1010265 2022-05-24 17:34:58.995 +0200 [debug] (proxy.js) Looking for "application/json" in application/json,application/xml,text/html,text/xml,application/jsonp,text/plain,application/javascript,application/vnd.api+json 2022-05-24 17:35:00.854 +0200 [debug] (coverage-util.js) Writing coverage. 2022-05-31 00:28:51.716 +0200 [debug] (logger.js) Starting FDK in node v12.22.7 on linux 2022-05-31 00:28:59.773 +0200 [debug] (sequelize.js) setting up sqilite at "/home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/.fdk/store.sqlite" 2022-05-31 00:29:01.727 +0200 [debug] (index.js) Running with args {"cmd":"run","gopts":{},"opts":{},"goptArg":{},"optArg":{},"args":[]} 2022-05-31 00:29:01.735 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653382022782}} 2022-05-31 00:29:01.735 +0200 [debug] (updater.js) last check more than an day ago, looking for updates again 2022-05-31 00:29:02.289 +0200 [debug] (updater.js) downloaded update manifest as {"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}} 2022-05-31 00:29:02.290 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653382022782}} 2022-05-31 00:29:02.290 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653382022782}} 2022-05-31 00:29:02.292 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653382022782}} 2022-05-31 00:29:02.306 +0200 [warn] [WARN] This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433. 2022-05-31 00:29:03.745 +0200 [debug] (manifest.js) Reloading manifest with {"platform-version":"2.2","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"whitelisted-domains":["https://<%= iparam.freshdesk_domain %>.freshdesk.com"],"engines":{"node":"12.22.7","fdk":"7.1.0"}}. 2022-05-31 00:29:03.745 +0200 [debug] (manifest.js) Inferred db as features. 2022-05-31 00:29:03.774 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 00:29:03.872 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 00:29:13.341 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 00:29:20.828 +0200 [debug] (validate.js) asked to skip the following validations,  2022-05-31 00:29:20.828 +0200 [debug] (validate.js) running validator actions 2022-05-31 00:29:20.828 +0200 [debug] (validate.js) running validator app-dir 2022-05-31 00:29:20.829 +0200 [debug] (validate.js) running validator config-dir 2022-05-31 00:29:20.829 +0200 [debug] (config-dir.js) Checking to see if /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/config/ exists. 2022-05-31 00:29:20.830 +0200 [debug] (config-dir.js) Fetched the following config files iparams.json 2022-05-31 00:29:20.830 +0200 [debug] (validate.js) running validator custom-objects 2022-05-31 00:29:20.830 +0200 [debug] (validate.js) running validator event 2022-05-31 00:29:20.830 +0200 [debug] (validate.js) running validator iparam 2022-05-31 00:29:20.836 +0200 [debug] (validate.js) skipping validator lint 2022-05-31 00:29:20.837 +0200 [debug] (validate.js) running validator manifest 2022-05-31 00:29:20.837 +0200 [debug] (manifest.js) running manifest validation with type run_validation 2022-05-31 00:29:20.837 +0200 [debug] (validate.js) skipping validator manifest-dependency 2022-05-31 00:29:20.837 +0200 [debug] (validate.js) running validator oauth 2022-05-31 00:29:20.837 +0200 [debug] (validate.js) skipping validator pkgsize 2022-05-31 00:29:20.837 +0200 [debug] (validate.js) running validator schema 2022-05-31 00:29:20.837 +0200 [debug] (validate.js) running validator version-check 2022-05-31 00:29:20.840 +0200 [debug] (watcher.js) Preparing to watch the following files ./app,./config,./manifest.json 2022-05-31 00:29:20.846 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 00:29:20.846 +0200 [debug] (custom-objects.js) to force or not? false 2022-05-31 00:29:20.846 +0200 [debug] (custom-objects.js) beginning to re-sync db 2022-05-31 00:29:21.361 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/bigint-pivot.js" 2022-05-31 00:29:21.374 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field-choice.js" 2022-05-31 00:29:21.380 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field.js" 2022-05-31 00:29:21.386 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity.js" 2022-05-31 00:29:21.393 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/record.js" 2022-05-31 00:29:21.399 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/string-pivot.js" 2022-05-31 00:29:21.419 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 00:29:21.420 +0200 [debug] (custom-objects.js) updated local store with latest entity hash 2022-05-31 00:29:21.422 +0200 [info] Starting local testing server at http://*:10001/ Append 'dev=true' to your Freshdesk account URL to start testing e.g. https://domain.freshdesk.com/a/tickets/1?dev=true Quit the server with Control-C. 2022-05-31 00:29:21.423 +0200 [info] To test the installation page, visit - http://localhost:10001/custom_configs 2022-05-31 00:30:02.277 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 00:30:02.278 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 00:30:02.361 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 00:30:02.361 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 00:30:02.504 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 00:30:02.504 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 00:30:02.616 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 00:30:02.616 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 00:30:02.639 +0200 [debug] (iframe.js) Responding with contents of /template.html 2022-05-31 00:30:02.659 +0200 [debug] (iframe.js) Responding with contents of /app.js 2022-05-31 00:30:02.659 +0200 [debug] (coverage-util.js) Instrumenting /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/app/app.js 2022-05-31 00:30:02.813 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 00:30:02.814 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 00:30:02.908 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 00:30:02.908 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 00:30:03.009 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 00:30:03.010 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 00:30:05.768 +0200 [debug] (coverage-util.js) Writing coverage. 2022-05-31 00:30:09.666 +0200 [debug] (coverage-util.js) Writing coverage. 2022-05-31 00:30:14.717 +0200 [debug] (data-pipe.js) received call for route "proxy" with action "execute" and body {"action":"execute","data":{"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get"}} 2022-05-31 00:30:14.718 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 00:30:14.730 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 00:30:14.730 +0200 [debug] (proxy.js) Substituing Templates {"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get"} with {"iparam":{"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"oauth_iparams":{}} 2022-05-31 00:30:14.732 +0200 [debug] (proxy.js) Parsed https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452 as {"protocol":"https:","slashes":true,"auth":null,"host":"virtualdropstudio.freshdesk.com","port":null,"hostname":"virtualdropstudio.freshdesk.com","hash":null,"search":null,"query":null,"pathname":"/api/v2/contacts/101026585452","path":"/api/v2/contacts/101026585452","href":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452"} 2022-05-31 00:30:14.734 +0200 [debug] (proxy.js) Checking if the request url is whitelisted in manifest 2022-05-31 00:30:14.734 +0200 [debug] (proxy.js) Matched "https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452" with https://virtualdropstudio.freshdesk.com 2022-05-31 00:30:14.735 +0200 [debug] (proxy.js) Making proxy call with options as {"headers":{"Content-Type":"application/json","Authorization":"Basic eXBsT0hra3gyejJhY1ZRS01DZGU6eA=="},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get","whitelistedDomains":["https://virtualdropstudio.freshdesk.com"],"maxAttempts":1,"retryDelay":0,"timeout":5000} 2022-05-31 00:30:15.208 +0200 [debug] (proxy.js) Proxy came back with error as null, body as "{\"active\":false,\"address\":null,\"description\":null,\"email\":\"loloic3@sfr.fr\",\"id\":1010265 2022-05-31 00:30:15.208 +0200 [debug] (proxy.js) Looking for "application/json" in application/json,application/xml,text/html,text/xml,application/jsonp,text/plain,application/javascript,application/vnd.api+json 2022-05-31 00:30:15.646 +0200 [debug] (coverage-util.js) Writing coverage. 2022-05-31 01:03:32.074 +0200 [info] NOTE: We recommend a coverage of 80% for apps that are to be published in the public marketplace. 2022-05-31 10:42:49.301 +0200 [debug] (logger.js) Starting FDK in node v12.22.7 on linux 2022-05-31 10:42:57.498 +0200 [debug] (sequelize.js) setting up sqilite at "/home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/.fdk/store.sqlite" 2022-05-31 10:42:59.305 +0200 [debug] (index.js) Running with args {"cmd":"run","gopts":{},"opts":{},"goptArg":{},"optArg":{},"args":[]} 2022-05-31 10:42:59.310 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 10:42:59.310 +0200 [debug] (updater.js) last check less than an day ago, not looking for updates 2022-05-31 10:43:00.680 +0200 [debug] (manifest.js) Reloading manifest with {"platform-version":"2.2","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"whitelisted-domains":["https://<%= iparam.freshdesk_domain %>.freshdesk.com"],"engines":{"node":"12.22.7","fdk":"7.1.0"}}. 2022-05-31 10:43:00.681 +0200 [debug] (manifest.js) Inferred db as features. 2022-05-31 10:43:00.698 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 10:43:00.782 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 10:43:10.236 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 10:43:17.593 +0200 [debug] (validate.js) asked to skip the following validations,  2022-05-31 10:43:17.594 +0200 [debug] (validate.js) running validator actions 2022-05-31 10:43:17.594 +0200 [debug] (validate.js) running validator app-dir 2022-05-31 10:43:17.596 +0200 [debug] (validate.js) running validator config-dir 2022-05-31 10:43:17.596 +0200 [debug] (config-dir.js) Checking to see if /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/config/ exists. 2022-05-31 10:43:17.597 +0200 [debug] (config-dir.js) Fetched the following config files iparams.json 2022-05-31 10:43:17.597 +0200 [debug] (validate.js) running validator custom-objects 2022-05-31 10:43:17.597 +0200 [debug] (validate.js) running validator event 2022-05-31 10:43:17.597 +0200 [debug] (validate.js) running validator iparam 2022-05-31 10:43:17.604 +0200 [debug] (validate.js) skipping validator lint 2022-05-31 10:43:17.604 +0200 [debug] (validate.js) running validator manifest 2022-05-31 10:43:17.605 +0200 [debug] (manifest.js) running manifest validation with type run_validation 2022-05-31 10:43:17.605 +0200 [debug] (validate.js) skipping validator manifest-dependency 2022-05-31 10:43:17.605 +0200 [debug] (validate.js) running validator oauth 2022-05-31 10:43:17.605 +0200 [debug] (validate.js) skipping validator pkgsize 2022-05-31 10:43:17.605 +0200 [debug] (validate.js) running validator schema 2022-05-31 10:43:17.605 +0200 [debug] (validate.js) running validator version-check 2022-05-31 10:43:17.608 +0200 [debug] (watcher.js) Preparing to watch the following files ./app,./config,./manifest.json 2022-05-31 10:43:17.615 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 10:43:17.615 +0200 [debug] (custom-objects.js) to force or not? false 2022-05-31 10:43:17.615 +0200 [debug] (custom-objects.js) beginning to re-sync db 2022-05-31 10:43:18.067 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/bigint-pivot.js" 2022-05-31 10:43:18.081 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field-choice.js" 2022-05-31 10:43:18.088 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field.js" 2022-05-31 10:43:18.095 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity.js" 2022-05-31 10:43:18.102 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/record.js" 2022-05-31 10:43:18.109 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/string-pivot.js" 2022-05-31 10:43:18.130 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 10:43:18.131 +0200 [debug] (custom-objects.js) updated local store with latest entity hash 2022-05-31 10:43:18.135 +0200 [info] Starting local testing server at http://*:10001/ Append 'dev=true' to your Freshdesk account URL to start testing e.g. https://domain.freshdesk.com/a/tickets/1?dev=true Quit the server with Control-C. 2022-05-31 10:43:18.135 +0200 [info] To test the installation page, visit - http://localhost:10001/custom_configs 2022-05-31 10:43:56.500 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 10:43:56.501 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 10:43:57.184 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 10:43:57.184 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 10:43:57.229 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 10:43:57.229 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 10:43:57.332 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 10:43:57.332 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 10:43:57.387 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 10:43:57.388 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 10:43:57.435 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 10:43:57.436 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 10:43:57.455 +0200 [debug] (iframe.js) Responding with contents of /template.html 2022-05-31 10:43:57.476 +0200 [debug] (iframe.js) Responding with contents of /app.js 2022-05-31 10:43:57.476 +0200 [debug] (coverage-util.js) Instrumenting /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/app/app.js 2022-05-31 10:43:57.646 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 10:43:57.646 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 10:43:57.687 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 10:43:57.688 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 10:43:57.731 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 10:43:57.731 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 10:43:57.770 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 10:43:57.770 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 10:43:57.862 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 10:43:57.862 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 10:44:00.708 +0200 [debug] (coverage-util.js) Writing coverage. 2022-05-31 10:44:20.595 +0200 [debug] (coverage-util.js) Writing coverage. 2022-05-31 10:51:51.532 +0200 [info] NOTE: We recommend a coverage of 80% for apps that are to be published in the public marketplace. 2022-05-31 10:51:53.982 +0200 [debug] (logger.js) Starting FDK in node v12.22.7 on linux 2022-05-31 10:51:54.561 +0200 [debug] (sequelize.js) setting up sqilite at "/home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/.fdk/store.sqlite" 2022-05-31 10:51:55.468 +0200 [debug] (index.js) Running with args {"cmd":"run","gopts":{},"opts":{},"goptArg":{},"optArg":{},"args":[]} 2022-05-31 10:51:55.468 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 10:51:55.469 +0200 [debug] (updater.js) last check less than an day ago, not looking for updates 2022-05-31 10:51:55.661 +0200 [debug] (manifest.js) Reloading manifest with {"platform-version":"2.2","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"whitelisted-domains":["https://<%= iparam.freshdesk_domain %>.freshdesk.com"],"engines":{"node":"12.22.7","fdk":"7.1.0"}}. 2022-05-31 10:51:55.661 +0200 [debug] (manifest.js) Inferred db as features. 2022-05-31 10:51:55.662 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 10:51:55.673 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 10:51:56.633 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 10:51:59.314 +0200 [debug] (validate.js) asked to skip the following validations,  2022-05-31 10:51:59.315 +0200 [debug] (validate.js) running validator actions 2022-05-31 10:51:59.315 +0200 [debug] (validate.js) running validator app-dir 2022-05-31 10:51:59.316 +0200 [debug] (validate.js) running validator config-dir 2022-05-31 10:51:59.316 +0200 [debug] (config-dir.js) Checking to see if /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/config/ exists. 2022-05-31 10:51:59.316 +0200 [debug] (config-dir.js) Fetched the following config files iparams.json 2022-05-31 10:51:59.316 +0200 [debug] (validate.js) running validator custom-objects 2022-05-31 10:51:59.316 +0200 [debug] (validate.js) running validator event 2022-05-31 10:51:59.316 +0200 [debug] (validate.js) running validator iparam 2022-05-31 10:51:59.319 +0200 [debug] (validate.js) skipping validator lint 2022-05-31 10:51:59.319 +0200 [debug] (validate.js) running validator manifest 2022-05-31 10:51:59.319 +0200 [debug] (manifest.js) running manifest validation with type run_validation 2022-05-31 10:51:59.320 +0200 [debug] (validate.js) skipping validator manifest-dependency 2022-05-31 10:51:59.320 +0200 [debug] (validate.js) running validator oauth 2022-05-31 10:51:59.320 +0200 [debug] (validate.js) skipping validator pkgsize 2022-05-31 10:51:59.320 +0200 [debug] (validate.js) running validator schema 2022-05-31 10:51:59.320 +0200 [debug] (validate.js) running validator version-check 2022-05-31 10:51:59.322 +0200 [debug] (watcher.js) Preparing to watch the following files ./app,./config,./manifest.json 2022-05-31 10:51:59.325 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 10:51:59.325 +0200 [debug] (custom-objects.js) to force or not? false 2022-05-31 10:51:59.325 +0200 [debug] (custom-objects.js) beginning to re-sync db 2022-05-31 10:51:59.586 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/bigint-pivot.js" 2022-05-31 10:51:59.587 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field-choice.js" 2022-05-31 10:51:59.588 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field.js" 2022-05-31 10:51:59.589 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity.js" 2022-05-31 10:51:59.590 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/record.js" 2022-05-31 10:51:59.590 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/string-pivot.js" 2022-05-31 10:51:59.606 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 10:51:59.607 +0200 [debug] (custom-objects.js) updated local store with latest entity hash 2022-05-31 10:51:59.610 +0200 [info] Starting local testing server at http://*:10001/ Append 'dev=true' to your Freshdesk account URL to start testing e.g. https://domain.freshdesk.com/a/tickets/1?dev=true Quit the server with Control-C. 2022-05-31 10:51:59.610 +0200 [info] To test the installation page, visit - http://localhost:10001/custom_configs 2022-05-31 10:53:27.455 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 10:53:27.456 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 10:53:27.933 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 10:53:27.933 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 10:53:27.975 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 10:53:27.975 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 10:53:28.023 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 10:53:28.023 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 10:53:28.061 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 10:53:28.061 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 10:53:28.080 +0200 [debug] (iframe.js) Responding with contents of /template.html 2022-05-31 10:53:28.093 +0200 [debug] (iframe.js) Responding with contents of /app.js 2022-05-31 10:53:28.095 +0200 [debug] (coverage-util.js) Instrumenting /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/app/app.js 2022-05-31 10:53:28.247 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 10:53:28.247 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 10:53:28.293 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 10:53:28.293 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 10:53:28.333 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 10:53:28.333 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 10:53:28.383 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 10:53:28.383 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 10:53:28.420 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 10:53:28.420 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 10:53:28.560 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 10:53:28.561 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 10:53:30.611 +0200 [debug] (coverage-util.js) Writing coverage. 2022-05-31 10:58:04.367 +0200 [info] NOTE: We recommend a coverage of 80% for apps that are to be published in the public marketplace. 2022-05-31 10:58:06.227 +0200 [debug] (logger.js) Starting FDK in node v12.22.7 on linux 2022-05-31 10:58:06.807 +0200 [debug] (sequelize.js) setting up sqilite at "/home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/.fdk/store.sqlite" 2022-05-31 10:58:07.726 +0200 [debug] (index.js) Running with args {"cmd":"run","gopts":{},"opts":{},"goptArg":{},"optArg":{},"args":[]} 2022-05-31 10:58:07.727 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 10:58:07.727 +0200 [debug] (updater.js) last check less than an day ago, not looking for updates 2022-05-31 10:58:07.967 +0200 [debug] (manifest.js) Reloading manifest with {"platform-version":"2.2","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"whitelisted-domains":["https://<%= iparam.freshdesk_domain %>.freshdesk.com"],"engines":{"node":"12.22.7","fdk":"7.1.0"}}. 2022-05-31 10:58:07.967 +0200 [debug] (manifest.js) Inferred db as features. 2022-05-31 10:58:07.969 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 10:58:07.980 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 10:58:09.034 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 10:58:11.751 +0200 [debug] (validate.js) asked to skip the following validations,  2022-05-31 10:58:11.751 +0200 [debug] (validate.js) running validator actions 2022-05-31 10:58:11.751 +0200 [debug] (validate.js) running validator app-dir 2022-05-31 10:58:11.752 +0200 [debug] (validate.js) running validator config-dir 2022-05-31 10:58:11.752 +0200 [debug] (config-dir.js) Checking to see if /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/config/ exists. 2022-05-31 10:58:11.752 +0200 [debug] (config-dir.js) Fetched the following config files iparams.json 2022-05-31 10:58:11.753 +0200 [debug] (validate.js) running validator custom-objects 2022-05-31 10:58:11.753 +0200 [debug] (validate.js) running validator event 2022-05-31 10:58:11.753 +0200 [debug] (validate.js) running validator iparam 2022-05-31 10:58:11.755 +0200 [debug] (validate.js) skipping validator lint 2022-05-31 10:58:11.755 +0200 [debug] (validate.js) running validator manifest 2022-05-31 10:58:11.755 +0200 [debug] (manifest.js) running manifest validation with type run_validation 2022-05-31 10:58:11.756 +0200 [debug] (validate.js) skipping validator manifest-dependency 2022-05-31 10:58:11.756 +0200 [debug] (validate.js) running validator oauth 2022-05-31 10:58:11.756 +0200 [debug] (validate.js) skipping validator pkgsize 2022-05-31 10:58:11.756 +0200 [debug] (validate.js) running validator schema 2022-05-31 10:58:11.756 +0200 [debug] (validate.js) running validator version-check 2022-05-31 10:58:11.758 +0200 [debug] (watcher.js) Preparing to watch the following files ./app,./config,./manifest.json 2022-05-31 10:58:11.762 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 10:58:11.762 +0200 [debug] (custom-objects.js) to force or not? false 2022-05-31 10:58:11.762 +0200 [debug] (custom-objects.js) beginning to re-sync db 2022-05-31 10:58:12.041 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/bigint-pivot.js" 2022-05-31 10:58:12.042 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field-choice.js" 2022-05-31 10:58:12.043 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field.js" 2022-05-31 10:58:12.044 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity.js" 2022-05-31 10:58:12.044 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/record.js" 2022-05-31 10:58:12.045 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/string-pivot.js" 2022-05-31 10:58:12.061 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 10:58:12.062 +0200 [debug] (custom-objects.js) updated local store with latest entity hash 2022-05-31 10:58:12.067 +0200 [info] Starting local testing server at http://*:10001/ Append 'dev=true' to your Freshdesk account URL to start testing e.g. https://domain.freshdesk.com/a/tickets/1?dev=true Quit the server with Control-C. 2022-05-31 10:58:12.069 +0200 [info] To test the installation page, visit - http://localhost:10001/custom_configs 2022-05-31 10:58:28.132 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 10:58:28.133 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 10:58:28.598 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 10:58:28.598 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 10:58:28.642 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 10:58:28.643 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 10:58:28.701 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 10:58:28.701 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 10:58:28.752 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 10:58:28.753 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 10:58:28.777 +0200 [debug] (iframe.js) Responding with contents of /template.html 2022-05-31 10:58:28.789 +0200 [debug] (iframe.js) Responding with contents of /app.js 2022-05-31 10:58:28.790 +0200 [debug] (coverage-util.js) Instrumenting /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/app/app.js 2022-05-31 10:58:28.935 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 10:58:28.935 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 10:58:28.972 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 10:58:28.973 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 10:58:29.010 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 10:58:29.010 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 10:58:29.046 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 10:58:29.046 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 10:58:29.085 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 10:58:29.085 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 10:58:29.244 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 10:58:29.244 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 10:58:31.613 +0200 [debug] (coverage-util.js) Writing coverage. 2022-05-31 10:59:39.526 +0200 [info] NOTE: We recommend a coverage of 80% for apps that are to be published in the public marketplace. 2022-05-31 10:59:40.622 +0200 [debug] (logger.js) Starting FDK in node v12.22.7 on linux 2022-05-31 10:59:41.208 +0200 [debug] (sequelize.js) setting up sqilite at "/home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/.fdk/store.sqlite" 2022-05-31 10:59:42.108 +0200 [debug] (index.js) Running with args {"cmd":"run","gopts":{},"opts":{},"goptArg":{},"optArg":{},"args":[]} 2022-05-31 10:59:42.109 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 10:59:42.109 +0200 [debug] (updater.js) last check less than an day ago, not looking for updates 2022-05-31 10:59:42.300 +0200 [debug] (manifest.js) Reloading manifest with {"platform-version":"2.2","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"whitelisted-domains":["https://<%= iparam.freshdesk_domain %>.freshdesk.com"],"engines":{"node":"12.22.7","fdk":"7.1.0"}}. 2022-05-31 10:59:42.300 +0200 [debug] (manifest.js) Inferred db as features. 2022-05-31 10:59:42.302 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 10:59:42.313 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 10:59:43.265 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 10:59:45.922 +0200 [debug] (validate.js) asked to skip the following validations,  2022-05-31 10:59:45.924 +0200 [debug] (validate.js) running validator actions 2022-05-31 10:59:45.924 +0200 [debug] (validate.js) running validator app-dir 2022-05-31 10:59:45.925 +0200 [debug] (validate.js) running validator config-dir 2022-05-31 10:59:45.925 +0200 [debug] (config-dir.js) Checking to see if /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/config/ exists. 2022-05-31 10:59:45.925 +0200 [debug] (config-dir.js) Fetched the following config files iparams.json 2022-05-31 10:59:45.925 +0200 [debug] (validate.js) running validator custom-objects 2022-05-31 10:59:45.925 +0200 [debug] (validate.js) running validator event 2022-05-31 10:59:45.926 +0200 [debug] (validate.js) running validator iparam 2022-05-31 10:59:45.928 +0200 [debug] (validate.js) skipping validator lint 2022-05-31 10:59:45.928 +0200 [debug] (validate.js) running validator manifest 2022-05-31 10:59:45.928 +0200 [debug] (manifest.js) running manifest validation with type run_validation 2022-05-31 10:59:45.928 +0200 [debug] (validate.js) skipping validator manifest-dependency 2022-05-31 10:59:45.928 +0200 [debug] (validate.js) running validator oauth 2022-05-31 10:59:45.929 +0200 [debug] (validate.js) skipping validator pkgsize 2022-05-31 10:59:45.929 +0200 [debug] (validate.js) running validator schema 2022-05-31 10:59:45.929 +0200 [debug] (validate.js) running validator version-check 2022-05-31 10:59:45.931 +0200 [debug] (watcher.js) Preparing to watch the following files ./app,./config,./manifest.json 2022-05-31 10:59:45.934 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 10:59:45.934 +0200 [debug] (custom-objects.js) to force or not? false 2022-05-31 10:59:45.934 +0200 [debug] (custom-objects.js) beginning to re-sync db 2022-05-31 10:59:46.323 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/bigint-pivot.js" 2022-05-31 10:59:46.325 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field-choice.js" 2022-05-31 10:59:46.325 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field.js" 2022-05-31 10:59:46.326 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity.js" 2022-05-31 10:59:46.327 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/record.js" 2022-05-31 10:59:46.328 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/string-pivot.js" 2022-05-31 10:59:46.343 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 10:59:46.344 +0200 [debug] (custom-objects.js) updated local store with latest entity hash 2022-05-31 10:59:46.347 +0200 [info] Starting local testing server at http://*:10001/ Append 'dev=true' to your Freshdesk account URL to start testing e.g. https://domain.freshdesk.com/a/tickets/1?dev=true Quit the server with Control-C. 2022-05-31 10:59:46.348 +0200 [info] To test the installation page, visit - http://localhost:10001/custom_configs 2022-05-31 10:59:53.767 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 10:59:53.769 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 10:59:54.261 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 10:59:54.262 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 10:59:54.301 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 10:59:54.301 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 10:59:54.351 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 10:59:54.352 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 10:59:54.397 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 10:59:54.398 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 10:59:54.423 +0200 [debug] (iframe.js) Responding with contents of /template.html 2022-05-31 10:59:54.435 +0200 [debug] (iframe.js) Responding with contents of /app.js 2022-05-31 10:59:54.436 +0200 [debug] (coverage-util.js) Instrumenting /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/app/app.js 2022-05-31 10:59:54.576 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 10:59:54.576 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 10:59:54.616 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 10:59:54.616 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 10:59:54.671 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 10:59:54.672 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 10:59:54.709 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 10:59:54.709 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 10:59:54.747 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 10:59:54.747 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 10:59:54.865 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 10:59:54.865 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 10:59:57.609 +0200 [debug] (coverage-util.js) Writing coverage. 2022-05-31 10:59:57.615 +0200 [debug] (coverage-util.js) Error Cannot read property 'start' of undefined while writing coverage report. 2022-05-31 10:59:57.615 +0200 [debug] (coverage-util.js) Flushing coverage. 2022-05-31 11:00:30.101 +0200 [info] NOTE: We recommend a coverage of 80% for apps that are to be published in the public marketplace. 2022-05-31 11:00:32.868 +0200 [debug] (logger.js) Starting FDK in node v12.22.7 on linux 2022-05-31 11:00:33.441 +0200 [debug] (sequelize.js) setting up sqilite at "/home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/.fdk/store.sqlite" 2022-05-31 11:00:34.347 +0200 [debug] (index.js) Running with args {"cmd":"run","gopts":{},"opts":{},"goptArg":{},"optArg":{},"args":[]} 2022-05-31 11:00:34.347 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 11:00:34.347 +0200 [debug] (updater.js) last check less than an day ago, not looking for updates 2022-05-31 11:00:34.544 +0200 [debug] (manifest.js) Reloading manifest with {"platform-version":"2.2","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"whitelisted-domains":["https://<%= iparam.freshdesk_domain %>.freshdesk.com"],"engines":{"node":"12.22.7","fdk":"7.1.0"}}. 2022-05-31 11:00:34.544 +0200 [debug] (manifest.js) Inferred db as features. 2022-05-31 11:00:34.545 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 11:00:34.555 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 11:00:35.520 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 11:00:38.154 +0200 [debug] (validate.js) asked to skip the following validations,  2022-05-31 11:00:38.154 +0200 [debug] (validate.js) running validator actions 2022-05-31 11:00:38.154 +0200 [debug] (validate.js) running validator app-dir 2022-05-31 11:00:38.155 +0200 [debug] (validate.js) running validator config-dir 2022-05-31 11:00:38.155 +0200 [debug] (config-dir.js) Checking to see if /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/config/ exists. 2022-05-31 11:00:38.155 +0200 [debug] (config-dir.js) Fetched the following config files iparams.json 2022-05-31 11:00:38.155 +0200 [debug] (validate.js) running validator custom-objects 2022-05-31 11:00:38.156 +0200 [debug] (validate.js) running validator event 2022-05-31 11:00:38.156 +0200 [debug] (validate.js) running validator iparam 2022-05-31 11:00:38.158 +0200 [debug] (validate.js) skipping validator lint 2022-05-31 11:00:38.158 +0200 [debug] (validate.js) running validator manifest 2022-05-31 11:00:38.158 +0200 [debug] (manifest.js) running manifest validation with type run_validation 2022-05-31 11:00:38.158 +0200 [debug] (validate.js) skipping validator manifest-dependency 2022-05-31 11:00:38.158 +0200 [debug] (validate.js) running validator oauth 2022-05-31 11:00:38.159 +0200 [debug] (validate.js) skipping validator pkgsize 2022-05-31 11:00:38.159 +0200 [debug] (validate.js) running validator schema 2022-05-31 11:00:38.159 +0200 [debug] (validate.js) running validator version-check 2022-05-31 11:00:38.161 +0200 [debug] (watcher.js) Preparing to watch the following files ./app,./config,./manifest.json 2022-05-31 11:00:38.164 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:00:38.164 +0200 [debug] (custom-objects.js) to force or not? false 2022-05-31 11:00:38.164 +0200 [debug] (custom-objects.js) beginning to re-sync db 2022-05-31 11:00:38.611 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/bigint-pivot.js" 2022-05-31 11:00:38.614 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field-choice.js" 2022-05-31 11:00:38.615 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field.js" 2022-05-31 11:00:38.616 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity.js" 2022-05-31 11:00:38.617 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/record.js" 2022-05-31 11:00:38.619 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/string-pivot.js" 2022-05-31 11:00:38.636 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:00:38.637 +0200 [debug] (custom-objects.js) updated local store with latest entity hash 2022-05-31 11:00:38.641 +0200 [info] Starting local testing server at http://*:10001/ Append 'dev=true' to your Freshdesk account URL to start testing e.g. https://domain.freshdesk.com/a/tickets/1?dev=true Quit the server with Control-C. 2022-05-31 11:00:38.641 +0200 [info] To test the installation page, visit - http://localhost:10001/custom_configs 2022-05-31 11:00:55.078 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:00:55.079 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 11:00:55.558 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:00:55.558 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 11:00:55.604 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:00:55.605 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 11:00:55.663 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:00:55.663 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 11:00:55.710 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:00:55.710 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 11:00:55.728 +0200 [debug] (iframe.js) Responding with contents of /template.html 2022-05-31 11:00:55.741 +0200 [debug] (iframe.js) Responding with contents of /app.js 2022-05-31 11:00:55.742 +0200 [debug] (coverage-util.js) Instrumenting /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/app/app.js 2022-05-31 11:00:55.884 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:00:55.884 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 11:00:55.925 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:00:55.925 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 11:00:55.962 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:00:55.962 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 11:00:56.000 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:00:56.000 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 11:00:56.046 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:00:56.046 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 11:00:56.680 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:00:56.680 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 11:00:58.608 +0200 [debug] (coverage-util.js) Writing coverage. 2022-05-31 11:00:58.609 +0200 [debug] (coverage-util.js) Error Cannot read property 'start' of undefined while writing coverage report. 2022-05-31 11:00:58.609 +0200 [debug] (coverage-util.js) Flushing coverage. 2022-05-31 11:01:00.597 +0200 [debug] (coverage-util.js) Writing coverage. 2022-05-31 11:01:07.328 +0200 [debug] (data-pipe.js) received call for route "proxy" with action "execute" and body {"action":"execute","data":{"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get"}} 2022-05-31 11:01:07.329 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:01:07.342 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:01:07.342 +0200 [debug] (proxy.js) Substituing Templates {"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get"} with {"iparam":{"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"oauth_iparams":{}} 2022-05-31 11:01:07.344 +0200 [debug] (proxy.js) Parsed https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452 as {"protocol":"https:","slashes":true,"auth":null,"host":"virtualdropstudio.freshdesk.com","port":null,"hostname":"virtualdropstudio.freshdesk.com","hash":null,"search":null,"query":null,"pathname":"/api/v2/contacts/101026585452","path":"/api/v2/contacts/101026585452","href":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452"} 2022-05-31 11:01:07.346 +0200 [debug] (proxy.js) Checking if the request url is whitelisted in manifest 2022-05-31 11:01:07.346 +0200 [debug] (proxy.js) Matched "https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452" with https://virtualdropstudio.freshdesk.com 2022-05-31 11:01:07.346 +0200 [debug] (proxy.js) Making proxy call with options as {"headers":{"Content-Type":"application/json","Authorization":"Basic eXBsT0hra3gyejJhY1ZRS01DZGU6eA=="},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get","whitelistedDomains":["https://virtualdropstudio.freshdesk.com"],"maxAttempts":1,"retryDelay":0,"timeout":5000} 2022-05-31 11:01:07.544 +0200 [debug] (proxy.js) Proxy came back with error as null, body as "{\"active\":false,\"address\":null,\"description\":null,\"email\":\"loloic3@sfr.fr\",\"id\":1010265 2022-05-31 11:01:07.544 +0200 [debug] (proxy.js) Looking for "application/json" in application/json,application/xml,text/html,text/xml,application/jsonp,text/plain,application/javascript,application/vnd.api+json 2022-05-31 11:01:08.615 +0200 [debug] (coverage-util.js) Writing coverage. 2022-05-31 11:02:01.839 +0200 [info] NOTE: We recommend a coverage of 80% for apps that are to be published in the public marketplace. 2022-05-31 11:02:47.088 +0200 [debug] (logger.js) Starting FDK in node v12.22.7 on linux 2022-05-31 11:02:47.664 +0200 [debug] (sequelize.js) setting up sqilite at "/home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/.fdk/store.sqlite" 2022-05-31 11:02:48.559 +0200 [debug] (index.js) Running with args {"cmd":"run","gopts":{},"opts":{},"goptArg":{},"optArg":{},"args":[]} 2022-05-31 11:02:48.560 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 11:02:48.560 +0200 [debug] (updater.js) last check less than an day ago, not looking for updates 2022-05-31 11:02:48.750 +0200 [debug] (manifest.js) Reloading manifest with {"platform-version":"2.2","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"whitelisted-domains":["https://<%= iparam.freshdesk_domain %>.freshdesk.com"],"engines":{"node":"12.22.7","fdk":"7.1.0"}}. 2022-05-31 11:02:48.750 +0200 [debug] (manifest.js) Inferred db as features. 2022-05-31 11:02:48.752 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 11:02:48.762 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 11:02:49.726 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 11:02:52.340 +0200 [debug] (validate.js) asked to skip the following validations,  2022-05-31 11:02:52.341 +0200 [debug] (validate.js) running validator actions 2022-05-31 11:02:52.341 +0200 [debug] (validate.js) running validator app-dir 2022-05-31 11:02:52.342 +0200 [debug] (validate.js) running validator config-dir 2022-05-31 11:02:52.342 +0200 [debug] (config-dir.js) Checking to see if /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/config/ exists. 2022-05-31 11:02:52.342 +0200 [debug] (config-dir.js) Fetched the following config files iparams.json 2022-05-31 11:02:52.342 +0200 [debug] (validate.js) running validator custom-objects 2022-05-31 11:02:52.342 +0200 [debug] (validate.js) running validator event 2022-05-31 11:02:52.343 +0200 [debug] (validate.js) running validator iparam 2022-05-31 11:02:52.345 +0200 [debug] (validate.js) skipping validator lint 2022-05-31 11:02:52.345 +0200 [debug] (validate.js) running validator manifest 2022-05-31 11:02:52.345 +0200 [debug] (manifest.js) running manifest validation with type run_validation 2022-05-31 11:02:52.345 +0200 [debug] (validate.js) skipping validator manifest-dependency 2022-05-31 11:02:52.345 +0200 [debug] (validate.js) running validator oauth 2022-05-31 11:02:52.345 +0200 [debug] (validate.js) skipping validator pkgsize 2022-05-31 11:02:52.346 +0200 [debug] (validate.js) running validator schema 2022-05-31 11:02:52.346 +0200 [debug] (validate.js) running validator version-check 2022-05-31 11:02:52.348 +0200 [debug] (watcher.js) Preparing to watch the following files ./app,./config,./manifest.json 2022-05-31 11:02:52.351 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:02:52.351 +0200 [debug] (custom-objects.js) to force or not? false 2022-05-31 11:02:52.351 +0200 [debug] (custom-objects.js) beginning to re-sync db 2022-05-31 11:02:52.758 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/bigint-pivot.js" 2022-05-31 11:02:52.760 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field-choice.js" 2022-05-31 11:02:52.760 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field.js" 2022-05-31 11:02:52.761 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity.js" 2022-05-31 11:02:52.762 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/record.js" 2022-05-31 11:02:52.763 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/string-pivot.js" 2022-05-31 11:02:52.778 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:02:52.779 +0200 [debug] (custom-objects.js) updated local store with latest entity hash 2022-05-31 11:02:52.781 +0200 [info] Starting local testing server at http://*:10001/ Append 'dev=true' to your Freshdesk account URL to start testing e.g. https://domain.freshdesk.com/a/tickets/1?dev=true Quit the server with Control-C. 2022-05-31 11:02:52.782 +0200 [info] To test the installation page, visit - http://localhost:10001/custom_configs 2022-05-31 11:03:00.060 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:03:00.061 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 11:03:00.610 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:03:00.610 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 11:03:00.661 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:03:00.661 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 11:03:00.710 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:03:00.711 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 11:03:00.767 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:03:00.768 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 11:03:00.811 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:03:00.812 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 11:03:00.828 +0200 [debug] (iframe.js) Responding with contents of /template.html 2022-05-31 11:03:00.843 +0200 [debug] (iframe.js) Responding with contents of /app.js 2022-05-31 11:03:00.844 +0200 [debug] (coverage-util.js) Instrumenting /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/app/app.js 2022-05-31 11:03:00.986 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:03:00.987 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 11:03:01.033 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:03:01.033 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 11:03:01.075 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:03:01.075 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 11:03:01.118 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:03:01.118 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 11:03:01.158 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:03:01.158 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 11:03:03.613 +0200 [debug] (coverage-util.js) Writing coverage. 2022-05-31 11:08:40.023 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:08:40.024 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 11:08:40.385 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:08:40.385 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 11:08:40.433 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:08:40.434 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 11:08:40.496 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:08:40.496 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 11:08:40.547 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:08:40.547 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 11:08:40.566 +0200 [debug] (iframe.js) Responding with contents of /template.html 2022-05-31 11:08:40.578 +0200 [debug] (iframe.js) Responding with contents of /app.js 2022-05-31 11:08:40.579 +0200 [debug] (coverage-util.js) Instrumenting /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/app/app.js 2022-05-31 11:08:40.698 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:08:40.698 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 11:08:40.741 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:08:40.741 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 11:08:40.782 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:08:40.782 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 11:08:40.820 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:08:40.821 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 11:08:40.859 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:08:40.859 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 11:08:41.039 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:08:41.039 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 11:08:43.597 +0200 [debug] (coverage-util.js) Writing coverage. 2022-05-31 11:08:48.379 +0200 [debug] (data-pipe.js) received call for route "proxy" with action "execute" and body {"action":"execute","data":{"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get"}} 2022-05-31 11:08:48.380 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:08:48.383 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:08:48.384 +0200 [debug] (proxy.js) Substituing Templates {"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get"} with {"iparam":{"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"oauth_iparams":{}} 2022-05-31 11:08:48.386 +0200 [debug] (proxy.js) Parsed https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452 as {"protocol":"https:","slashes":true,"auth":null,"host":"virtualdropstudio.freshdesk.com","port":null,"hostname":"virtualdropstudio.freshdesk.com","hash":null,"search":null,"query":null,"pathname":"/api/v2/contacts/101026585452","path":"/api/v2/contacts/101026585452","href":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452"} 2022-05-31 11:08:48.389 +0200 [debug] (proxy.js) Checking if the request url is whitelisted in manifest 2022-05-31 11:08:48.389 +0200 [debug] (proxy.js) Matched "https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452" with https://virtualdropstudio.freshdesk.com 2022-05-31 11:08:48.389 +0200 [debug] (proxy.js) Making proxy call with options as {"headers":{"Content-Type":"application/json","Authorization":"Basic eXBsT0hra3gyejJhY1ZRS01DZGU6eA=="},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get","whitelistedDomains":["https://virtualdropstudio.freshdesk.com"],"maxAttempts":1,"retryDelay":0,"timeout":5000} 2022-05-31 11:08:48.587 +0200 [debug] (proxy.js) Proxy came back with error as null, body as "{\"active\":false,\"address\":null,\"description\":null,\"email\":\"loloic3@sfr.fr\",\"id\":1010265 2022-05-31 11:08:48.587 +0200 [debug] (proxy.js) Looking for "application/json" in application/json,application/xml,text/html,text/xml,application/jsonp,text/plain,application/javascript,application/vnd.api+json 2022-05-31 11:08:49.591 +0200 [debug] (coverage-util.js) Writing coverage. 2022-05-31 11:11:10.233 +0200 [info] NOTE: We recommend a coverage of 80% for apps that are to be published in the public marketplace. 2022-05-31 11:11:11.735 +0200 [debug] (logger.js) Starting FDK in node v12.22.7 on linux 2022-05-31 11:11:12.322 +0200 [debug] (sequelize.js) setting up sqilite at "/home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/.fdk/store.sqlite" 2022-05-31 11:11:13.229 +0200 [debug] (index.js) Running with args {"cmd":"run","gopts":{},"opts":{},"goptArg":{},"optArg":{},"args":[]} 2022-05-31 11:11:13.230 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 11:11:13.230 +0200 [debug] (updater.js) last check less than an day ago, not looking for updates 2022-05-31 11:11:13.419 +0200 [debug] (manifest.js) Reloading manifest with {"platform-version":"2.2","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"whitelisted-domains":["https://<%= iparam.freshdesk_domain %>.freshdesk.com"],"engines":{"node":"12.22.7","fdk":"7.1.0"}}. 2022-05-31 11:11:13.419 +0200 [debug] (manifest.js) Inferred db as features. 2022-05-31 11:11:13.421 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 11:11:13.431 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 11:11:14.396 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 11:11:17.010 +0200 [debug] (validate.js) asked to skip the following validations,  2022-05-31 11:11:17.010 +0200 [debug] (validate.js) running validator actions 2022-05-31 11:11:17.010 +0200 [debug] (validate.js) running validator app-dir 2022-05-31 11:11:17.011 +0200 [debug] (validate.js) running validator config-dir 2022-05-31 11:11:17.011 +0200 [debug] (config-dir.js) Checking to see if /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/config/ exists. 2022-05-31 11:11:17.011 +0200 [debug] (config-dir.js) Fetched the following config files iparams.json 2022-05-31 11:11:17.011 +0200 [debug] (validate.js) running validator custom-objects 2022-05-31 11:11:17.012 +0200 [debug] (validate.js) running validator event 2022-05-31 11:11:17.012 +0200 [debug] (validate.js) running validator iparam 2022-05-31 11:11:17.014 +0200 [debug] (validate.js) skipping validator lint 2022-05-31 11:11:17.014 +0200 [debug] (validate.js) running validator manifest 2022-05-31 11:11:17.014 +0200 [debug] (manifest.js) running manifest validation with type run_validation 2022-05-31 11:11:17.014 +0200 [debug] (validate.js) skipping validator manifest-dependency 2022-05-31 11:11:17.015 +0200 [debug] (validate.js) running validator oauth 2022-05-31 11:11:17.015 +0200 [debug] (validate.js) skipping validator pkgsize 2022-05-31 11:11:17.015 +0200 [debug] (validate.js) running validator schema 2022-05-31 11:11:17.015 +0200 [debug] (validate.js) running validator version-check 2022-05-31 11:11:17.017 +0200 [debug] (watcher.js) Preparing to watch the following files ./app,./config,./manifest.json 2022-05-31 11:11:17.021 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:11:17.021 +0200 [debug] (custom-objects.js) to force or not? false 2022-05-31 11:11:17.021 +0200 [debug] (custom-objects.js) beginning to re-sync db 2022-05-31 11:11:17.269 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/bigint-pivot.js" 2022-05-31 11:11:17.271 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field-choice.js" 2022-05-31 11:11:17.271 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field.js" 2022-05-31 11:11:17.272 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity.js" 2022-05-31 11:11:17.273 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/record.js" 2022-05-31 11:11:17.274 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/string-pivot.js" 2022-05-31 11:11:17.289 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:11:17.290 +0200 [debug] (custom-objects.js) updated local store with latest entity hash 2022-05-31 11:11:17.294 +0200 [info] Starting local testing server at http://*:10001/ Append 'dev=true' to your Freshdesk account URL to start testing e.g. https://domain.freshdesk.com/a/tickets/1?dev=true Quit the server with Control-C. 2022-05-31 11:11:17.294 +0200 [info] To test the installation page, visit - http://localhost:10001/custom_configs 2022-05-31 11:11:34.495 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:11:34.496 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 11:11:34.924 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:11:34.924 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 11:11:34.968 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:11:34.968 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 11:11:35.023 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:11:35.023 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 11:11:35.070 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:11:35.070 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 11:11:35.087 +0200 [debug] (iframe.js) Responding with contents of /template.html 2022-05-31 11:11:35.100 +0200 [debug] (iframe.js) Responding with contents of /app.js 2022-05-31 11:11:35.101 +0200 [debug] (coverage-util.js) Instrumenting /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/app/app.js 2022-05-31 11:11:35.246 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:11:35.246 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 11:11:35.288 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:11:35.288 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 11:11:35.369 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:11:35.369 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 11:11:35.413 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:11:35.414 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 11:11:35.468 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:11:35.468 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 11:11:36.097 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:11:36.098 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 11:11:37.608 +0200 [debug] (coverage-util.js) Writing coverage. 2022-05-31 11:11:44.027 +0200 [debug] (data-pipe.js) received call for route "proxy" with action "execute" and body {"action":"execute","data":{"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get"}} 2022-05-31 11:11:44.028 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:11:44.030 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:11:44.030 +0200 [debug] (proxy.js) Substituing Templates {"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get"} with {"iparam":{"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"oauth_iparams":{}} 2022-05-31 11:11:44.032 +0200 [debug] (proxy.js) Parsed https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452 as {"protocol":"https:","slashes":true,"auth":null,"host":"virtualdropstudio.freshdesk.com","port":null,"hostname":"virtualdropstudio.freshdesk.com","hash":null,"search":null,"query":null,"pathname":"/api/v2/contacts/101026585452","path":"/api/v2/contacts/101026585452","href":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452"} 2022-05-31 11:11:44.034 +0200 [debug] (proxy.js) Checking if the request url is whitelisted in manifest 2022-05-31 11:11:44.034 +0200 [debug] (proxy.js) Matched "https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452" with https://virtualdropstudio.freshdesk.com 2022-05-31 11:11:44.034 +0200 [debug] (proxy.js) Making proxy call with options as {"headers":{"Content-Type":"application/json","Authorization":"Basic eXBsT0hra3gyejJhY1ZRS01DZGU6eA=="},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get","whitelistedDomains":["https://virtualdropstudio.freshdesk.com"],"maxAttempts":1,"retryDelay":0,"timeout":5000} 2022-05-31 11:11:44.261 +0200 [debug] (proxy.js) Proxy came back with error as null, body as "{\"active\":false,\"address\":null,\"description\":null,\"email\":\"loloic3@sfr.fr\",\"id\":1010265 2022-05-31 11:11:44.261 +0200 [debug] (proxy.js) Looking for "application/json" in application/json,application/xml,text/html,text/xml,application/jsonp,text/plain,application/javascript,application/vnd.api+json 2022-05-31 11:11:45.599 +0200 [debug] (coverage-util.js) Writing coverage. 2022-05-31 11:12:08.594 +0200 [info] NOTE: We recommend a coverage of 80% for apps that are to be published in the public marketplace. 2022-05-31 11:12:09.778 +0200 [debug] (logger.js) Starting FDK in node v12.22.7 on linux 2022-05-31 11:12:10.367 +0200 [debug] (sequelize.js) setting up sqilite at "/home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/.fdk/store.sqlite" 2022-05-31 11:12:11.282 +0200 [debug] (index.js) Running with args {"cmd":"run","gopts":{},"opts":{},"goptArg":{},"optArg":{},"args":[]} 2022-05-31 11:12:11.282 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 11:12:11.282 +0200 [debug] (updater.js) last check less than an day ago, not looking for updates 2022-05-31 11:12:11.475 +0200 [debug] (manifest.js) Reloading manifest with {"platform-version":"2.2","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"whitelisted-domains":["https://<%= iparam.freshdesk_domain %>.freshdesk.com"],"engines":{"node":"12.22.7","fdk":"7.1.0"}}. 2022-05-31 11:12:11.476 +0200 [debug] (manifest.js) Inferred db as features. 2022-05-31 11:12:11.477 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 11:12:11.487 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 11:12:12.452 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 11:12:15.064 +0200 [debug] (validate.js) asked to skip the following validations,  2022-05-31 11:12:15.064 +0200 [debug] (validate.js) running validator actions 2022-05-31 11:12:15.064 +0200 [debug] (validate.js) running validator app-dir 2022-05-31 11:12:15.065 +0200 [debug] (validate.js) running validator config-dir 2022-05-31 11:12:15.065 +0200 [debug] (config-dir.js) Checking to see if /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/config/ exists. 2022-05-31 11:12:15.065 +0200 [debug] (config-dir.js) Fetched the following config files iparams.json 2022-05-31 11:12:15.066 +0200 [debug] (validate.js) running validator custom-objects 2022-05-31 11:12:15.066 +0200 [debug] (validate.js) running validator event 2022-05-31 11:12:15.066 +0200 [debug] (validate.js) running validator iparam 2022-05-31 11:12:15.068 +0200 [debug] (validate.js) skipping validator lint 2022-05-31 11:12:15.068 +0200 [debug] (validate.js) running validator manifest 2022-05-31 11:12:15.068 +0200 [debug] (manifest.js) running manifest validation with type run_validation 2022-05-31 11:12:15.068 +0200 [debug] (validate.js) skipping validator manifest-dependency 2022-05-31 11:12:15.069 +0200 [debug] (validate.js) running validator oauth 2022-05-31 11:12:15.069 +0200 [debug] (validate.js) skipping validator pkgsize 2022-05-31 11:12:15.069 +0200 [debug] (validate.js) running validator schema 2022-05-31 11:12:15.069 +0200 [debug] (validate.js) running validator version-check 2022-05-31 11:12:15.071 +0200 [debug] (watcher.js) Preparing to watch the following files ./app,./config,./manifest.json 2022-05-31 11:12:15.074 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:12:15.074 +0200 [debug] (custom-objects.js) to force or not? false 2022-05-31 11:12:15.074 +0200 [debug] (custom-objects.js) beginning to re-sync db 2022-05-31 11:12:15.321 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/bigint-pivot.js" 2022-05-31 11:12:15.323 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field-choice.js" 2022-05-31 11:12:15.323 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field.js" 2022-05-31 11:12:15.324 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity.js" 2022-05-31 11:12:15.325 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/record.js" 2022-05-31 11:12:15.326 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/string-pivot.js" 2022-05-31 11:12:15.341 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:12:15.341 +0200 [debug] (custom-objects.js) updated local store with latest entity hash 2022-05-31 11:12:15.344 +0200 [info] Starting local testing server at http://*:10001/ Append 'dev=true' to your Freshdesk account URL to start testing e.g. https://domain.freshdesk.com/a/tickets/1?dev=true Quit the server with Control-C. 2022-05-31 11:12:15.345 +0200 [info] To test the installation page, visit - http://localhost:10001/custom_configs 2022-05-31 11:12:31.500 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:12:31.501 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 11:12:31.990 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:12:31.990 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 11:12:32.032 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:12:32.032 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 11:12:32.084 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:12:32.084 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 11:12:32.134 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:12:32.135 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 11:12:32.162 +0200 [debug] (iframe.js) Responding with contents of /template.html 2022-05-31 11:12:32.189 +0200 [debug] (iframe.js) Responding with contents of /app.js 2022-05-31 11:12:32.190 +0200 [debug] (coverage-util.js) Instrumenting /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/app/app.js 2022-05-31 11:12:32.334 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:12:32.335 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 11:12:32.382 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:12:32.382 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 11:12:32.421 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:12:32.421 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 11:12:32.461 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:12:32.461 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 11:12:32.502 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:12:32.502 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 11:12:32.646 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:12:32.647 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 11:12:34.609 +0200 [debug] (coverage-util.js) Writing coverage. 2022-05-31 11:12:38.979 +0200 [debug] (data-pipe.js) received call for route "proxy" with action "execute" and body {"action":"execute","data":{"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get"}} 2022-05-31 11:12:38.980 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:12:38.982 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:12:38.983 +0200 [debug] (proxy.js) Substituing Templates {"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get"} with {"iparam":{"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"oauth_iparams":{}} 2022-05-31 11:12:38.985 +0200 [debug] (proxy.js) Parsed https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452 as {"protocol":"https:","slashes":true,"auth":null,"host":"virtualdropstudio.freshdesk.com","port":null,"hostname":"virtualdropstudio.freshdesk.com","hash":null,"search":null,"query":null,"pathname":"/api/v2/contacts/101026585452","path":"/api/v2/contacts/101026585452","href":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452"} 2022-05-31 11:12:38.987 +0200 [debug] (proxy.js) Checking if the request url is whitelisted in manifest 2022-05-31 11:12:38.987 +0200 [debug] (proxy.js) Matched "https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452" with https://virtualdropstudio.freshdesk.com 2022-05-31 11:12:38.987 +0200 [debug] (proxy.js) Making proxy call with options as {"headers":{"Content-Type":"application/json","Authorization":"Basic eXBsT0hra3gyejJhY1ZRS01DZGU6eA=="},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get","whitelistedDomains":["https://virtualdropstudio.freshdesk.com"],"maxAttempts":1,"retryDelay":0,"timeout":5000} 2022-05-31 11:12:39.201 +0200 [debug] (proxy.js) Proxy came back with error as null, body as "{\"active\":false,\"address\":null,\"description\":null,\"email\":\"loloic3@sfr.fr\",\"id\":1010265 2022-05-31 11:12:39.202 +0200 [debug] (proxy.js) Looking for "application/json" in application/json,application/xml,text/html,text/xml,application/jsonp,text/plain,application/javascript,application/vnd.api+json 2022-05-31 11:12:40.594 +0200 [debug] (coverage-util.js) Writing coverage. 2022-05-31 11:14:27.176 +0200 [info] NOTE: We recommend a coverage of 80% for apps that are to be published in the public marketplace. 2022-05-31 11:14:28.959 +0200 [debug] (logger.js) Starting FDK in node v12.22.7 on linux 2022-05-31 11:14:29.527 +0200 [debug] (sequelize.js) setting up sqilite at "/home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/.fdk/store.sqlite" 2022-05-31 11:14:30.434 +0200 [debug] (index.js) Running with args {"cmd":"run","gopts":{},"opts":{},"goptArg":{},"optArg":{},"args":[]} 2022-05-31 11:14:30.435 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 11:14:30.435 +0200 [debug] (updater.js) last check less than an day ago, not looking for updates 2022-05-31 11:14:30.630 +0200 [debug] (manifest.js) Reloading manifest with {"platform-version":"2.2","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"whitelisted-domains":["https://<%= iparam.freshdesk_domain %>.freshdesk.com"],"engines":{"node":"12.22.7","fdk":"7.1.0"}}. 2022-05-31 11:14:30.631 +0200 [debug] (manifest.js) Inferred db as features. 2022-05-31 11:14:30.632 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 11:14:30.643 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 11:14:31.615 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 11:14:34.255 +0200 [debug] (validate.js) asked to skip the following validations,  2022-05-31 11:14:34.255 +0200 [debug] (validate.js) running validator actions 2022-05-31 11:14:34.256 +0200 [debug] (validate.js) running validator app-dir 2022-05-31 11:14:34.256 +0200 [debug] (validate.js) running validator config-dir 2022-05-31 11:14:34.257 +0200 [debug] (config-dir.js) Checking to see if /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/config/ exists. 2022-05-31 11:14:34.257 +0200 [debug] (config-dir.js) Fetched the following config files iparams.json 2022-05-31 11:14:34.257 +0200 [debug] (validate.js) running validator custom-objects 2022-05-31 11:14:34.257 +0200 [debug] (validate.js) running validator event 2022-05-31 11:14:34.257 +0200 [debug] (validate.js) running validator iparam 2022-05-31 11:14:34.260 +0200 [debug] (validate.js) skipping validator lint 2022-05-31 11:14:34.260 +0200 [debug] (validate.js) running validator manifest 2022-05-31 11:14:34.260 +0200 [debug] (manifest.js) running manifest validation with type run_validation 2022-05-31 11:14:34.260 +0200 [debug] (validate.js) skipping validator manifest-dependency 2022-05-31 11:14:34.260 +0200 [debug] (validate.js) running validator oauth 2022-05-31 11:14:34.260 +0200 [debug] (validate.js) skipping validator pkgsize 2022-05-31 11:14:34.260 +0200 [debug] (validate.js) running validator schema 2022-05-31 11:14:34.261 +0200 [debug] (validate.js) running validator version-check 2022-05-31 11:14:34.263 +0200 [debug] (watcher.js) Preparing to watch the following files ./app,./config,./manifest.json 2022-05-31 11:14:34.266 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:14:34.266 +0200 [debug] (custom-objects.js) to force or not? false 2022-05-31 11:14:34.266 +0200 [debug] (custom-objects.js) beginning to re-sync db 2022-05-31 11:14:34.731 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/bigint-pivot.js" 2022-05-31 11:14:34.732 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field-choice.js" 2022-05-31 11:14:34.733 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field.js" 2022-05-31 11:14:34.734 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity.js" 2022-05-31 11:14:34.734 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/record.js" 2022-05-31 11:14:34.735 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/string-pivot.js" 2022-05-31 11:14:34.750 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:14:34.751 +0200 [debug] (custom-objects.js) updated local store with latest entity hash 2022-05-31 11:14:34.754 +0200 [info] Starting local testing server at http://*:10001/ Append 'dev=true' to your Freshdesk account URL to start testing e.g. https://domain.freshdesk.com/a/tickets/1?dev=true Quit the server with Control-C. 2022-05-31 11:14:34.755 +0200 [info] To test the installation page, visit - http://localhost:10001/custom_configs 2022-05-31 11:14:41.779 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:14:41.780 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 11:14:42.249 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:14:42.250 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 11:14:42.292 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:14:42.292 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 11:14:42.351 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:14:42.351 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 11:14:42.400 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:14:42.400 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 11:14:42.427 +0200 [debug] (iframe.js) Responding with contents of /template.html 2022-05-31 11:14:42.440 +0200 [debug] (iframe.js) Responding with contents of /app.js 2022-05-31 11:14:42.441 +0200 [debug] (coverage-util.js) Instrumenting /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/app/app.js 2022-05-31 11:14:42.565 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:14:42.565 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 11:14:42.606 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:14:42.606 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 11:14:42.650 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:14:42.650 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 11:14:42.691 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:14:42.691 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 11:14:42.734 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:14:42.735 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 11:14:42.866 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:14:42.866 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 11:14:45.620 +0200 [debug] (coverage-util.js) Writing coverage. 2022-05-31 11:15:52.423 +0200 [debug] (data-pipe.js) received call for route "proxy" with action "execute" and body {"action":"execute","data":{"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get"}} 2022-05-31 11:15:52.424 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:15:52.428 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:15:52.428 +0200 [debug] (proxy.js) Substituing Templates {"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get"} with {"iparam":{"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"oauth_iparams":{}} 2022-05-31 11:15:52.429 +0200 [debug] (proxy.js) Parsed https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452 as {"protocol":"https:","slashes":true,"auth":null,"host":"virtualdropstudio.freshdesk.com","port":null,"hostname":"virtualdropstudio.freshdesk.com","hash":null,"search":null,"query":null,"pathname":"/api/v2/contacts/101026585452","path":"/api/v2/contacts/101026585452","href":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452"} 2022-05-31 11:15:52.432 +0200 [debug] (proxy.js) Checking if the request url is whitelisted in manifest 2022-05-31 11:15:52.432 +0200 [debug] (proxy.js) Matched "https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452" with https://virtualdropstudio.freshdesk.com 2022-05-31 11:15:52.432 +0200 [debug] (proxy.js) Making proxy call with options as {"headers":{"Content-Type":"application/json","Authorization":"Basic eXBsT0hra3gyejJhY1ZRS01DZGU6eA=="},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get","whitelistedDomains":["https://virtualdropstudio.freshdesk.com"],"maxAttempts":1,"retryDelay":0,"timeout":5000} 2022-05-31 11:15:52.640 +0200 [debug] (proxy.js) Proxy came back with error as null, body as "{\"active\":false,\"address\":null,\"description\":null,\"email\":\"loloic3@sfr.fr\",\"id\":1010265 2022-05-31 11:15:52.640 +0200 [debug] (proxy.js) Looking for "application/json" in application/json,application/xml,text/html,text/xml,application/jsonp,text/plain,application/javascript,application/vnd.api+json 2022-05-31 11:15:53.592 +0200 [debug] (coverage-util.js) Writing coverage. 2022-05-31 11:16:16.314 +0200 [info] NOTE: We recommend a coverage of 80% for apps that are to be published in the public marketplace. 2022-05-31 11:16:18.046 +0200 [debug] (logger.js) Starting FDK in node v12.22.7 on linux 2022-05-31 11:16:18.616 +0200 [debug] (sequelize.js) setting up sqilite at "/home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/.fdk/store.sqlite" 2022-05-31 11:16:19.519 +0200 [debug] (index.js) Running with args {"cmd":"run","gopts":{},"opts":{},"goptArg":{},"optArg":{},"args":[]} 2022-05-31 11:16:19.520 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 11:16:19.520 +0200 [debug] (updater.js) last check less than an day ago, not looking for updates 2022-05-31 11:16:19.715 +0200 [debug] (manifest.js) Reloading manifest with {"platform-version":"2.2","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"whitelisted-domains":["https://<%= iparam.freshdesk_domain %>.freshdesk.com"],"engines":{"node":"12.22.7","fdk":"7.1.0"}}. 2022-05-31 11:16:19.715 +0200 [debug] (manifest.js) Inferred db as features. 2022-05-31 11:16:19.716 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 11:16:19.728 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 11:16:20.686 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 11:16:23.345 +0200 [debug] (validate.js) asked to skip the following validations,  2022-05-31 11:16:23.346 +0200 [debug] (validate.js) running validator actions 2022-05-31 11:16:23.346 +0200 [debug] (validate.js) running validator app-dir 2022-05-31 11:16:23.347 +0200 [debug] (validate.js) running validator config-dir 2022-05-31 11:16:23.347 +0200 [debug] (config-dir.js) Checking to see if /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/config/ exists. 2022-05-31 11:16:23.347 +0200 [debug] (config-dir.js) Fetched the following config files iparams.json 2022-05-31 11:16:23.347 +0200 [debug] (validate.js) running validator custom-objects 2022-05-31 11:16:23.347 +0200 [debug] (validate.js) running validator event 2022-05-31 11:16:23.347 +0200 [debug] (validate.js) running validator iparam 2022-05-31 11:16:23.350 +0200 [debug] (validate.js) skipping validator lint 2022-05-31 11:16:23.350 +0200 [debug] (validate.js) running validator manifest 2022-05-31 11:16:23.350 +0200 [debug] (manifest.js) running manifest validation with type run_validation 2022-05-31 11:16:23.350 +0200 [debug] (validate.js) skipping validator manifest-dependency 2022-05-31 11:16:23.350 +0200 [debug] (validate.js) running validator oauth 2022-05-31 11:16:23.350 +0200 [debug] (validate.js) skipping validator pkgsize 2022-05-31 11:16:23.350 +0200 [debug] (validate.js) running validator schema 2022-05-31 11:16:23.350 +0200 [debug] (validate.js) running validator version-check 2022-05-31 11:16:23.353 +0200 [debug] (watcher.js) Preparing to watch the following files ./app,./config,./manifest.json 2022-05-31 11:16:23.356 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:16:23.356 +0200 [debug] (custom-objects.js) to force or not? false 2022-05-31 11:16:23.356 +0200 [debug] (custom-objects.js) beginning to re-sync db 2022-05-31 11:16:23.752 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/bigint-pivot.js" 2022-05-31 11:16:23.754 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field-choice.js" 2022-05-31 11:16:23.754 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field.js" 2022-05-31 11:16:23.755 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity.js" 2022-05-31 11:16:23.756 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/record.js" 2022-05-31 11:16:23.757 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/string-pivot.js" 2022-05-31 11:16:23.776 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:16:23.776 +0200 [debug] (custom-objects.js) updated local store with latest entity hash 2022-05-31 11:16:23.780 +0200 [info] Starting local testing server at http://*:10001/ Append 'dev=true' to your Freshdesk account URL to start testing e.g. https://domain.freshdesk.com/a/tickets/1?dev=true Quit the server with Control-C. 2022-05-31 11:16:23.781 +0200 [info] To test the installation page, visit - http://localhost:10001/custom_configs 2022-05-31 11:16:31.962 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:16:31.964 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 11:16:32.360 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:16:32.360 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 11:16:32.399 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:16:32.400 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 11:16:32.456 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:16:32.456 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 11:16:32.542 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:16:32.542 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 11:16:32.559 +0200 [debug] (iframe.js) Responding with contents of /template.html 2022-05-31 11:16:32.572 +0200 [debug] (iframe.js) Responding with contents of /app.js 2022-05-31 11:16:32.573 +0200 [debug] (coverage-util.js) Instrumenting /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/app/app.js 2022-05-31 11:16:32.712 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:16:32.713 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 11:16:32.841 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:16:32.841 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 11:16:32.883 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:16:32.883 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 11:16:32.927 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:16:32.927 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 11:16:32.971 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:16:32.971 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 11:16:33.559 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:16:33.560 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 11:16:35.631 +0200 [debug] (coverage-util.js) Writing coverage. 2022-05-31 11:16:40.243 +0200 [debug] (data-pipe.js) received call for route "proxy" with action "execute" and body {"action":"execute","data":{"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get"}} 2022-05-31 11:16:40.243 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:16:40.247 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:16:40.247 +0200 [debug] (proxy.js) Substituing Templates {"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get"} with {"iparam":{"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"oauth_iparams":{}} 2022-05-31 11:16:40.249 +0200 [debug] (proxy.js) Parsed https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452 as {"protocol":"https:","slashes":true,"auth":null,"host":"virtualdropstudio.freshdesk.com","port":null,"hostname":"virtualdropstudio.freshdesk.com","hash":null,"search":null,"query":null,"pathname":"/api/v2/contacts/101026585452","path":"/api/v2/contacts/101026585452","href":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452"} 2022-05-31 11:16:40.251 +0200 [debug] (proxy.js) Checking if the request url is whitelisted in manifest 2022-05-31 11:16:40.252 +0200 [debug] (proxy.js) Matched "https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452" with https://virtualdropstudio.freshdesk.com 2022-05-31 11:16:40.252 +0200 [debug] (proxy.js) Making proxy call with options as {"headers":{"Content-Type":"application/json","Authorization":"Basic eXBsT0hra3gyejJhY1ZRS01DZGU6eA=="},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get","whitelistedDomains":["https://virtualdropstudio.freshdesk.com"],"maxAttempts":1,"retryDelay":0,"timeout":5000} 2022-05-31 11:16:40.451 +0200 [debug] (proxy.js) Proxy came back with error as null, body as "{\"active\":false,\"address\":null,\"description\":null,\"email\":\"loloic3@sfr.fr\",\"id\":1010265 2022-05-31 11:16:40.451 +0200 [debug] (proxy.js) Looking for "application/json" in application/json,application/xml,text/html,text/xml,application/jsonp,text/plain,application/javascript,application/vnd.api+json 2022-05-31 11:16:41.599 +0200 [debug] (coverage-util.js) Writing coverage. 2022-05-31 11:17:02.834 +0200 [debug] (data-pipe.js) received call for route "proxy" with action "execute" and body {"action":"execute","data":{"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get"}} 2022-05-31 11:17:02.835 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:17:02.835 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:17:02.836 +0200 [debug] (proxy.js) Substituing Templates {"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get"} with {"iparam":{"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"oauth_iparams":{}} 2022-05-31 11:17:02.836 +0200 [debug] (proxy.js) Parsed https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452 as {"protocol":"https:","slashes":true,"auth":null,"host":"virtualdropstudio.freshdesk.com","port":null,"hostname":"virtualdropstudio.freshdesk.com","hash":null,"search":null,"query":null,"pathname":"/api/v2/contacts/101026585452","path":"/api/v2/contacts/101026585452","href":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452"} 2022-05-31 11:17:02.838 +0200 [debug] (proxy.js) Checking if the request url is whitelisted in manifest 2022-05-31 11:17:02.839 +0200 [debug] (proxy.js) Matched "https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452" with https://virtualdropstudio.freshdesk.com 2022-05-31 11:17:02.839 +0200 [debug] (proxy.js) Making proxy call with options as {"headers":{"Content-Type":"application/json","Authorization":"Basic eXBsT0hra3gyejJhY1ZRS01DZGU6eA=="},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get","whitelistedDomains":["https://virtualdropstudio.freshdesk.com"],"maxAttempts":1,"retryDelay":0,"timeout":5000} 2022-05-31 11:17:03.006 +0200 [debug] (proxy.js) Proxy came back with error as null, body as "{\"active\":false,\"address\":null,\"description\":null,\"email\":\"loloic3@sfr.fr\",\"id\":1010265 2022-05-31 11:17:03.007 +0200 [debug] (proxy.js) Looking for "application/json" in application/json,application/xml,text/html,text/xml,application/jsonp,text/plain,application/javascript,application/vnd.api+json 2022-05-31 11:17:03.606 +0200 [debug] (coverage-util.js) Writing coverage. 2022-05-31 11:17:50.396 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:17:50.396 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 11:17:50.719 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:17:50.719 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 11:17:50.761 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:17:50.761 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 11:17:50.818 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:17:50.818 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 11:17:50.865 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:17:50.865 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 11:17:50.887 +0200 [debug] (iframe.js) Responding with contents of /template.html 2022-05-31 11:17:50.902 +0200 [debug] (iframe.js) Responding with contents of /app.js 2022-05-31 11:17:50.903 +0200 [debug] (coverage-util.js) Instrumenting /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/app/app.js 2022-05-31 11:17:51.028 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:17:51.028 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 11:17:51.067 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:17:51.067 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 11:17:51.134 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:17:51.135 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 11:17:51.182 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:17:51.183 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 11:17:51.252 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:17:51.255 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 11:17:52.024 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:17:52.024 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 11:17:53.600 +0200 [debug] (coverage-util.js) Writing coverage. 2022-05-31 11:17:54.281 +0200 [info] NOTE: We recommend a coverage of 80% for apps that are to be published in the public marketplace. 2022-05-31 11:18:46.892 +0200 [debug] (logger.js) Starting FDK in node v12.22.7 on linux 2022-05-31 11:18:47.475 +0200 [debug] (sequelize.js) setting up sqilite at "/home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/.fdk/store.sqlite" 2022-05-31 11:18:48.381 +0200 [debug] (index.js) Running with args {"cmd":"run","gopts":{},"opts":{},"goptArg":{},"optArg":{},"args":[]} 2022-05-31 11:18:48.382 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 11:18:48.382 +0200 [debug] (updater.js) last check less than an day ago, not looking for updates 2022-05-31 11:18:48.574 +0200 [debug] (manifest.js) Reloading manifest with {"platform-version":"2.2","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"whitelisted-domains":["https://<%= iparam.freshdesk_domain %>.freshdesk.com"],"engines":{"node":"12.22.7","fdk":"7.1.0"}}. 2022-05-31 11:18:48.575 +0200 [debug] (manifest.js) Inferred db as features. 2022-05-31 11:18:48.576 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 11:18:48.586 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 11:18:49.548 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 11:18:52.187 +0200 [debug] (validate.js) asked to skip the following validations,  2022-05-31 11:18:52.188 +0200 [debug] (validate.js) running validator actions 2022-05-31 11:18:52.188 +0200 [debug] (validate.js) running validator app-dir 2022-05-31 11:18:52.189 +0200 [debug] (validate.js) running validator config-dir 2022-05-31 11:18:52.189 +0200 [debug] (config-dir.js) Checking to see if /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/config/ exists. 2022-05-31 11:18:52.189 +0200 [debug] (config-dir.js) Fetched the following config files iparams.json 2022-05-31 11:18:52.189 +0200 [debug] (validate.js) running validator custom-objects 2022-05-31 11:18:52.190 +0200 [debug] (validate.js) running validator event 2022-05-31 11:18:52.190 +0200 [debug] (validate.js) running validator iparam 2022-05-31 11:18:52.192 +0200 [debug] (validate.js) skipping validator lint 2022-05-31 11:18:52.192 +0200 [debug] (validate.js) running validator manifest 2022-05-31 11:18:52.192 +0200 [debug] (manifest.js) running manifest validation with type run_validation 2022-05-31 11:18:52.192 +0200 [debug] (validate.js) skipping validator manifest-dependency 2022-05-31 11:18:52.192 +0200 [debug] (validate.js) running validator oauth 2022-05-31 11:18:52.193 +0200 [debug] (validate.js) skipping validator pkgsize 2022-05-31 11:18:52.193 +0200 [debug] (validate.js) running validator schema 2022-05-31 11:18:52.193 +0200 [debug] (validate.js) running validator version-check 2022-05-31 11:18:52.195 +0200 [debug] (watcher.js) Preparing to watch the following files ./app,./config,./manifest.json 2022-05-31 11:18:52.198 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:18:52.198 +0200 [debug] (custom-objects.js) to force or not? false 2022-05-31 11:18:52.198 +0200 [debug] (custom-objects.js) beginning to re-sync db 2022-05-31 11:18:52.638 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/bigint-pivot.js" 2022-05-31 11:18:52.639 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field-choice.js" 2022-05-31 11:18:52.640 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field.js" 2022-05-31 11:18:52.641 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity.js" 2022-05-31 11:18:52.641 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/record.js" 2022-05-31 11:18:52.642 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/string-pivot.js" 2022-05-31 11:18:52.657 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:18:52.658 +0200 [debug] (custom-objects.js) updated local store with latest entity hash 2022-05-31 11:18:52.663 +0200 [info] Starting local testing server at http://*:10001/ Append 'dev=true' to your Freshdesk account URL to start testing e.g. https://domain.freshdesk.com/a/tickets/1?dev=true Quit the server with Control-C. 2022-05-31 11:18:52.664 +0200 [info] To test the installation page, visit - http://localhost:10001/custom_configs 2022-05-31 11:19:01.646 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:19:01.647 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 11:19:02.001 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:19:02.001 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 11:19:02.053 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:19:02.053 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 11:19:02.105 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:19:02.105 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 11:19:02.179 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:19:02.180 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 11:19:02.196 +0200 [debug] (iframe.js) Responding with contents of /template.html 2022-05-31 11:19:02.209 +0200 [debug] (iframe.js) Responding with contents of /app.js 2022-05-31 11:19:02.211 +0200 [debug] (coverage-util.js) Instrumenting /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/app/app.js 2022-05-31 11:19:02.398 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:19:02.399 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 11:19:02.439 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:19:02.439 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 11:19:02.479 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:19:02.480 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 11:19:02.520 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:19:02.520 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 11:19:02.558 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:19:02.558 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 11:19:02.699 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:19:02.699 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 11:19:05.605 +0200 [debug] (coverage-util.js) Writing coverage. 2022-05-31 11:19:12.813 +0200 [debug] (data-pipe.js) received call for route "proxy" with action "execute" and body {"action":"execute","data":{"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get"}} 2022-05-31 11:19:12.814 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:19:12.818 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:19:12.818 +0200 [debug] (proxy.js) Substituing Templates {"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get"} with {"iparam":{"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"oauth_iparams":{}} 2022-05-31 11:19:12.819 +0200 [debug] (proxy.js) Parsed https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452 as {"protocol":"https:","slashes":true,"auth":null,"host":"virtualdropstudio.freshdesk.com","port":null,"hostname":"virtualdropstudio.freshdesk.com","hash":null,"search":null,"query":null,"pathname":"/api/v2/contacts/101026585452","path":"/api/v2/contacts/101026585452","href":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452"} 2022-05-31 11:19:12.822 +0200 [debug] (proxy.js) Checking if the request url is whitelisted in manifest 2022-05-31 11:19:12.822 +0200 [debug] (proxy.js) Matched "https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452" with https://virtualdropstudio.freshdesk.com 2022-05-31 11:19:12.822 +0200 [debug] (proxy.js) Making proxy call with options as {"headers":{"Content-Type":"application/json","Authorization":"Basic eXBsT0hra3gyejJhY1ZRS01DZGU6eA=="},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get","whitelistedDomains":["https://virtualdropstudio.freshdesk.com"],"maxAttempts":1,"retryDelay":0,"timeout":5000} 2022-05-31 11:19:13.030 +0200 [debug] (proxy.js) Proxy came back with error as null, body as "{\"active\":false,\"address\":null,\"description\":null,\"email\":\"loloic3@sfr.fr\",\"id\":1010265 2022-05-31 11:19:13.030 +0200 [debug] (proxy.js) Looking for "application/json" in application/json,application/xml,text/html,text/xml,application/jsonp,text/plain,application/javascript,application/vnd.api+json 2022-05-31 11:19:13.607 +0200 [debug] (coverage-util.js) Writing coverage. 2022-05-31 11:20:08.191 +0200 [info] NOTE: We recommend a coverage of 80% for apps that are to be published in the public marketplace. 2022-05-31 11:20:09.461 +0200 [debug] (logger.js) Starting FDK in node v12.22.7 on linux 2022-05-31 11:20:10.034 +0200 [debug] (sequelize.js) setting up sqilite at "/home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/.fdk/store.sqlite" 2022-05-31 11:20:10.927 +0200 [debug] (index.js) Running with args {"cmd":"run","gopts":{},"opts":{},"goptArg":{},"optArg":{},"args":[]} 2022-05-31 11:20:10.927 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 11:20:10.927 +0200 [debug] (updater.js) last check less than an day ago, not looking for updates 2022-05-31 11:20:11.120 +0200 [debug] (manifest.js) Reloading manifest with {"platform-version":"2.2","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"whitelisted-domains":["https://<%= iparam.freshdesk_domain %>.freshdesk.com"],"engines":{"node":"12.22.7","fdk":"7.1.0"}}. 2022-05-31 11:20:11.121 +0200 [debug] (manifest.js) Inferred db as features. 2022-05-31 11:20:11.122 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 11:20:11.132 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 11:20:12.098 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 11:20:14.713 +0200 [debug] (validate.js) asked to skip the following validations,  2022-05-31 11:20:14.713 +0200 [debug] (validate.js) running validator actions 2022-05-31 11:20:14.713 +0200 [debug] (validate.js) running validator app-dir 2022-05-31 11:20:14.714 +0200 [debug] (validate.js) running validator config-dir 2022-05-31 11:20:14.714 +0200 [debug] (config-dir.js) Checking to see if /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/config/ exists. 2022-05-31 11:20:14.714 +0200 [debug] (config-dir.js) Fetched the following config files iparams.json 2022-05-31 11:20:14.714 +0200 [debug] (validate.js) running validator custom-objects 2022-05-31 11:20:14.715 +0200 [debug] (validate.js) running validator event 2022-05-31 11:20:14.715 +0200 [debug] (validate.js) running validator iparam 2022-05-31 11:20:14.717 +0200 [debug] (validate.js) skipping validator lint 2022-05-31 11:20:14.717 +0200 [debug] (validate.js) running validator manifest 2022-05-31 11:20:14.717 +0200 [debug] (manifest.js) running manifest validation with type run_validation 2022-05-31 11:20:14.718 +0200 [debug] (validate.js) skipping validator manifest-dependency 2022-05-31 11:20:14.718 +0200 [debug] (validate.js) running validator oauth 2022-05-31 11:20:14.718 +0200 [debug] (validate.js) skipping validator pkgsize 2022-05-31 11:20:14.718 +0200 [debug] (validate.js) running validator schema 2022-05-31 11:20:14.718 +0200 [debug] (validate.js) running validator version-check 2022-05-31 11:20:14.720 +0200 [debug] (watcher.js) Preparing to watch the following files ./app,./config,./manifest.json 2022-05-31 11:20:14.723 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:20:14.723 +0200 [debug] (custom-objects.js) to force or not? false 2022-05-31 11:20:14.724 +0200 [debug] (custom-objects.js) beginning to re-sync db 2022-05-31 11:20:15.100 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/bigint-pivot.js" 2022-05-31 11:20:15.101 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field-choice.js" 2022-05-31 11:20:15.102 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field.js" 2022-05-31 11:20:15.103 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity.js" 2022-05-31 11:20:15.103 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/record.js" 2022-05-31 11:20:15.104 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/string-pivot.js" 2022-05-31 11:20:15.119 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:20:15.120 +0200 [debug] (custom-objects.js) updated local store with latest entity hash 2022-05-31 11:20:15.123 +0200 [info] Starting local testing server at http://*:10001/ Append 'dev=true' to your Freshdesk account URL to start testing e.g. https://domain.freshdesk.com/a/tickets/1?dev=true Quit the server with Control-C. 2022-05-31 11:20:15.124 +0200 [info] To test the installation page, visit - http://localhost:10001/custom_configs 2022-05-31 11:20:51.770 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:20:51.771 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 11:20:52.250 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:20:52.251 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 11:20:52.305 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:20:52.306 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 11:20:52.365 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:20:52.366 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 11:20:52.404 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:20:52.404 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 11:20:52.422 +0200 [debug] (iframe.js) Responding with contents of /template.html 2022-05-31 11:20:52.436 +0200 [debug] (iframe.js) Responding with contents of /app.js 2022-05-31 11:20:52.438 +0200 [debug] (coverage-util.js) Instrumenting /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/app/app.js 2022-05-31 11:20:52.599 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:20:52.600 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 11:20:52.644 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:20:52.645 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 11:20:52.682 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:20:52.682 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 11:20:52.719 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:20:52.719 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 11:20:52.762 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:20:52.762 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 11:20:53.381 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:20:53.381 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 11:20:55.612 +0200 [debug] (coverage-util.js) Writing coverage. 2022-05-31 11:21:07.589 +0200 [debug] (coverage-util.js) Writing coverage. 2022-05-31 11:21:07.605 +0200 [debug] (data-pipe.js) received call for route "proxy" with action "execute" and body {"action":"execute","data":{"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get"}} 2022-05-31 11:21:07.605 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:21:07.608 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:21:07.608 +0200 [debug] (proxy.js) Substituing Templates {"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get"} with {"iparam":{"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"oauth_iparams":{}} 2022-05-31 11:21:07.610 +0200 [debug] (proxy.js) Parsed https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452 as {"protocol":"https:","slashes":true,"auth":null,"host":"virtualdropstudio.freshdesk.com","port":null,"hostname":"virtualdropstudio.freshdesk.com","hash":null,"search":null,"query":null,"pathname":"/api/v2/contacts/101026585452","path":"/api/v2/contacts/101026585452","href":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452"} 2022-05-31 11:21:07.612 +0200 [debug] (proxy.js) Checking if the request url is whitelisted in manifest 2022-05-31 11:21:07.613 +0200 [debug] (proxy.js) Matched "https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452" with https://virtualdropstudio.freshdesk.com 2022-05-31 11:21:07.613 +0200 [debug] (proxy.js) Making proxy call with options as {"headers":{"Content-Type":"application/json","Authorization":"Basic eXBsT0hra3gyejJhY1ZRS01DZGU6eA=="},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get","whitelistedDomains":["https://virtualdropstudio.freshdesk.com"],"maxAttempts":1,"retryDelay":0,"timeout":5000} 2022-05-31 11:21:07.875 +0200 [debug] (proxy.js) Proxy came back with error as null, body as "{\"active\":false,\"address\":null,\"description\":null,\"email\":\"loloic3@sfr.fr\",\"id\":1010265 2022-05-31 11:21:07.875 +0200 [debug] (proxy.js) Looking for "application/json" in application/json,application/xml,text/html,text/xml,application/jsonp,text/plain,application/javascript,application/vnd.api+json 2022-05-31 11:21:09.606 +0200 [debug] (coverage-util.js) Writing coverage. 2022-05-31 11:25:40.819 +0200 [info] NOTE: We recommend a coverage of 80% for apps that are to be published in the public marketplace. 2022-05-31 11:25:41.693 +0200 [debug] (logger.js) Starting FDK in node v12.22.7 on linux 2022-05-31 11:25:42.262 +0200 [debug] (sequelize.js) setting up sqilite at "/home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/.fdk/store.sqlite" 2022-05-31 11:25:43.168 +0200 [debug] (index.js) Running with args {"cmd":"run","gopts":{},"opts":{},"goptArg":{},"optArg":{},"args":[]} 2022-05-31 11:25:43.169 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 11:25:43.169 +0200 [debug] (updater.js) last check less than an day ago, not looking for updates 2022-05-31 11:25:43.360 +0200 [debug] (manifest.js) Reloading manifest with {"platform-version":"2.2","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"whitelisted-domains":["https://<%= iparam.freshdesk_domain %>.freshdesk.com"],"engines":{"node":"12.22.7","fdk":"7.1.0"}}. 2022-05-31 11:25:43.360 +0200 [debug] (manifest.js) Inferred db as features. 2022-05-31 11:25:43.362 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 11:25:43.372 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 11:25:44.328 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 11:25:46.986 +0200 [debug] (validate.js) asked to skip the following validations,  2022-05-31 11:25:46.987 +0200 [debug] (validate.js) running validator actions 2022-05-31 11:25:46.987 +0200 [debug] (validate.js) running validator app-dir 2022-05-31 11:25:46.988 +0200 [debug] (validate.js) running validator config-dir 2022-05-31 11:25:46.988 +0200 [debug] (config-dir.js) Checking to see if /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/config/ exists. 2022-05-31 11:25:46.988 +0200 [debug] (config-dir.js) Fetched the following config files iparams.json 2022-05-31 11:25:46.988 +0200 [debug] (validate.js) running validator custom-objects 2022-05-31 11:25:46.989 +0200 [debug] (validate.js) running validator event 2022-05-31 11:25:46.989 +0200 [debug] (validate.js) running validator iparam 2022-05-31 11:25:46.991 +0200 [debug] (validate.js) skipping validator lint 2022-05-31 11:25:46.991 +0200 [debug] (validate.js) running validator manifest 2022-05-31 11:25:46.991 +0200 [debug] (manifest.js) running manifest validation with type run_validation 2022-05-31 11:25:46.991 +0200 [debug] (validate.js) skipping validator manifest-dependency 2022-05-31 11:25:46.991 +0200 [debug] (validate.js) running validator oauth 2022-05-31 11:25:46.992 +0200 [debug] (validate.js) skipping validator pkgsize 2022-05-31 11:25:46.992 +0200 [debug] (validate.js) running validator schema 2022-05-31 11:25:46.992 +0200 [debug] (validate.js) running validator version-check 2022-05-31 11:25:46.994 +0200 [debug] (watcher.js) Preparing to watch the following files ./app,./config,./manifest.json 2022-05-31 11:25:46.997 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:25:46.998 +0200 [debug] (custom-objects.js) to force or not? false 2022-05-31 11:25:46.998 +0200 [debug] (custom-objects.js) beginning to re-sync db 2022-05-31 11:25:47.247 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/bigint-pivot.js" 2022-05-31 11:25:47.249 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field-choice.js" 2022-05-31 11:25:47.249 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field.js" 2022-05-31 11:25:47.250 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity.js" 2022-05-31 11:25:47.251 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/record.js" 2022-05-31 11:25:47.251 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/string-pivot.js" 2022-05-31 11:25:47.266 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:25:47.267 +0200 [debug] (custom-objects.js) updated local store with latest entity hash 2022-05-31 11:25:47.269 +0200 [info] Starting local testing server at http://*:10001/ Append 'dev=true' to your Freshdesk account URL to start testing e.g. https://domain.freshdesk.com/a/tickets/1?dev=true Quit the server with Control-C. 2022-05-31 11:25:47.270 +0200 [info] To test the installation page, visit - http://localhost:10001/custom_configs 2022-05-31 11:25:56.983 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:25:56.984 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 11:25:57.419 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:25:57.419 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 11:25:57.461 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:25:57.461 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 11:25:57.508 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:25:57.508 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 11:25:57.548 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:25:57.548 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 11:25:57.565 +0200 [debug] (iframe.js) Responding with contents of /template.html 2022-05-31 11:25:57.579 +0200 [debug] (iframe.js) Responding with contents of /app.js 2022-05-31 11:25:57.580 +0200 [debug] (coverage-util.js) Instrumenting /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/app/app.js 2022-05-31 11:25:57.704 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:25:57.705 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 11:25:57.742 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:25:57.742 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 11:25:57.780 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:25:57.780 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 11:25:57.816 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:25:57.816 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 11:25:57.852 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:25:57.852 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 11:25:58.024 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:25:58.025 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 11:26:00.624 +0200 [debug] (coverage-util.js) Writing coverage. 2022-05-31 11:26:04.158 +0200 [debug] (data-pipe.js) received call for route "proxy" with action "execute" and body {"action":"execute","data":{"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get"}} 2022-05-31 11:26:04.159 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:26:04.163 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:26:04.164 +0200 [debug] (proxy.js) Substituing Templates {"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get"} with {"iparam":{"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"oauth_iparams":{}} 2022-05-31 11:26:04.165 +0200 [debug] (proxy.js) Parsed https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452 as {"protocol":"https:","slashes":true,"auth":null,"host":"virtualdropstudio.freshdesk.com","port":null,"hostname":"virtualdropstudio.freshdesk.com","hash":null,"search":null,"query":null,"pathname":"/api/v2/contacts/101026585452","path":"/api/v2/contacts/101026585452","href":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452"} 2022-05-31 11:26:04.168 +0200 [debug] (proxy.js) Checking if the request url is whitelisted in manifest 2022-05-31 11:26:04.168 +0200 [debug] (proxy.js) Matched "https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452" with https://virtualdropstudio.freshdesk.com 2022-05-31 11:26:04.168 +0200 [debug] (proxy.js) Making proxy call with options as {"headers":{"Content-Type":"application/json","Authorization":"Basic eXBsT0hra3gyejJhY1ZRS01DZGU6eA=="},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get","whitelistedDomains":["https://virtualdropstudio.freshdesk.com"],"maxAttempts":1,"retryDelay":0,"timeout":5000} 2022-05-31 11:26:04.410 +0200 [debug] (proxy.js) Proxy came back with error as null, body as "{\"active\":false,\"address\":null,\"description\":null,\"email\":\"loloic3@sfr.fr\",\"id\":1010265 2022-05-31 11:26:04.411 +0200 [debug] (proxy.js) Looking for "application/json" in application/json,application/xml,text/html,text/xml,application/jsonp,text/plain,application/javascript,application/vnd.api+json 2022-05-31 11:26:04.600 +0200 [debug] (coverage-util.js) Writing coverage. 2022-05-31 11:30:31.761 +0200 [info] NOTE: We recommend a coverage of 80% for apps that are to be published in the public marketplace. 2022-05-31 11:30:32.933 +0200 [debug] (logger.js) Starting FDK in node v12.22.7 on linux 2022-05-31 11:30:33.502 +0200 [debug] (sequelize.js) setting up sqilite at "/home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/.fdk/store.sqlite" 2022-05-31 11:30:34.407 +0200 [debug] (index.js) Running with args {"cmd":"run","gopts":{},"opts":{},"goptArg":{},"optArg":{},"args":[]} 2022-05-31 11:30:34.407 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 11:30:34.408 +0200 [debug] (updater.js) last check less than an day ago, not looking for updates 2022-05-31 11:30:34.598 +0200 [debug] (manifest.js) Reloading manifest with {"platform-version":"2.2","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"whitelisted-domains":["https://<%= iparam.freshdesk_domain %>.freshdesk.com"],"engines":{"node":"12.22.7","fdk":"7.1.0"}}. 2022-05-31 11:30:34.599 +0200 [debug] (manifest.js) Inferred db as features. 2022-05-31 11:30:34.600 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 11:30:34.610 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 11:30:35.579 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 11:30:38.215 +0200 [debug] (validate.js) asked to skip the following validations,  2022-05-31 11:30:38.215 +0200 [debug] (validate.js) running validator actions 2022-05-31 11:30:38.215 +0200 [debug] (validate.js) running validator app-dir 2022-05-31 11:30:38.216 +0200 [debug] (validate.js) running validator config-dir 2022-05-31 11:30:38.216 +0200 [debug] (config-dir.js) Checking to see if /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/config/ exists. 2022-05-31 11:30:38.217 +0200 [debug] (config-dir.js) Fetched the following config files iparams.json 2022-05-31 11:30:38.217 +0200 [debug] (validate.js) running validator custom-objects 2022-05-31 11:30:38.217 +0200 [debug] (validate.js) running validator event 2022-05-31 11:30:38.217 +0200 [debug] (validate.js) running validator iparam 2022-05-31 11:30:38.219 +0200 [debug] (validate.js) skipping validator lint 2022-05-31 11:30:38.219 +0200 [debug] (validate.js) running validator manifest 2022-05-31 11:30:38.220 +0200 [debug] (manifest.js) running manifest validation with type run_validation 2022-05-31 11:30:38.220 +0200 [debug] (validate.js) skipping validator manifest-dependency 2022-05-31 11:30:38.220 +0200 [debug] (validate.js) running validator oauth 2022-05-31 11:30:38.220 +0200 [debug] (validate.js) skipping validator pkgsize 2022-05-31 11:30:38.220 +0200 [debug] (validate.js) running validator schema 2022-05-31 11:30:38.220 +0200 [debug] (validate.js) running validator version-check 2022-05-31 11:30:38.222 +0200 [debug] (watcher.js) Preparing to watch the following files ./app,./config,./manifest.json 2022-05-31 11:30:38.225 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:30:38.226 +0200 [debug] (custom-objects.js) to force or not? false 2022-05-31 11:30:38.226 +0200 [debug] (custom-objects.js) beginning to re-sync db 2022-05-31 11:30:38.637 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/bigint-pivot.js" 2022-05-31 11:30:38.639 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field-choice.js" 2022-05-31 11:30:38.640 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field.js" 2022-05-31 11:30:38.641 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity.js" 2022-05-31 11:30:38.642 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/record.js" 2022-05-31 11:30:38.642 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/string-pivot.js" 2022-05-31 11:30:38.658 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:30:38.659 +0200 [debug] (custom-objects.js) updated local store with latest entity hash 2022-05-31 11:30:38.664 +0200 [info] Starting local testing server at http://*:10001/ Append 'dev=true' to your Freshdesk account URL to start testing e.g. https://domain.freshdesk.com/a/tickets/1?dev=true Quit the server with Control-C. 2022-05-31 11:30:38.665 +0200 [info] To test the installation page, visit - http://localhost:10001/custom_configs 2022-05-31 11:30:49.695 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:30:49.696 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 11:30:50.178 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:30:50.178 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 11:30:50.262 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:30:50.262 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 11:30:50.328 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:30:50.329 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 11:30:50.373 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:30:50.373 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 11:30:50.392 +0200 [debug] (iframe.js) Responding with contents of /template.html 2022-05-31 11:30:50.405 +0200 [debug] (iframe.js) Responding with contents of /app.js 2022-05-31 11:30:50.406 +0200 [debug] (coverage-util.js) Instrumenting /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/app/app.js 2022-05-31 11:30:50.539 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:30:50.539 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 11:30:50.675 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:30:50.676 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 11:30:50.715 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:30:50.716 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 11:30:50.756 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:30:50.756 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 11:30:50.801 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:30:50.802 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 11:30:50.998 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:30:50.998 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 11:30:53.611 +0200 [debug] (coverage-util.js) Writing coverage. 2022-05-31 11:30:57.593 +0200 [debug] (coverage-util.js) Writing coverage. 2022-05-31 11:36:53.891 +0200 [info] NOTE: We recommend a coverage of 80% for apps that are to be published in the public marketplace. 2022-05-31 11:36:59.110 +0200 [debug] (logger.js) Starting FDK in node v12.22.7 on linux 2022-05-31 11:36:59.697 +0200 [debug] (sequelize.js) setting up sqilite at "/home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/.fdk/store.sqlite" 2022-05-31 11:37:00.623 +0200 [debug] (index.js) Running with args {"cmd":"run","gopts":{},"opts":{},"goptArg":{},"optArg":{},"args":[]} 2022-05-31 11:37:00.623 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 11:37:00.624 +0200 [debug] (updater.js) last check less than an day ago, not looking for updates 2022-05-31 11:37:00.816 +0200 [debug] (manifest.js) Reloading manifest with {"platform-version":"2.2","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"whitelisted-domains":["https://<%= iparam.freshdesk_domain %>.freshdesk.com"],"engines":{"node":"12.22.7","fdk":"7.1.0"}}. 2022-05-31 11:37:00.817 +0200 [debug] (manifest.js) Inferred db as features. 2022-05-31 11:37:00.818 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 11:37:00.829 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 11:37:01.830 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 11:37:04.482 +0200 [debug] (validate.js) asked to skip the following validations,  2022-05-31 11:37:04.482 +0200 [debug] (validate.js) running validator actions 2022-05-31 11:37:04.482 +0200 [debug] (validate.js) running validator app-dir 2022-05-31 11:37:04.483 +0200 [debug] (validate.js) running validator config-dir 2022-05-31 11:37:04.483 +0200 [debug] (config-dir.js) Checking to see if /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/config/ exists. 2022-05-31 11:37:04.484 +0200 [debug] (config-dir.js) Fetched the following config files iparams.json 2022-05-31 11:37:04.484 +0200 [debug] (validate.js) running validator custom-objects 2022-05-31 11:37:04.484 +0200 [debug] (validate.js) running validator event 2022-05-31 11:37:04.484 +0200 [debug] (validate.js) running validator iparam 2022-05-31 11:37:04.486 +0200 [debug] (validate.js) skipping validator lint 2022-05-31 11:37:04.486 +0200 [debug] (validate.js) running validator manifest 2022-05-31 11:37:04.486 +0200 [debug] (manifest.js) running manifest validation with type run_validation 2022-05-31 11:37:04.487 +0200 [debug] (validate.js) skipping validator manifest-dependency 2022-05-31 11:37:04.487 +0200 [debug] (validate.js) running validator oauth 2022-05-31 11:37:04.487 +0200 [debug] (validate.js) skipping validator pkgsize 2022-05-31 11:37:04.487 +0200 [debug] (validate.js) running validator schema 2022-05-31 11:37:04.487 +0200 [debug] (validate.js) running validator version-check 2022-05-31 11:37:04.489 +0200 [debug] (watcher.js) Preparing to watch the following files ./app,./config,./manifest.json 2022-05-31 11:37:04.492 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:37:04.492 +0200 [debug] (custom-objects.js) to force or not? false 2022-05-31 11:37:04.493 +0200 [debug] (custom-objects.js) beginning to re-sync db 2022-05-31 11:37:04.868 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/bigint-pivot.js" 2022-05-31 11:37:04.869 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field-choice.js" 2022-05-31 11:37:04.870 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field.js" 2022-05-31 11:37:04.871 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity.js" 2022-05-31 11:37:04.872 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/record.js" 2022-05-31 11:37:04.872 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/string-pivot.js" 2022-05-31 11:37:04.888 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:37:04.889 +0200 [debug] (custom-objects.js) updated local store with latest entity hash 2022-05-31 11:37:04.892 +0200 [info] Starting local testing server at http://*:10001/ Append 'dev=true' to your Freshdesk account URL to start testing e.g. https://domain.freshdesk.com/a/tickets/1?dev=true Quit the server with Control-C. 2022-05-31 11:37:04.893 +0200 [info] To test the installation page, visit - http://localhost:10001/custom_configs 2022-05-31 11:37:20.332 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:37:20.334 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 11:37:20.693 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:37:20.693 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 11:37:20.772 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:37:20.773 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 11:37:20.877 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:37:20.877 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 11:37:20.926 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:37:20.926 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 11:37:20.949 +0200 [debug] (iframe.js) Responding with contents of /template.html 2022-05-31 11:37:20.963 +0200 [debug] (iframe.js) Responding with contents of /app.js 2022-05-31 11:37:20.964 +0200 [debug] (coverage-util.js) Instrumenting /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/app/app.js 2022-05-31 11:37:21.110 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:37:21.110 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 11:37:21.150 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:37:21.150 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 11:37:21.198 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:37:21.198 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 11:37:21.237 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:37:21.237 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 11:37:21.276 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:37:21.276 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 11:37:21.426 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:37:21.426 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 11:37:23.605 +0200 [debug] (coverage-util.js) Writing coverage. 2022-05-31 11:37:23.606 +0200 [debug] (coverage-util.js) Error Cannot read property 'start' of undefined while writing coverage report. 2022-05-31 11:37:23.606 +0200 [debug] (coverage-util.js) Flushing coverage. 2022-05-31 11:37:36.117 +0200 [debug] (data-pipe.js) received call for route "proxy" with action "execute" and body {"action":"execute","data":{"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get"}} 2022-05-31 11:37:36.117 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:37:36.120 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:37:36.120 +0200 [debug] (proxy.js) Substituing Templates {"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get"} with {"iparam":{"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"oauth_iparams":{}} 2022-05-31 11:37:36.121 +0200 [debug] (proxy.js) Parsed https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452 as {"protocol":"https:","slashes":true,"auth":null,"host":"virtualdropstudio.freshdesk.com","port":null,"hostname":"virtualdropstudio.freshdesk.com","hash":null,"search":null,"query":null,"pathname":"/api/v2/contacts/101026585452","path":"/api/v2/contacts/101026585452","href":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452"} 2022-05-31 11:37:36.124 +0200 [debug] (proxy.js) Checking if the request url is whitelisted in manifest 2022-05-31 11:37:36.124 +0200 [debug] (proxy.js) Matched "https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452" with https://virtualdropstudio.freshdesk.com 2022-05-31 11:37:36.125 +0200 [debug] (proxy.js) Making proxy call with options as {"headers":{"Content-Type":"application/json","Authorization":"Basic eXBsT0hra3gyejJhY1ZRS01DZGU6eA=="},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get","whitelistedDomains":["https://virtualdropstudio.freshdesk.com"],"maxAttempts":1,"retryDelay":0,"timeout":5000} 2022-05-31 11:37:36.317 +0200 [debug] (proxy.js) Proxy came back with error as null, body as "{\"active\":false,\"address\":null,\"description\":null,\"email\":\"loloic3@sfr.fr\",\"id\":1010265 2022-05-31 11:37:36.318 +0200 [debug] (proxy.js) Looking for "application/json" in application/json,application/xml,text/html,text/xml,application/jsonp,text/plain,application/javascript,application/vnd.api+json 2022-05-31 11:37:37.600 +0200 [debug] (coverage-util.js) Writing coverage. 2022-05-31 11:46:32.100 +0200 [info] NOTE: We recommend a coverage of 80% for apps that are to be published in the public marketplace. 2022-05-31 11:46:32.859 +0200 [debug] (logger.js) Starting FDK in node v12.22.7 on linux 2022-05-31 11:46:33.451 +0200 [debug] (sequelize.js) setting up sqilite at "/home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/.fdk/store.sqlite" 2022-05-31 11:46:34.367 +0200 [debug] (index.js) Running with args {"cmd":"run","gopts":{},"opts":{},"goptArg":{},"optArg":{},"args":[]} 2022-05-31 11:46:34.368 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 11:46:34.368 +0200 [debug] (updater.js) last check less than an day ago, not looking for updates 2022-05-31 11:46:34.564 +0200 [debug] (manifest.js) Reloading manifest with {"platform-version":"2.2","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"whitelisted-domains":["https://<%= iparam.freshdesk_domain %>.freshdesk.com"],"engines":{"node":"12.22.7","fdk":"7.1.0"}}. 2022-05-31 11:46:34.564 +0200 [debug] (manifest.js) Inferred db as features. 2022-05-31 11:46:34.566 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 11:46:34.576 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 11:46:35.570 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 11:46:38.261 +0200 [debug] (validate.js) asked to skip the following validations,  2022-05-31 11:46:38.261 +0200 [debug] (validate.js) running validator actions 2022-05-31 11:46:38.262 +0200 [debug] (validate.js) running validator app-dir 2022-05-31 11:46:38.262 +0200 [debug] (validate.js) running validator config-dir 2022-05-31 11:46:38.263 +0200 [debug] (config-dir.js) Checking to see if /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/config/ exists. 2022-05-31 11:46:38.263 +0200 [debug] (config-dir.js) Fetched the following config files iparams.json 2022-05-31 11:46:38.263 +0200 [debug] (validate.js) running validator custom-objects 2022-05-31 11:46:38.263 +0200 [debug] (validate.js) running validator event 2022-05-31 11:46:38.263 +0200 [debug] (validate.js) running validator iparam 2022-05-31 11:46:38.265 +0200 [debug] (validate.js) skipping validator lint 2022-05-31 11:46:38.266 +0200 [debug] (validate.js) running validator manifest 2022-05-31 11:46:38.266 +0200 [debug] (manifest.js) running manifest validation with type run_validation 2022-05-31 11:46:38.266 +0200 [debug] (validate.js) skipping validator manifest-dependency 2022-05-31 11:46:38.266 +0200 [debug] (validate.js) running validator oauth 2022-05-31 11:46:38.266 +0200 [debug] (validate.js) skipping validator pkgsize 2022-05-31 11:46:38.266 +0200 [debug] (validate.js) running validator schema 2022-05-31 11:46:38.266 +0200 [debug] (validate.js) running validator version-check 2022-05-31 11:46:38.269 +0200 [debug] (watcher.js) Preparing to watch the following files ./app,./config,./manifest.json 2022-05-31 11:46:38.271 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:46:38.272 +0200 [debug] (custom-objects.js) to force or not? false 2022-05-31 11:46:38.272 +0200 [debug] (custom-objects.js) beginning to re-sync db 2022-05-31 11:46:38.701 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/bigint-pivot.js" 2022-05-31 11:46:38.703 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field-choice.js" 2022-05-31 11:46:38.704 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field.js" 2022-05-31 11:46:38.705 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity.js" 2022-05-31 11:46:38.705 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/record.js" 2022-05-31 11:46:38.706 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/string-pivot.js" 2022-05-31 11:46:38.722 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:46:38.723 +0200 [debug] (custom-objects.js) updated local store with latest entity hash 2022-05-31 11:46:38.726 +0200 [info] Starting local testing server at http://*:10001/ Append 'dev=true' to your Freshdesk account URL to start testing e.g. https://domain.freshdesk.com/a/tickets/1?dev=true Quit the server with Control-C. 2022-05-31 11:46:38.726 +0200 [info] To test the installation page, visit - http://localhost:10001/custom_configs 2022-05-31 11:46:46.480 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:46:46.481 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 11:46:46.849 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:46:46.849 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 11:46:46.886 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:46:46.886 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 11:46:46.937 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:46:46.937 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 11:46:46.984 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:46:46.985 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 11:46:47.004 +0200 [debug] (iframe.js) Responding with contents of /template.html 2022-05-31 11:46:47.017 +0200 [debug] (iframe.js) Responding with contents of /app.js 2022-05-31 11:46:47.018 +0200 [debug] (coverage-util.js) Instrumenting /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/app/app.js 2022-05-31 11:46:47.154 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:46:47.154 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 11:46:47.198 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:46:47.198 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 11:46:47.257 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:46:47.257 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 11:46:47.296 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:46:47.296 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 11:46:47.334 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:46:47.334 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 11:46:47.625 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:46:47.625 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 11:46:49.608 +0200 [debug] (coverage-util.js) Writing coverage. 2022-05-31 11:46:53.766 +0200 [debug] (data-pipe.js) received call for route "proxy" with action "execute" and body {"action":"execute","data":{"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get"}} 2022-05-31 11:46:53.766 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:46:53.769 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:46:53.769 +0200 [debug] (proxy.js) Substituing Templates {"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get"} with {"iparam":{"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"oauth_iparams":{}} 2022-05-31 11:46:53.770 +0200 [debug] (proxy.js) Parsed https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452 as {"protocol":"https:","slashes":true,"auth":null,"host":"virtualdropstudio.freshdesk.com","port":null,"hostname":"virtualdropstudio.freshdesk.com","hash":null,"search":null,"query":null,"pathname":"/api/v2/contacts/101026585452","path":"/api/v2/contacts/101026585452","href":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452"} 2022-05-31 11:46:53.773 +0200 [debug] (proxy.js) Checking if the request url is whitelisted in manifest 2022-05-31 11:46:53.773 +0200 [debug] (proxy.js) Matched "https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452" with https://virtualdropstudio.freshdesk.com 2022-05-31 11:46:53.773 +0200 [debug] (proxy.js) Making proxy call with options as {"headers":{"Content-Type":"application/json","Authorization":"Basic eXBsT0hra3gyejJhY1ZRS01DZGU6eA=="},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get","whitelistedDomains":["https://virtualdropstudio.freshdesk.com"],"maxAttempts":1,"retryDelay":0,"timeout":5000} 2022-05-31 11:46:53.968 +0200 [debug] (proxy.js) Proxy came back with error as null, body as "{\"active\":false,\"address\":null,\"description\":null,\"email\":\"loloic3@sfr.fr\",\"id\":1010265 2022-05-31 11:46:53.968 +0200 [debug] (proxy.js) Looking for "application/json" in application/json,application/xml,text/html,text/xml,application/jsonp,text/plain,application/javascript,application/vnd.api+json 2022-05-31 11:46:55.600 +0200 [debug] (coverage-util.js) Writing coverage. 2022-05-31 11:55:36.223 +0200 [info] NOTE: We recommend a coverage of 80% for apps that are to be published in the public marketplace. 2022-05-31 11:55:37.375 +0200 [debug] (logger.js) Starting FDK in node v12.22.7 on linux 2022-05-31 11:55:37.957 +0200 [debug] (sequelize.js) setting up sqilite at "/home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/.fdk/store.sqlite" 2022-05-31 11:55:38.862 +0200 [debug] (index.js) Running with args {"cmd":"run","gopts":{},"opts":{},"goptArg":{},"optArg":{},"args":[]} 2022-05-31 11:55:38.863 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 11:55:38.863 +0200 [debug] (updater.js) last check less than an day ago, not looking for updates 2022-05-31 11:55:39.091 +0200 [debug] (manifest.js) Reloading manifest with {"platform-version":"2.2","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"whitelisted-domains":["https://<%= iparam.freshdesk_domain %>.freshdesk.com"],"engines":{"node":"12.22.7","fdk":"7.1.0"}}. 2022-05-31 11:55:39.092 +0200 [debug] (manifest.js) Inferred db as features. 2022-05-31 11:55:39.094 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 11:55:39.111 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 11:55:40.102 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 11:55:42.734 +0200 [debug] (validate.js) asked to skip the following validations,  2022-05-31 11:55:42.734 +0200 [debug] (validate.js) running validator actions 2022-05-31 11:55:42.734 +0200 [debug] (validate.js) running validator app-dir 2022-05-31 11:55:42.735 +0200 [debug] (validate.js) running validator config-dir 2022-05-31 11:55:42.735 +0200 [debug] (config-dir.js) Checking to see if /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/config/ exists. 2022-05-31 11:55:42.736 +0200 [debug] (config-dir.js) Fetched the following config files iparams.json 2022-05-31 11:55:42.736 +0200 [debug] (validate.js) running validator custom-objects 2022-05-31 11:55:42.736 +0200 [debug] (validate.js) running validator event 2022-05-31 11:55:42.736 +0200 [debug] (validate.js) running validator iparam 2022-05-31 11:55:42.738 +0200 [debug] (validate.js) skipping validator lint 2022-05-31 11:55:42.738 +0200 [debug] (validate.js) running validator manifest 2022-05-31 11:55:42.739 +0200 [debug] (manifest.js) running manifest validation with type run_validation 2022-05-31 11:55:42.739 +0200 [debug] (validate.js) skipping validator manifest-dependency 2022-05-31 11:55:42.739 +0200 [debug] (validate.js) running validator oauth 2022-05-31 11:55:42.739 +0200 [debug] (validate.js) skipping validator pkgsize 2022-05-31 11:55:42.739 +0200 [debug] (validate.js) running validator schema 2022-05-31 11:55:42.739 +0200 [debug] (validate.js) running validator version-check 2022-05-31 11:55:42.742 +0200 [debug] (watcher.js) Preparing to watch the following files ./app,./config,./manifest.json 2022-05-31 11:55:42.745 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:55:42.745 +0200 [debug] (custom-objects.js) to force or not? false 2022-05-31 11:55:42.745 +0200 [debug] (custom-objects.js) beginning to re-sync db 2022-05-31 11:55:43.132 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/bigint-pivot.js" 2022-05-31 11:55:43.133 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field-choice.js" 2022-05-31 11:55:43.134 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field.js" 2022-05-31 11:55:43.135 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity.js" 2022-05-31 11:55:43.135 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/record.js" 2022-05-31 11:55:43.136 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/string-pivot.js" 2022-05-31 11:55:43.151 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:55:43.152 +0200 [debug] (custom-objects.js) updated local store with latest entity hash 2022-05-31 11:55:43.156 +0200 [info] Starting local testing server at http://*:10001/ Append 'dev=true' to your Freshdesk account URL to start testing e.g. https://domain.freshdesk.com/a/tickets/1?dev=true Quit the server with Control-C. 2022-05-31 11:55:43.157 +0200 [info] To test the installation page, visit - http://localhost:10001/custom_configs 2022-05-31 11:56:08.664 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:56:08.665 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 11:56:09.175 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:56:09.176 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 11:56:09.214 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:56:09.214 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 11:56:09.269 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:56:09.269 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 11:56:09.313 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:56:09.313 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 11:56:09.332 +0200 [debug] (iframe.js) Responding with contents of /template.html 2022-05-31 11:56:09.345 +0200 [debug] (iframe.js) Responding with contents of /app.js 2022-05-31 11:56:09.346 +0200 [debug] (coverage-util.js) Instrumenting /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/app/app.js 2022-05-31 11:56:09.491 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:56:09.492 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 11:56:09.575 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:56:09.576 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 11:56:09.647 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:56:09.647 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 11:56:09.688 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:56:09.688 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 11:56:09.728 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:56:09.728 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 11:56:09.874 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:56:09.875 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 11:56:12.614 +0200 [debug] (coverage-util.js) Writing coverage. 2022-05-31 11:56:19.153 +0200 [debug] (data-pipe.js) received call for route "proxy" with action "execute" and body {"action":"execute","data":{"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get"}} 2022-05-31 11:56:19.154 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:56:19.157 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:56:19.157 +0200 [debug] (proxy.js) Substituing Templates {"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get"} with {"iparam":{"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"oauth_iparams":{}} 2022-05-31 11:56:19.158 +0200 [debug] (proxy.js) Parsed https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452 as {"protocol":"https:","slashes":true,"auth":null,"host":"virtualdropstudio.freshdesk.com","port":null,"hostname":"virtualdropstudio.freshdesk.com","hash":null,"search":null,"query":null,"pathname":"/api/v2/contacts/101026585452","path":"/api/v2/contacts/101026585452","href":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452"} 2022-05-31 11:56:19.161 +0200 [debug] (proxy.js) Checking if the request url is whitelisted in manifest 2022-05-31 11:56:19.161 +0200 [debug] (proxy.js) Matched "https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452" with https://virtualdropstudio.freshdesk.com 2022-05-31 11:56:19.161 +0200 [debug] (proxy.js) Making proxy call with options as {"headers":{"Content-Type":"application/json","Authorization":"Basic eXBsT0hra3gyejJhY1ZRS01DZGU6eA=="},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get","whitelistedDomains":["https://virtualdropstudio.freshdesk.com"],"maxAttempts":1,"retryDelay":0,"timeout":5000} 2022-05-31 11:56:19.405 +0200 [debug] (proxy.js) Proxy came back with error as null, body as "{\"active\":false,\"address\":null,\"description\":null,\"email\":\"loloic3@sfr.fr\",\"id\":1010265 2022-05-31 11:56:19.405 +0200 [debug] (proxy.js) Looking for "application/json" in application/json,application/xml,text/html,text/xml,application/jsonp,text/plain,application/javascript,application/vnd.api+json 2022-05-31 11:56:20.602 +0200 [debug] (coverage-util.js) Writing coverage. 2022-05-31 11:56:52.217 +0200 [info] NOTE: We recommend a coverage of 80% for apps that are to be published in the public marketplace. 2022-05-31 11:56:52.954 +0200 [debug] (logger.js) Starting FDK in node v12.22.7 on linux 2022-05-31 11:56:53.534 +0200 [debug] (sequelize.js) setting up sqilite at "/home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/.fdk/store.sqlite" 2022-05-31 11:56:54.432 +0200 [debug] (index.js) Running with args {"cmd":"run","gopts":{},"opts":{},"goptArg":{},"optArg":{},"args":[]} 2022-05-31 11:56:54.433 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 11:56:54.433 +0200 [debug] (updater.js) last check less than an day ago, not looking for updates 2022-05-31 11:56:54.625 +0200 [debug] (manifest.js) Reloading manifest with {"platform-version":"2.2","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"whitelisted-domains":["https://<%= iparam.freshdesk_domain %>.freshdesk.com"],"engines":{"node":"12.22.7","fdk":"7.1.0"}}. 2022-05-31 11:56:54.626 +0200 [debug] (manifest.js) Inferred db as features. 2022-05-31 11:56:54.627 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 11:56:54.638 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 11:56:55.599 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 11:56:58.225 +0200 [debug] (validate.js) asked to skip the following validations,  2022-05-31 11:56:58.226 +0200 [debug] (validate.js) running validator actions 2022-05-31 11:56:58.226 +0200 [debug] (validate.js) running validator app-dir 2022-05-31 11:56:58.227 +0200 [debug] (validate.js) running validator config-dir 2022-05-31 11:56:58.227 +0200 [debug] (config-dir.js) Checking to see if /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/config/ exists. 2022-05-31 11:56:58.227 +0200 [debug] (config-dir.js) Fetched the following config files iparams.json 2022-05-31 11:56:58.227 +0200 [debug] (validate.js) running validator custom-objects 2022-05-31 11:56:58.227 +0200 [debug] (validate.js) running validator event 2022-05-31 11:56:58.227 +0200 [debug] (validate.js) running validator iparam 2022-05-31 11:56:58.230 +0200 [debug] (validate.js) skipping validator lint 2022-05-31 11:56:58.230 +0200 [debug] (validate.js) running validator manifest 2022-05-31 11:56:58.230 +0200 [debug] (manifest.js) running manifest validation with type run_validation 2022-05-31 11:56:58.230 +0200 [debug] (validate.js) skipping validator manifest-dependency 2022-05-31 11:56:58.230 +0200 [debug] (validate.js) running validator oauth 2022-05-31 11:56:58.230 +0200 [debug] (validate.js) skipping validator pkgsize 2022-05-31 11:56:58.230 +0200 [debug] (validate.js) running validator schema 2022-05-31 11:56:58.230 +0200 [debug] (validate.js) running validator version-check 2022-05-31 11:56:58.233 +0200 [debug] (watcher.js) Preparing to watch the following files ./app,./config,./manifest.json 2022-05-31 11:56:58.236 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:56:58.236 +0200 [debug] (custom-objects.js) to force or not? false 2022-05-31 11:56:58.236 +0200 [debug] (custom-objects.js) beginning to re-sync db 2022-05-31 11:56:58.492 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/bigint-pivot.js" 2022-05-31 11:56:58.493 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field-choice.js" 2022-05-31 11:56:58.494 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field.js" 2022-05-31 11:56:58.495 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity.js" 2022-05-31 11:56:58.495 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/record.js" 2022-05-31 11:56:58.496 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/string-pivot.js" 2022-05-31 11:56:58.511 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:56:58.512 +0200 [debug] (custom-objects.js) updated local store with latest entity hash 2022-05-31 11:56:58.515 +0200 [info] Starting local testing server at http://*:10001/ Append 'dev=true' to your Freshdesk account URL to start testing e.g. https://domain.freshdesk.com/a/tickets/1?dev=true Quit the server with Control-C. 2022-05-31 11:56:58.516 +0200 [info] To test the installation page, visit - http://localhost:10001/custom_configs 2022-05-31 11:57:06.243 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:57:06.244 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 11:57:06.725 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:57:06.726 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 11:57:06.768 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:57:06.768 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 11:57:06.822 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:57:06.823 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 11:57:06.871 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:57:06.871 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 11:57:06.890 +0200 [debug] (iframe.js) Responding with contents of /template.html 2022-05-31 11:57:06.903 +0200 [debug] (iframe.js) Responding with contents of /app.js 2022-05-31 11:57:06.904 +0200 [debug] (coverage-util.js) Instrumenting /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/app/app.js 2022-05-31 11:57:07.044 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:57:07.045 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 11:57:07.143 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:57:07.143 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 11:57:07.183 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:57:07.183 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 11:57:07.223 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:57:07.223 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 11:57:07.262 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:57:07.263 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 11:57:07.412 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:57:07.413 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 11:57:09.616 +0200 [debug] (coverage-util.js) Writing coverage. 2022-05-31 11:57:11.514 +0200 [debug] (data-pipe.js) received call for route "proxy" with action "execute" and body {"action":"execute","data":{"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get"}} 2022-05-31 11:57:11.515 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:57:11.518 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:57:11.518 +0200 [debug] (proxy.js) Substituing Templates {"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get"} with {"iparam":{"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"oauth_iparams":{}} 2022-05-31 11:57:11.520 +0200 [debug] (proxy.js) Parsed https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452 as {"protocol":"https:","slashes":true,"auth":null,"host":"virtualdropstudio.freshdesk.com","port":null,"hostname":"virtualdropstudio.freshdesk.com","hash":null,"search":null,"query":null,"pathname":"/api/v2/contacts/101026585452","path":"/api/v2/contacts/101026585452","href":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452"} 2022-05-31 11:57:11.522 +0200 [debug] (proxy.js) Checking if the request url is whitelisted in manifest 2022-05-31 11:57:11.522 +0200 [debug] (proxy.js) Matched "https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452" with https://virtualdropstudio.freshdesk.com 2022-05-31 11:57:11.522 +0200 [debug] (proxy.js) Making proxy call with options as {"headers":{"Content-Type":"application/json","Authorization":"Basic eXBsT0hra3gyejJhY1ZRS01DZGU6eA=="},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get","whitelistedDomains":["https://virtualdropstudio.freshdesk.com"],"maxAttempts":1,"retryDelay":0,"timeout":5000} 2022-05-31 11:57:11.606 +0200 [debug] (coverage-util.js) Writing coverage. 2022-05-31 11:57:11.754 +0200 [debug] (proxy.js) Proxy came back with error as null, body as "{\"active\":false,\"address\":null,\"description\":null,\"email\":\"loloic3@sfr.fr\",\"id\":1010265 2022-05-31 11:57:11.754 +0200 [debug] (proxy.js) Looking for "application/json" in application/json,application/xml,text/html,text/xml,application/jsonp,text/plain,application/javascript,application/vnd.api+json 2022-05-31 11:57:13.598 +0200 [debug] (coverage-util.js) Writing coverage. 2022-05-31 11:57:51.085 +0200 [info] NOTE: We recommend a coverage of 80% for apps that are to be published in the public marketplace. 2022-05-31 11:57:52.203 +0200 [debug] (logger.js) Starting FDK in node v12.22.7 on linux 2022-05-31 11:57:52.784 +0200 [debug] (sequelize.js) setting up sqilite at "/home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/.fdk/store.sqlite" 2022-05-31 11:57:53.687 +0200 [debug] (index.js) Running with args {"cmd":"run","gopts":{},"opts":{},"goptArg":{},"optArg":{},"args":[]} 2022-05-31 11:57:53.688 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 11:57:53.688 +0200 [debug] (updater.js) last check less than an day ago, not looking for updates 2022-05-31 11:57:53.880 +0200 [debug] (manifest.js) Reloading manifest with {"platform-version":"2.2","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"whitelisted-domains":["https://<%= iparam.freshdesk_domain %>.freshdesk.com"],"engines":{"node":"12.22.7","fdk":"7.1.0"}}. 2022-05-31 11:57:53.880 +0200 [debug] (manifest.js) Inferred db as features. 2022-05-31 11:57:53.882 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 11:57:53.894 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 11:57:54.859 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 11:57:57.489 +0200 [debug] (validate.js) asked to skip the following validations,  2022-05-31 11:57:57.490 +0200 [debug] (validate.js) running validator actions 2022-05-31 11:57:57.490 +0200 [debug] (validate.js) running validator app-dir 2022-05-31 11:57:57.491 +0200 [debug] (validate.js) running validator config-dir 2022-05-31 11:57:57.491 +0200 [debug] (config-dir.js) Checking to see if /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/config/ exists. 2022-05-31 11:57:57.491 +0200 [debug] (config-dir.js) Fetched the following config files iparams.json 2022-05-31 11:57:57.491 +0200 [debug] (validate.js) running validator custom-objects 2022-05-31 11:57:57.491 +0200 [debug] (validate.js) running validator event 2022-05-31 11:57:57.492 +0200 [debug] (validate.js) running validator iparam 2022-05-31 11:57:57.494 +0200 [debug] (validate.js) skipping validator lint 2022-05-31 11:57:57.494 +0200 [debug] (validate.js) running validator manifest 2022-05-31 11:57:57.494 +0200 [debug] (manifest.js) running manifest validation with type run_validation 2022-05-31 11:57:57.494 +0200 [debug] (validate.js) skipping validator manifest-dependency 2022-05-31 11:57:57.494 +0200 [debug] (validate.js) running validator oauth 2022-05-31 11:57:57.494 +0200 [debug] (validate.js) skipping validator pkgsize 2022-05-31 11:57:57.494 +0200 [debug] (validate.js) running validator schema 2022-05-31 11:57:57.495 +0200 [debug] (validate.js) running validator version-check 2022-05-31 11:57:57.497 +0200 [debug] (watcher.js) Preparing to watch the following files ./app,./config,./manifest.json 2022-05-31 11:57:57.500 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:57:57.500 +0200 [debug] (custom-objects.js) to force or not? false 2022-05-31 11:57:57.500 +0200 [debug] (custom-objects.js) beginning to re-sync db 2022-05-31 11:57:57.885 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/bigint-pivot.js" 2022-05-31 11:57:57.887 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field-choice.js" 2022-05-31 11:57:57.888 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field.js" 2022-05-31 11:57:57.889 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity.js" 2022-05-31 11:57:57.890 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/record.js" 2022-05-31 11:57:57.891 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/string-pivot.js" 2022-05-31 11:57:57.907 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:57:57.908 +0200 [debug] (custom-objects.js) updated local store with latest entity hash 2022-05-31 11:57:57.911 +0200 [info] Starting local testing server at http://*:10001/ Append 'dev=true' to your Freshdesk account URL to start testing e.g. https://domain.freshdesk.com/a/tickets/1?dev=true Quit the server with Control-C. 2022-05-31 11:57:57.912 +0200 [info] To test the installation page, visit - http://localhost:10001/custom_configs 2022-05-31 11:58:04.607 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:58:04.608 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 11:58:05.132 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:58:05.133 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 11:58:05.173 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:58:05.173 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 11:58:05.226 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:58:05.226 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 11:58:05.264 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:58:05.265 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 11:58:05.280 +0200 [debug] (iframe.js) Responding with contents of /template.html 2022-05-31 11:58:05.294 +0200 [debug] (iframe.js) Responding with contents of /app.js 2022-05-31 11:58:05.294 +0200 [debug] (coverage-util.js) Instrumenting /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/app/app.js 2022-05-31 11:58:05.449 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:58:05.449 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 11:58:05.505 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:58:05.505 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 11:58:05.541 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:58:05.541 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 11:58:05.583 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:58:05.583 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 11:58:05.628 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:58:05.629 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 11:58:05.682 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:58:05.682 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 11:58:08.616 +0200 [debug] (coverage-util.js) Writing coverage. 2022-05-31 11:58:20.155 +0200 [debug] (data-pipe.js) received call for route "proxy" with action "execute" and body {"action":"execute","data":{"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get"}} 2022-05-31 11:58:20.156 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:58:20.160 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 11:58:20.160 +0200 [debug] (proxy.js) Substituing Templates {"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get"} with {"iparam":{"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"oauth_iparams":{}} 2022-05-31 11:58:20.162 +0200 [debug] (proxy.js) Parsed https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452 as {"protocol":"https:","slashes":true,"auth":null,"host":"virtualdropstudio.freshdesk.com","port":null,"hostname":"virtualdropstudio.freshdesk.com","hash":null,"search":null,"query":null,"pathname":"/api/v2/contacts/101026585452","path":"/api/v2/contacts/101026585452","href":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452"} 2022-05-31 11:58:20.164 +0200 [debug] (proxy.js) Checking if the request url is whitelisted in manifest 2022-05-31 11:58:20.164 +0200 [debug] (proxy.js) Matched "https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452" with https://virtualdropstudio.freshdesk.com 2022-05-31 11:58:20.164 +0200 [debug] (proxy.js) Making proxy call with options as {"headers":{"Content-Type":"application/json","Authorization":"Basic eXBsT0hra3gyejJhY1ZRS01DZGU6eA=="},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get","whitelistedDomains":["https://virtualdropstudio.freshdesk.com"],"maxAttempts":1,"retryDelay":0,"timeout":5000} 2022-05-31 11:58:20.362 +0200 [debug] (proxy.js) Proxy came back with error as null, body as "{\"active\":false,\"address\":null,\"description\":null,\"email\":\"loloic3@sfr.fr\",\"id\":1010265 2022-05-31 11:58:20.362 +0200 [debug] (proxy.js) Looking for "application/json" in application/json,application/xml,text/html,text/xml,application/jsonp,text/plain,application/javascript,application/vnd.api+json 2022-05-31 11:58:20.603 +0200 [debug] (coverage-util.js) Writing coverage. 2022-05-31 12:02:32.252 +0200 [info] NOTE: We recommend a coverage of 80% for apps that are to be published in the public marketplace. 2022-05-31 12:02:33.024 +0200 [debug] (logger.js) Starting FDK in node v12.22.7 on linux 2022-05-31 12:02:33.602 +0200 [debug] (sequelize.js) setting up sqilite at "/home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/.fdk/store.sqlite" 2022-05-31 12:02:34.531 +0200 [debug] (index.js) Running with args {"cmd":"run","gopts":{},"opts":{},"goptArg":{},"optArg":{},"args":[]} 2022-05-31 12:02:34.532 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 12:02:34.532 +0200 [debug] (updater.js) last check less than an day ago, not looking for updates 2022-05-31 12:02:34.724 +0200 [debug] (manifest.js) Reloading manifest with {"platform-version":"2.2","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"whitelisted-domains":["https://<%= iparam.freshdesk_domain %>.freshdesk.com"],"engines":{"node":"12.22.7","fdk":"7.1.0"}}. 2022-05-31 12:02:34.725 +0200 [debug] (manifest.js) Inferred db as features. 2022-05-31 12:02:34.726 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 12:02:34.736 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 12:02:35.705 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 12:02:38.352 +0200 [debug] (validate.js) asked to skip the following validations,  2022-05-31 12:02:38.352 +0200 [debug] (validate.js) running validator actions 2022-05-31 12:02:38.353 +0200 [debug] (validate.js) running validator app-dir 2022-05-31 12:02:38.353 +0200 [debug] (validate.js) running validator config-dir 2022-05-31 12:02:38.354 +0200 [debug] (config-dir.js) Checking to see if /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/config/ exists. 2022-05-31 12:02:38.354 +0200 [debug] (config-dir.js) Fetched the following config files iparams.json 2022-05-31 12:02:38.354 +0200 [debug] (validate.js) running validator custom-objects 2022-05-31 12:02:38.354 +0200 [debug] (validate.js) running validator event 2022-05-31 12:02:38.354 +0200 [debug] (validate.js) running validator iparam 2022-05-31 12:02:38.356 +0200 [debug] (validate.js) skipping validator lint 2022-05-31 12:02:38.357 +0200 [debug] (validate.js) running validator manifest 2022-05-31 12:02:38.357 +0200 [debug] (manifest.js) running manifest validation with type run_validation 2022-05-31 12:02:38.357 +0200 [debug] (validate.js) skipping validator manifest-dependency 2022-05-31 12:02:38.357 +0200 [debug] (validate.js) running validator oauth 2022-05-31 12:02:38.357 +0200 [debug] (validate.js) skipping validator pkgsize 2022-05-31 12:02:38.357 +0200 [debug] (validate.js) running validator schema 2022-05-31 12:02:38.357 +0200 [debug] (validate.js) running validator version-check 2022-05-31 12:02:38.360 +0200 [debug] (watcher.js) Preparing to watch the following files ./app,./config,./manifest.json 2022-05-31 12:02:38.362 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 12:02:38.363 +0200 [debug] (custom-objects.js) to force or not? false 2022-05-31 12:02:38.363 +0200 [debug] (custom-objects.js) beginning to re-sync db 2022-05-31 12:02:38.785 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/bigint-pivot.js" 2022-05-31 12:02:38.787 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field-choice.js" 2022-05-31 12:02:38.788 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field.js" 2022-05-31 12:02:38.788 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity.js" 2022-05-31 12:02:38.789 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/record.js" 2022-05-31 12:02:38.790 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/string-pivot.js" 2022-05-31 12:02:38.804 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 12:02:38.805 +0200 [debug] (custom-objects.js) updated local store with latest entity hash 2022-05-31 12:02:38.810 +0200 [info] Starting local testing server at http://*:10001/ Append 'dev=true' to your Freshdesk account URL to start testing e.g. https://domain.freshdesk.com/a/tickets/1?dev=true Quit the server with Control-C. 2022-05-31 12:02:38.811 +0200 [info] To test the installation page, visit - http://localhost:10001/custom_configs 2022-05-31 12:02:49.423 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 12:02:49.424 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 12:02:49.831 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 12:02:49.832 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 12:02:49.884 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 12:02:49.884 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 12:02:49.973 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 12:02:49.973 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 12:02:50.013 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 12:02:50.013 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 12:02:50.031 +0200 [debug] (iframe.js) Responding with contents of /template.html 2022-05-31 12:02:50.045 +0200 [debug] (iframe.js) Responding with contents of /app.js 2022-05-31 12:02:50.047 +0200 [debug] (coverage-util.js) Instrumenting /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/app/app.js 2022-05-31 12:02:50.205 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 12:02:50.205 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 12:02:50.263 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 12:02:50.264 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 12:02:50.301 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 12:02:50.301 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 12:02:50.339 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 12:02:50.339 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 12:02:50.377 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 12:02:50.377 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 12:02:50.489 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 12:02:50.490 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 12:02:52.606 +0200 [debug] (coverage-util.js) Writing coverage. 2022-05-31 12:02:52.607 +0200 [debug] (coverage-util.js) Error Cannot read property 'start' of undefined while writing coverage report. 2022-05-31 12:02:52.607 +0200 [debug] (coverage-util.js) Flushing coverage. 2022-05-31 12:02:56.185 +0200 [debug] (data-pipe.js) received call for route "proxy" with action "execute" and body {"action":"execute","data":{"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get"}} 2022-05-31 12:02:56.186 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 12:02:56.190 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 12:02:56.190 +0200 [debug] (proxy.js) Substituing Templates {"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get"} with {"iparam":{"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"oauth_iparams":{}} 2022-05-31 12:02:56.191 +0200 [debug] (proxy.js) Parsed https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452 as {"protocol":"https:","slashes":true,"auth":null,"host":"virtualdropstudio.freshdesk.com","port":null,"hostname":"virtualdropstudio.freshdesk.com","hash":null,"search":null,"query":null,"pathname":"/api/v2/contacts/101026585452","path":"/api/v2/contacts/101026585452","href":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452"} 2022-05-31 12:02:56.194 +0200 [debug] (proxy.js) Checking if the request url is whitelisted in manifest 2022-05-31 12:02:56.194 +0200 [debug] (proxy.js) Matched "https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452" with https://virtualdropstudio.freshdesk.com 2022-05-31 12:02:56.194 +0200 [debug] (proxy.js) Making proxy call with options as {"headers":{"Content-Type":"application/json","Authorization":"Basic eXBsT0hra3gyejJhY1ZRS01DZGU6eA=="},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get","whitelistedDomains":["https://virtualdropstudio.freshdesk.com"],"maxAttempts":1,"retryDelay":0,"timeout":5000} 2022-05-31 12:02:56.411 +0200 [debug] (proxy.js) Proxy came back with error as null, body as "{\"active\":false,\"address\":null,\"description\":null,\"email\":\"loloic3@sfr.fr\",\"id\":1010265 2022-05-31 12:02:56.411 +0200 [debug] (proxy.js) Looking for "application/json" in application/json,application/xml,text/html,text/xml,application/jsonp,text/plain,application/javascript,application/vnd.api+json 2022-05-31 12:02:56.602 +0200 [debug] (coverage-util.js) Writing coverage. 2022-05-31 12:03:24.865 +0200 [info] NOTE: We recommend a coverage of 80% for apps that are to be published in the public marketplace. 2022-05-31 12:03:27.333 +0200 [debug] (logger.js) Starting FDK in node v12.22.7 on linux 2022-05-31 12:03:27.901 +0200 [debug] (sequelize.js) setting up sqilite at "/home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/.fdk/store.sqlite" 2022-05-31 12:03:28.811 +0200 [debug] (index.js) Running with args {"cmd":"run","gopts":{},"opts":{},"goptArg":{},"optArg":{},"args":[]} 2022-05-31 12:03:28.811 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 12:03:28.811 +0200 [debug] (updater.js) last check less than an day ago, not looking for updates 2022-05-31 12:03:29.004 +0200 [debug] (manifest.js) Reloading manifest with {"platform-version":"2.2","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"whitelisted-domains":["https://<%= iparam.freshdesk_domain %>.freshdesk.com"],"engines":{"node":"12.22.7","fdk":"7.1.0"}}. 2022-05-31 12:03:29.004 +0200 [debug] (manifest.js) Inferred db as features. 2022-05-31 12:03:29.006 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 12:03:29.016 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 12:03:29.982 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 12:03:32.616 +0200 [debug] (validate.js) asked to skip the following validations,  2022-05-31 12:03:32.617 +0200 [debug] (validate.js) running validator actions 2022-05-31 12:03:32.617 +0200 [debug] (validate.js) running validator app-dir 2022-05-31 12:03:32.618 +0200 [debug] (validate.js) running validator config-dir 2022-05-31 12:03:32.618 +0200 [debug] (config-dir.js) Checking to see if /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/config/ exists. 2022-05-31 12:03:32.618 +0200 [debug] (config-dir.js) Fetched the following config files iparams.json 2022-05-31 12:03:32.618 +0200 [debug] (validate.js) running validator custom-objects 2022-05-31 12:03:32.618 +0200 [debug] (validate.js) running validator event 2022-05-31 12:03:32.618 +0200 [debug] (validate.js) running validator iparam 2022-05-31 12:03:32.621 +0200 [debug] (validate.js) skipping validator lint 2022-05-31 12:03:32.621 +0200 [debug] (validate.js) running validator manifest 2022-05-31 12:03:32.621 +0200 [debug] (manifest.js) running manifest validation with type run_validation 2022-05-31 12:03:32.621 +0200 [debug] (validate.js) skipping validator manifest-dependency 2022-05-31 12:03:32.621 +0200 [debug] (validate.js) running validator oauth 2022-05-31 12:03:32.621 +0200 [debug] (validate.js) skipping validator pkgsize 2022-05-31 12:03:32.621 +0200 [debug] (validate.js) running validator schema 2022-05-31 12:03:32.621 +0200 [debug] (validate.js) running validator version-check 2022-05-31 12:03:32.624 +0200 [debug] (watcher.js) Preparing to watch the following files ./app,./config,./manifest.json 2022-05-31 12:03:32.627 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 12:03:32.627 +0200 [debug] (custom-objects.js) to force or not? false 2022-05-31 12:03:32.627 +0200 [debug] (custom-objects.js) beginning to re-sync db 2022-05-31 12:03:33.026 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/bigint-pivot.js" 2022-05-31 12:03:33.027 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field-choice.js" 2022-05-31 12:03:33.028 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field.js" 2022-05-31 12:03:33.029 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity.js" 2022-05-31 12:03:33.030 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/record.js" 2022-05-31 12:03:33.030 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/string-pivot.js" 2022-05-31 12:03:33.046 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 12:03:33.046 +0200 [debug] (custom-objects.js) updated local store with latest entity hash 2022-05-31 12:03:33.050 +0200 [info] Starting local testing server at http://*:10001/ Append 'dev=true' to your Freshdesk account URL to start testing e.g. https://domain.freshdesk.com/a/tickets/1?dev=true Quit the server with Control-C. 2022-05-31 12:03:33.051 +0200 [info] To test the installation page, visit - http://localhost:10001/custom_configs 2022-05-31 12:03:43.777 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 12:03:43.778 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 12:03:44.271 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 12:03:44.272 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 12:03:44.342 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 12:03:44.342 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 12:03:44.386 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 12:03:44.387 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 12:03:44.439 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 12:03:44.440 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 12:03:44.479 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 12:03:44.479 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 12:03:44.497 +0200 [debug] (iframe.js) Responding with contents of /template.html 2022-05-31 12:03:44.511 +0200 [debug] (iframe.js) Responding with contents of /app.js 2022-05-31 12:03:44.512 +0200 [debug] (coverage-util.js) Instrumenting /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/app/app.js 2022-05-31 12:03:44.690 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 12:03:44.691 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 12:03:44.730 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 12:03:44.730 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 12:03:44.770 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 12:03:44.770 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 12:03:44.807 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 12:03:44.808 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 12:03:44.846 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 12:03:44.846 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 12:03:47.599 +0200 [debug] (coverage-util.js) Writing coverage. 2022-05-31 12:03:50.709 +0200 [debug] (data-pipe.js) received call for route "proxy" with action "execute" and body {"action":"execute","data":{"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get"}} 2022-05-31 12:03:50.710 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 12:03:50.713 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 12:03:50.713 +0200 [debug] (proxy.js) Substituing Templates {"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get"} with {"iparam":{"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"oauth_iparams":{}} 2022-05-31 12:03:50.715 +0200 [debug] (proxy.js) Parsed https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452 as {"protocol":"https:","slashes":true,"auth":null,"host":"virtualdropstudio.freshdesk.com","port":null,"hostname":"virtualdropstudio.freshdesk.com","hash":null,"search":null,"query":null,"pathname":"/api/v2/contacts/101026585452","path":"/api/v2/contacts/101026585452","href":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452"} 2022-05-31 12:03:50.717 +0200 [debug] (proxy.js) Checking if the request url is whitelisted in manifest 2022-05-31 12:03:50.718 +0200 [debug] (proxy.js) Matched "https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452" with https://virtualdropstudio.freshdesk.com 2022-05-31 12:03:50.718 +0200 [debug] (proxy.js) Making proxy call with options as {"headers":{"Content-Type":"application/json","Authorization":"Basic eXBsT0hra3gyejJhY1ZRS01DZGU6eA=="},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get","whitelistedDomains":["https://virtualdropstudio.freshdesk.com"],"maxAttempts":1,"retryDelay":0,"timeout":5000} 2022-05-31 12:03:50.926 +0200 [debug] (proxy.js) Proxy came back with error as null, body as "{\"active\":false,\"address\":null,\"description\":null,\"email\":\"loloic3@sfr.fr\",\"id\":1010265 2022-05-31 12:03:50.926 +0200 [debug] (proxy.js) Looking for "application/json" in application/json,application/xml,text/html,text/xml,application/jsonp,text/plain,application/javascript,application/vnd.api+json 2022-05-31 12:03:51.601 +0200 [debug] (coverage-util.js) Writing coverage. 2022-05-31 12:04:21.809 +0200 [info] NOTE: We recommend a coverage of 80% for apps that are to be published in the public marketplace. 2022-05-31 12:04:22.959 +0200 [debug] (logger.js) Starting FDK in node v12.22.7 on linux 2022-05-31 12:04:23.542 +0200 [debug] (sequelize.js) setting up sqilite at "/home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/.fdk/store.sqlite" 2022-05-31 12:04:24.451 +0200 [debug] (index.js) Running with args {"cmd":"run","gopts":{},"opts":{},"goptArg":{},"optArg":{},"args":[]} 2022-05-31 12:04:24.452 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 12:04:24.452 +0200 [debug] (updater.js) last check less than an day ago, not looking for updates 2022-05-31 12:04:24.653 +0200 [debug] (manifest.js) Reloading manifest with {"platform-version":"2.2","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"whitelisted-domains":["https://<%= iparam.freshdesk_domain %>.freshdesk.com"],"engines":{"node":"12.22.7","fdk":"7.1.0"}}. 2022-05-31 12:04:24.653 +0200 [debug] (manifest.js) Inferred db as features. 2022-05-31 12:04:24.655 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 12:04:24.665 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 12:04:25.638 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 12:04:28.280 +0200 [debug] (validate.js) asked to skip the following validations,  2022-05-31 12:04:28.280 +0200 [debug] (validate.js) running validator actions 2022-05-31 12:04:28.281 +0200 [debug] (validate.js) running validator app-dir 2022-05-31 12:04:28.281 +0200 [debug] (validate.js) running validator config-dir 2022-05-31 12:04:28.281 +0200 [debug] (config-dir.js) Checking to see if /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/config/ exists. 2022-05-31 12:04:28.282 +0200 [debug] (config-dir.js) Fetched the following config files iparams.json 2022-05-31 12:04:28.282 +0200 [debug] (validate.js) running validator custom-objects 2022-05-31 12:04:28.282 +0200 [debug] (validate.js) running validator event 2022-05-31 12:04:28.282 +0200 [debug] (validate.js) running validator iparam 2022-05-31 12:04:28.284 +0200 [debug] (validate.js) skipping validator lint 2022-05-31 12:04:28.285 +0200 [debug] (validate.js) running validator manifest 2022-05-31 12:04:28.285 +0200 [debug] (manifest.js) running manifest validation with type run_validation 2022-05-31 12:04:28.285 +0200 [debug] (validate.js) skipping validator manifest-dependency 2022-05-31 12:04:28.285 +0200 [debug] (validate.js) running validator oauth 2022-05-31 12:04:28.285 +0200 [debug] (validate.js) skipping validator pkgsize 2022-05-31 12:04:28.285 +0200 [debug] (validate.js) running validator schema 2022-05-31 12:04:28.285 +0200 [debug] (validate.js) running validator version-check 2022-05-31 12:04:28.288 +0200 [debug] (watcher.js) Preparing to watch the following files ./app,./config,./manifest.json 2022-05-31 12:04:28.291 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 12:04:28.291 +0200 [debug] (custom-objects.js) to force or not? false 2022-05-31 12:04:28.291 +0200 [debug] (custom-objects.js) beginning to re-sync db 2022-05-31 12:04:28.665 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/bigint-pivot.js" 2022-05-31 12:04:28.666 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field-choice.js" 2022-05-31 12:04:28.667 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field.js" 2022-05-31 12:04:28.668 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity.js" 2022-05-31 12:04:28.668 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/record.js" 2022-05-31 12:04:28.669 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/string-pivot.js" 2022-05-31 12:04:28.684 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 12:04:28.685 +0200 [debug] (custom-objects.js) updated local store with latest entity hash 2022-05-31 12:04:28.688 +0200 [info] Starting local testing server at http://*:10001/ Append 'dev=true' to your Freshdesk account URL to start testing e.g. https://domain.freshdesk.com/a/tickets/1?dev=true Quit the server with Control-C. 2022-05-31 12:04:28.689 +0200 [info] To test the installation page, visit - http://localhost:10001/custom_configs 2022-05-31 12:04:37.230 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 12:04:37.232 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 12:04:37.711 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 12:04:37.711 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 12:04:37.751 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 12:04:37.752 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 12:04:37.806 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 12:04:37.807 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 12:04:37.846 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 12:04:37.846 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 12:04:37.869 +0200 [debug] (iframe.js) Responding with contents of /template.html 2022-05-31 12:04:37.882 +0200 [debug] (iframe.js) Responding with contents of /app.js 2022-05-31 12:04:37.883 +0200 [debug] (coverage-util.js) Instrumenting /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/app/app.js 2022-05-31 12:04:38.030 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 12:04:38.030 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 12:04:38.075 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 12:04:38.075 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 12:04:38.114 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 12:04:38.114 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 12:04:38.152 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 12:04:38.152 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 12:04:38.203 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 12:04:38.203 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 12:04:38.295 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 12:04:38.295 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 12:04:40.615 +0200 [debug] (coverage-util.js) Writing coverage. 2022-05-31 12:04:42.336 +0200 [debug] (data-pipe.js) received call for route "proxy" with action "execute" and body {"action":"execute","data":{"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get"}} 2022-05-31 12:04:42.338 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 12:04:42.342 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 12:04:42.342 +0200 [debug] (proxy.js) Substituing Templates {"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get"} with {"iparam":{"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"oauth_iparams":{}} 2022-05-31 12:04:42.345 +0200 [debug] (proxy.js) Parsed https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452 as {"protocol":"https:","slashes":true,"auth":null,"host":"virtualdropstudio.freshdesk.com","port":null,"hostname":"virtualdropstudio.freshdesk.com","hash":null,"search":null,"query":null,"pathname":"/api/v2/contacts/101026585452","path":"/api/v2/contacts/101026585452","href":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452"} 2022-05-31 12:04:42.349 +0200 [debug] (proxy.js) Checking if the request url is whitelisted in manifest 2022-05-31 12:04:42.350 +0200 [debug] (proxy.js) Matched "https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452" with https://virtualdropstudio.freshdesk.com 2022-05-31 12:04:42.350 +0200 [debug] (proxy.js) Making proxy call with options as {"headers":{"Content-Type":"application/json","Authorization":"Basic eXBsT0hra3gyejJhY1ZRS01DZGU6eA=="},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get","whitelistedDomains":["https://virtualdropstudio.freshdesk.com"],"maxAttempts":1,"retryDelay":0,"timeout":5000} 2022-05-31 12:04:42.589 +0200 [debug] (proxy.js) Proxy came back with error as null, body as "{\"active\":false,\"address\":null,\"description\":null,\"email\":\"loloic3@sfr.fr\",\"id\":1010265 2022-05-31 12:04:42.589 +0200 [debug] (proxy.js) Looking for "application/json" in application/json,application/xml,text/html,text/xml,application/jsonp,text/plain,application/javascript,application/vnd.api+json 2022-05-31 12:04:42.593 +0200 [debug] (coverage-util.js) Writing coverage. 2022-05-31 12:04:44.589 +0200 [debug] (coverage-util.js) Writing coverage. 2022-05-31 12:58:39.539 +0200 [info] NOTE: We recommend a coverage of 80% for apps that are to be published in the public marketplace. 2022-05-31 12:58:40.132 +0200 [debug] (logger.js) Starting FDK in node v12.22.7 on linux 2022-05-31 12:58:40.725 +0200 [debug] (sequelize.js) setting up sqilite at "/home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/.fdk/store.sqlite" 2022-05-31 12:58:41.637 +0200 [debug] (index.js) Running with args {"cmd":"run","gopts":{},"opts":{},"goptArg":{},"optArg":{},"args":[]} 2022-05-31 12:58:41.637 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 12:58:41.637 +0200 [debug] (updater.js) last check less than an day ago, not looking for updates 2022-05-31 12:58:41.838 +0200 [debug] (manifest.js) Reloading manifest with {"platform-version":"2.2","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"whitelisted-domains":["https://<%= iparam.freshdesk_domain %>.freshdesk.com"],"engines":{"node":"12.22.7","fdk":"7.1.0"}}. 2022-05-31 12:58:41.838 +0200 [debug] (manifest.js) Inferred db as features. 2022-05-31 12:58:41.840 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 12:58:41.850 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 12:58:42.832 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 12:58:45.492 +0200 [debug] (validate.js) asked to skip the following validations,  2022-05-31 12:58:45.492 +0200 [debug] (validate.js) running validator actions 2022-05-31 12:58:45.492 +0200 [debug] (validate.js) running validator app-dir 2022-05-31 12:58:45.493 +0200 [debug] (validate.js) running validator config-dir 2022-05-31 12:58:45.493 +0200 [debug] (config-dir.js) Checking to see if /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/config/ exists. 2022-05-31 12:58:45.493 +0200 [debug] (config-dir.js) Fetched the following config files iparams.json 2022-05-31 12:58:45.494 +0200 [debug] (validate.js) running validator custom-objects 2022-05-31 12:58:45.494 +0200 [debug] (validate.js) running validator event 2022-05-31 12:58:45.494 +0200 [debug] (validate.js) running validator iparam 2022-05-31 12:58:45.496 +0200 [debug] (validate.js) skipping validator lint 2022-05-31 12:58:45.496 +0200 [debug] (validate.js) running validator manifest 2022-05-31 12:58:45.496 +0200 [debug] (manifest.js) running manifest validation with type run_validation 2022-05-31 12:58:45.497 +0200 [debug] (validate.js) skipping validator manifest-dependency 2022-05-31 12:58:45.497 +0200 [debug] (validate.js) running validator oauth 2022-05-31 12:58:45.497 +0200 [debug] (validate.js) skipping validator pkgsize 2022-05-31 12:58:45.497 +0200 [debug] (validate.js) running validator schema 2022-05-31 12:58:45.497 +0200 [debug] (validate.js) running validator version-check 2022-05-31 12:58:45.499 +0200 [debug] (watcher.js) Preparing to watch the following files ./app,./config,./manifest.json 2022-05-31 12:58:45.502 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 12:58:45.502 +0200 [debug] (custom-objects.js) to force or not? false 2022-05-31 12:58:45.502 +0200 [debug] (custom-objects.js) beginning to re-sync db 2022-05-31 12:58:45.746 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/bigint-pivot.js" 2022-05-31 12:58:45.748 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field-choice.js" 2022-05-31 12:58:45.749 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field.js" 2022-05-31 12:58:45.749 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity.js" 2022-05-31 12:58:45.750 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/record.js" 2022-05-31 12:58:45.751 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/string-pivot.js" 2022-05-31 12:58:45.766 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 12:58:45.767 +0200 [debug] (custom-objects.js) updated local store with latest entity hash 2022-05-31 12:58:45.771 +0200 [info] Starting local testing server at http://*:10001/ Append 'dev=true' to your Freshdesk account URL to start testing e.g. https://domain.freshdesk.com/a/tickets/1?dev=true Quit the server with Control-C. 2022-05-31 12:58:45.771 +0200 [info] To test the installation page, visit - http://localhost:10001/custom_configs 2022-05-31 12:58:53.164 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 12:58:53.165 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 12:58:53.690 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 12:58:53.690 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 12:58:53.733 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 12:58:53.733 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 12:58:53.785 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 12:58:53.785 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 12:58:53.827 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 12:58:53.827 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 12:58:53.846 +0200 [debug] (iframe.js) Responding with contents of /template.html 2022-05-31 12:58:53.859 +0200 [debug] (iframe.js) Responding with contents of /app.js 2022-05-31 12:58:53.860 +0200 [debug] (coverage-util.js) Instrumenting /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/app/app.js 2022-05-31 12:58:54.006 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 12:58:54.007 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 12:58:54.045 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 12:58:54.045 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 12:58:54.084 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 12:58:54.084 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 12:58:54.121 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 12:58:54.121 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 12:58:54.156 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 12:58:54.156 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 12:58:54.383 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 12:58:54.384 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 12:58:56.612 +0200 [debug] (coverage-util.js) Writing coverage. 2022-05-31 12:58:59.123 +0200 [debug] (data-pipe.js) received call for route "proxy" with action "execute" and body {"action":"execute","data":{"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get"}} 2022-05-31 12:58:59.123 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 12:58:59.126 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 12:58:59.126 +0200 [debug] (proxy.js) Substituing Templates {"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get"} with {"iparam":{"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"oauth_iparams":{}} 2022-05-31 12:58:59.128 +0200 [debug] (proxy.js) Parsed https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452 as {"protocol":"https:","slashes":true,"auth":null,"host":"virtualdropstudio.freshdesk.com","port":null,"hostname":"virtualdropstudio.freshdesk.com","hash":null,"search":null,"query":null,"pathname":"/api/v2/contacts/101026585452","path":"/api/v2/contacts/101026585452","href":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452"} 2022-05-31 12:58:59.130 +0200 [debug] (proxy.js) Checking if the request url is whitelisted in manifest 2022-05-31 12:58:59.130 +0200 [debug] (proxy.js) Matched "https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452" with https://virtualdropstudio.freshdesk.com 2022-05-31 12:58:59.130 +0200 [debug] (proxy.js) Making proxy call with options as {"headers":{"Content-Type":"application/json","Authorization":"Basic eXBsT0hra3gyejJhY1ZRS01DZGU6eA=="},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get","whitelistedDomains":["https://virtualdropstudio.freshdesk.com"],"maxAttempts":1,"retryDelay":0,"timeout":5000} 2022-05-31 12:58:59.366 +0200 [debug] (proxy.js) Proxy came back with error as null, body as "{\"active\":false,\"address\":null,\"description\":null,\"email\":\"loloic3@sfr.fr\",\"id\":1010265 2022-05-31 12:58:59.367 +0200 [debug] (proxy.js) Looking for "application/json" in application/json,application/xml,text/html,text/xml,application/jsonp,text/plain,application/javascript,application/vnd.api+json 2022-05-31 12:59:00.606 +0200 [debug] (coverage-util.js) Writing coverage. 2022-05-31 13:01:30.272 +0200 [info] NOTE: We recommend a coverage of 80% for apps that are to be published in the public marketplace. 2022-05-31 13:01:30.920 +0200 [debug] (logger.js) Starting FDK in node v12.22.7 on linux 2022-05-31 13:01:31.490 +0200 [debug] (sequelize.js) setting up sqilite at "/home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/.fdk/store.sqlite" 2022-05-31 13:01:32.403 +0200 [debug] (index.js) Running with args {"cmd":"run","gopts":{},"opts":{},"goptArg":{},"optArg":{},"args":[]} 2022-05-31 13:01:32.403 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 13:01:32.403 +0200 [debug] (updater.js) last check less than an day ago, not looking for updates 2022-05-31 13:01:32.599 +0200 [debug] (manifest.js) Reloading manifest with {"platform-version":"2.2","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"whitelisted-domains":["https://<%= iparam.freshdesk_domain %>.freshdesk.com"],"engines":{"node":"12.22.7","fdk":"7.1.0"}}. 2022-05-31 13:01:32.599 +0200 [debug] (manifest.js) Inferred db as features. 2022-05-31 13:01:32.601 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 13:01:32.611 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 13:01:33.563 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 13:01:36.211 +0200 [debug] (validate.js) asked to skip the following validations,  2022-05-31 13:01:36.211 +0200 [debug] (validate.js) running validator actions 2022-05-31 13:01:36.211 +0200 [debug] (validate.js) running validator app-dir 2022-05-31 13:01:36.212 +0200 [debug] (validate.js) running validator config-dir 2022-05-31 13:01:36.212 +0200 [debug] (config-dir.js) Checking to see if /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/config/ exists. 2022-05-31 13:01:36.213 +0200 [debug] (config-dir.js) Fetched the following config files iparams.json 2022-05-31 13:01:36.213 +0200 [debug] (validate.js) running validator custom-objects 2022-05-31 13:01:36.213 +0200 [debug] (validate.js) running validator event 2022-05-31 13:01:36.213 +0200 [debug] (validate.js) running validator iparam 2022-05-31 13:01:36.216 +0200 [debug] (validate.js) skipping validator lint 2022-05-31 13:01:36.216 +0200 [debug] (validate.js) running validator manifest 2022-05-31 13:01:36.216 +0200 [debug] (manifest.js) running manifest validation with type run_validation 2022-05-31 13:01:36.216 +0200 [debug] (validate.js) skipping validator manifest-dependency 2022-05-31 13:01:36.216 +0200 [debug] (validate.js) running validator oauth 2022-05-31 13:01:36.216 +0200 [debug] (validate.js) skipping validator pkgsize 2022-05-31 13:01:36.217 +0200 [debug] (validate.js) running validator schema 2022-05-31 13:01:36.217 +0200 [debug] (validate.js) running validator version-check 2022-05-31 13:01:36.219 +0200 [debug] (watcher.js) Preparing to watch the following files ./app,./config,./manifest.json 2022-05-31 13:01:36.222 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 13:01:36.222 +0200 [debug] (custom-objects.js) to force or not? false 2022-05-31 13:01:36.222 +0200 [debug] (custom-objects.js) beginning to re-sync db 2022-05-31 13:01:36.657 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/bigint-pivot.js" 2022-05-31 13:01:36.659 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field-choice.js" 2022-05-31 13:01:36.660 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field.js" 2022-05-31 13:01:36.661 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity.js" 2022-05-31 13:01:36.661 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/record.js" 2022-05-31 13:01:36.662 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/string-pivot.js" 2022-05-31 13:01:36.678 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 13:01:36.679 +0200 [debug] (custom-objects.js) updated local store with latest entity hash 2022-05-31 13:01:36.681 +0200 [info] Starting local testing server at http://*:10001/ Append 'dev=true' to your Freshdesk account URL to start testing e.g. https://domain.freshdesk.com/a/tickets/1?dev=true Quit the server with Control-C. 2022-05-31 13:01:36.682 +0200 [info] To test the installation page, visit - http://localhost:10001/custom_configs 2022-05-31 13:01:44.016 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 13:01:44.017 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 13:01:44.547 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 13:01:44.547 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 13:01:44.667 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 13:01:44.667 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 13:01:44.730 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 13:01:44.731 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 13:01:44.815 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 13:01:44.816 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 13:01:44.875 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 13:01:44.875 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 13:01:44.891 +0200 [debug] (iframe.js) Responding with contents of /template.html 2022-05-31 13:01:44.905 +0200 [debug] (iframe.js) Responding with contents of /app.js 2022-05-31 13:01:44.905 +0200 [debug] (coverage-util.js) Instrumenting /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/app/app.js 2022-05-31 13:01:45.070 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 13:01:45.070 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 13:01:45.108 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 13:01:45.108 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 13:01:45.145 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 13:01:45.145 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 13:01:45.186 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 13:01:45.187 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 13:01:45.227 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 13:01:45.227 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 13:01:47.603 +0200 [debug] (coverage-util.js) Writing coverage. 2022-05-31 13:01:47.604 +0200 [debug] (coverage-util.js) Error Cannot read property 'start' of undefined while writing coverage report. 2022-05-31 13:01:47.604 +0200 [debug] (coverage-util.js) Flushing coverage. 2022-05-31 13:01:57.831 +0200 [debug] (data-pipe.js) received call for route "proxy" with action "execute" and body {"action":"execute","data":{"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get"}} 2022-05-31 13:01:57.831 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 13:01:57.835 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 13:01:57.835 +0200 [debug] (proxy.js) Substituing Templates {"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get"} with {"iparam":{"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"oauth_iparams":{}} 2022-05-31 13:01:57.837 +0200 [debug] (proxy.js) Parsed https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452 as {"protocol":"https:","slashes":true,"auth":null,"host":"virtualdropstudio.freshdesk.com","port":null,"hostname":"virtualdropstudio.freshdesk.com","hash":null,"search":null,"query":null,"pathname":"/api/v2/contacts/101026585452","path":"/api/v2/contacts/101026585452","href":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452"} 2022-05-31 13:01:57.839 +0200 [debug] (proxy.js) Checking if the request url is whitelisted in manifest 2022-05-31 13:01:57.839 +0200 [debug] (proxy.js) Matched "https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452" with https://virtualdropstudio.freshdesk.com 2022-05-31 13:01:57.840 +0200 [debug] (proxy.js) Making proxy call with options as {"headers":{"Content-Type":"application/json","Authorization":"Basic eXBsT0hra3gyejJhY1ZRS01DZGU6eA=="},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get","whitelistedDomains":["https://virtualdropstudio.freshdesk.com"],"maxAttempts":1,"retryDelay":0,"timeout":5000} 2022-05-31 13:01:58.090 +0200 [debug] (proxy.js) Proxy came back with error as null, body as "{\"active\":false,\"address\":null,\"description\":null,\"email\":\"loloic3@sfr.fr\",\"id\":1010265 2022-05-31 13:01:58.090 +0200 [debug] (proxy.js) Looking for "application/json" in application/json,application/xml,text/html,text/xml,application/jsonp,text/plain,application/javascript,application/vnd.api+json 2022-05-31 13:01:59.606 +0200 [debug] (coverage-util.js) Writing coverage. 2022-05-31 13:10:27.946 +0200 [info] NOTE: We recommend a coverage of 80% for apps that are to be published in the public marketplace. 2022-05-31 13:10:29.095 +0200 [debug] (logger.js) Starting FDK in node v12.22.7 on linux 2022-05-31 13:10:29.664 +0200 [debug] (sequelize.js) setting up sqilite at "/home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/.fdk/store.sqlite" 2022-05-31 13:10:30.565 +0200 [debug] (index.js) Running with args {"cmd":"run","gopts":{},"opts":{},"goptArg":{},"optArg":{},"args":[]} 2022-05-31 13:10:30.566 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 13:10:30.566 +0200 [debug] (updater.js) last check less than an day ago, not looking for updates 2022-05-31 13:10:30.763 +0200 [debug] (manifest.js) Reloading manifest with {"platform-version":"2.2","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"whitelisted-domains":["https://<%= iparam.freshdesk_domain %>.freshdesk.com"],"engines":{"node":"12.22.7","fdk":"7.1.0"}}. 2022-05-31 13:10:30.763 +0200 [debug] (manifest.js) Inferred db as features. 2022-05-31 13:10:30.764 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 13:10:30.775 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 13:10:31.744 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 13:10:34.361 +0200 [debug] (validate.js) asked to skip the following validations,  2022-05-31 13:10:34.362 +0200 [debug] (validate.js) running validator actions 2022-05-31 13:10:34.362 +0200 [debug] (validate.js) running validator app-dir 2022-05-31 13:10:34.363 +0200 [debug] (validate.js) running validator config-dir 2022-05-31 13:10:34.363 +0200 [debug] (config-dir.js) Checking to see if /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/config/ exists. 2022-05-31 13:10:34.364 +0200 [debug] (config-dir.js) Fetched the following config files iparams.json 2022-05-31 13:10:34.364 +0200 [debug] (validate.js) running validator custom-objects 2022-05-31 13:10:34.364 +0200 [debug] (validate.js) running validator event 2022-05-31 13:10:34.364 +0200 [debug] (validate.js) running validator iparam 2022-05-31 13:10:34.368 +0200 [debug] (validate.js) skipping validator lint 2022-05-31 13:10:34.368 +0200 [debug] (validate.js) running validator manifest 2022-05-31 13:10:34.368 +0200 [debug] (manifest.js) running manifest validation with type run_validation 2022-05-31 13:10:34.368 +0200 [debug] (validate.js) skipping validator manifest-dependency 2022-05-31 13:10:34.368 +0200 [debug] (validate.js) running validator oauth 2022-05-31 13:10:34.369 +0200 [debug] (validate.js) skipping validator pkgsize 2022-05-31 13:10:34.369 +0200 [debug] (validate.js) running validator schema 2022-05-31 13:10:34.369 +0200 [debug] (validate.js) running validator version-check 2022-05-31 13:10:34.372 +0200 [debug] (watcher.js) Preparing to watch the following files ./app,./config,./manifest.json 2022-05-31 13:10:34.375 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 13:10:34.376 +0200 [debug] (custom-objects.js) to force or not? false 2022-05-31 13:10:34.376 +0200 [debug] (custom-objects.js) beginning to re-sync db 2022-05-31 13:10:34.768 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/bigint-pivot.js" 2022-05-31 13:10:34.770 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field-choice.js" 2022-05-31 13:10:34.770 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field.js" 2022-05-31 13:10:34.771 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity.js" 2022-05-31 13:10:34.772 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/record.js" 2022-05-31 13:10:34.772 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/string-pivot.js" 2022-05-31 13:10:34.788 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 13:10:34.789 +0200 [debug] (custom-objects.js) updated local store with latest entity hash 2022-05-31 13:10:34.793 +0200 [info] Starting local testing server at http://*:10001/ Append 'dev=true' to your Freshdesk account URL to start testing e.g. https://domain.freshdesk.com/a/tickets/1?dev=true Quit the server with Control-C. 2022-05-31 13:10:34.793 +0200 [info] To test the installation page, visit - http://localhost:10001/custom_configs 2022-05-31 13:10:44.783 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 13:10:44.785 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 13:10:45.178 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 13:10:45.178 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 13:10:45.283 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 13:10:45.283 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 13:10:45.345 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 13:10:45.345 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 13:10:45.390 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 13:10:45.390 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 13:10:45.410 +0200 [debug] (iframe.js) Responding with contents of /template.html 2022-05-31 13:10:45.425 +0200 [debug] (iframe.js) Responding with contents of /app.js 2022-05-31 13:10:45.427 +0200 [debug] (coverage-util.js) Instrumenting /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/app/app.js 2022-05-31 13:10:45.547 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 13:10:45.547 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 13:10:45.588 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 13:10:45.589 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 13:10:45.627 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 13:10:45.628 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 13:10:45.666 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 13:10:45.666 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 13:10:45.721 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 13:10:45.722 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 13:10:45.834 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 13:10:45.834 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 13:10:48.618 +0200 [debug] (coverage-util.js) Writing coverage. 2022-05-31 13:10:48.619 +0200 [debug] (coverage-util.js) Error Cannot read property 'start' of undefined while writing coverage report. 2022-05-31 13:10:48.619 +0200 [debug] (coverage-util.js) Flushing coverage. 2022-05-31 13:10:51.372 +0200 [debug] (data-pipe.js) received call for route "proxy" with action "execute" and body {"action":"execute","data":{"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get"}} 2022-05-31 13:10:51.374 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 13:10:51.378 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 13:10:51.378 +0200 [debug] (proxy.js) Substituing Templates {"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get"} with {"iparam":{"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"oauth_iparams":{}} 2022-05-31 13:10:51.380 +0200 [debug] (proxy.js) Parsed https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452 as {"protocol":"https:","slashes":true,"auth":null,"host":"virtualdropstudio.freshdesk.com","port":null,"hostname":"virtualdropstudio.freshdesk.com","hash":null,"search":null,"query":null,"pathname":"/api/v2/contacts/101026585452","path":"/api/v2/contacts/101026585452","href":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452"} 2022-05-31 13:10:51.383 +0200 [debug] (proxy.js) Checking if the request url is whitelisted in manifest 2022-05-31 13:10:51.383 +0200 [debug] (proxy.js) Matched "https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452" with https://virtualdropstudio.freshdesk.com 2022-05-31 13:10:51.383 +0200 [debug] (proxy.js) Making proxy call with options as {"headers":{"Content-Type":"application/json","Authorization":"Basic eXBsT0hra3gyejJhY1ZRS01DZGU6eA=="},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get","whitelistedDomains":["https://virtualdropstudio.freshdesk.com"],"maxAttempts":1,"retryDelay":0,"timeout":5000} 2022-05-31 13:10:51.601 +0200 [debug] (proxy.js) Proxy came back with error as null, body as "{\"active\":false,\"address\":null,\"description\":null,\"email\":\"loloic3@sfr.fr\",\"id\":1010265 2022-05-31 13:10:51.602 +0200 [debug] (proxy.js) Looking for "application/json" in application/json,application/xml,text/html,text/xml,application/jsonp,text/plain,application/javascript,application/vnd.api+json 2022-05-31 13:10:52.596 +0200 [debug] (coverage-util.js) Writing coverage. 2022-05-31 13:31:45.644 +0200 [info] NOTE: We recommend a coverage of 80% for apps that are to be published in the public marketplace. 2022-05-31 13:31:46.288 +0200 [debug] (logger.js) Starting FDK in node v12.22.7 on linux 2022-05-31 13:31:46.866 +0200 [debug] (sequelize.js) setting up sqilite at "/home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/.fdk/store.sqlite" 2022-05-31 13:31:47.772 +0200 [debug] (index.js) Running with args {"cmd":"run","gopts":{},"opts":{},"goptArg":{},"optArg":{},"args":[]} 2022-05-31 13:31:47.772 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 13:31:47.772 +0200 [debug] (updater.js) last check less than an day ago, not looking for updates 2022-05-31 13:31:47.964 +0200 [debug] (manifest.js) Reloading manifest with {"platform-version":"2.2","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"whitelisted-domains":["https://<%= iparam.freshdesk_domain %>.freshdesk.com"],"engines":{"node":"12.22.7","fdk":"7.1.0"}}. 2022-05-31 13:31:47.964 +0200 [debug] (manifest.js) Inferred db as features. 2022-05-31 13:31:47.966 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 13:31:47.976 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 13:31:48.936 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 13:31:51.574 +0200 [debug] (validate.js) asked to skip the following validations,  2022-05-31 13:31:51.575 +0200 [debug] (validate.js) running validator actions 2022-05-31 13:31:51.575 +0200 [debug] (validate.js) running validator app-dir 2022-05-31 13:31:51.576 +0200 [debug] (validate.js) running validator config-dir 2022-05-31 13:31:51.576 +0200 [debug] (config-dir.js) Checking to see if /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/config/ exists. 2022-05-31 13:31:51.576 +0200 [debug] (config-dir.js) Fetched the following config files iparams.json 2022-05-31 13:31:51.576 +0200 [debug] (validate.js) running validator custom-objects 2022-05-31 13:31:51.577 +0200 [debug] (validate.js) running validator event 2022-05-31 13:31:51.577 +0200 [debug] (validate.js) running validator iparam 2022-05-31 13:31:51.579 +0200 [debug] (validate.js) skipping validator lint 2022-05-31 13:31:51.579 +0200 [debug] (validate.js) running validator manifest 2022-05-31 13:31:51.579 +0200 [debug] (manifest.js) running manifest validation with type run_validation 2022-05-31 13:31:51.580 +0200 [debug] (validate.js) skipping validator manifest-dependency 2022-05-31 13:31:51.580 +0200 [debug] (validate.js) running validator oauth 2022-05-31 13:31:51.580 +0200 [debug] (validate.js) skipping validator pkgsize 2022-05-31 13:31:51.580 +0200 [debug] (validate.js) running validator schema 2022-05-31 13:31:51.580 +0200 [debug] (validate.js) running validator version-check 2022-05-31 13:31:51.582 +0200 [debug] (watcher.js) Preparing to watch the following files ./app,./config,./manifest.json 2022-05-31 13:31:51.585 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 13:31:51.585 +0200 [debug] (custom-objects.js) to force or not? false 2022-05-31 13:31:51.585 +0200 [debug] (custom-objects.js) beginning to re-sync db 2022-05-31 13:31:51.826 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/bigint-pivot.js" 2022-05-31 13:31:51.828 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field-choice.js" 2022-05-31 13:31:51.828 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field.js" 2022-05-31 13:31:51.829 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity.js" 2022-05-31 13:31:51.830 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/record.js" 2022-05-31 13:31:51.830 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/string-pivot.js" 2022-05-31 13:31:51.846 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 13:31:51.847 +0200 [debug] (custom-objects.js) updated local store with latest entity hash 2022-05-31 13:31:51.850 +0200 [info] Starting local testing server at http://*:10001/ Append 'dev=true' to your Freshdesk account URL to start testing e.g. https://domain.freshdesk.com/a/tickets/1?dev=true Quit the server with Control-C. 2022-05-31 13:31:51.850 +0200 [info] To test the installation page, visit - http://localhost:10001/custom_configs 2022-05-31 13:32:01.373 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 13:32:01.374 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 13:32:01.786 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 13:32:01.786 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 13:32:01.830 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 13:32:01.831 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 13:32:01.883 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 13:32:01.883 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 13:32:01.961 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 13:32:01.961 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 13:32:01.979 +0200 [debug] (iframe.js) Responding with contents of /template.html 2022-05-31 13:32:01.994 +0200 [debug] (iframe.js) Responding with contents of /app.js 2022-05-31 13:32:01.995 +0200 [debug] (coverage-util.js) Instrumenting /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/app/app.js 2022-05-31 13:32:02.141 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 13:32:02.141 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 13:32:02.181 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 13:32:02.181 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 13:32:02.219 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 13:32:02.220 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 13:32:02.258 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 13:32:02.258 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 13:32:02.294 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 13:32:02.294 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 13:32:02.470 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 13:32:02.470 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 13:32:04.607 +0200 [debug] (coverage-util.js) Writing coverage. 2022-05-31 13:32:26.606 +0200 [debug] (coverage-util.js) Writing coverage. 2022-05-31 13:36:00.973 +0200 [info] NOTE: We recommend a coverage of 80% for apps that are to be published in the public marketplace. 2022-05-31 13:36:02.041 +0200 [debug] (logger.js) Starting FDK in node v12.22.7 on linux 2022-05-31 13:36:02.619 +0200 [debug] (sequelize.js) setting up sqilite at "/home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/.fdk/store.sqlite" 2022-05-31 13:36:03.520 +0200 [debug] (index.js) Running with args {"cmd":"run","gopts":{},"opts":{},"goptArg":{},"optArg":{},"args":[]} 2022-05-31 13:36:03.520 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 13:36:03.520 +0200 [debug] (updater.js) last check less than an day ago, not looking for updates 2022-05-31 13:36:03.712 +0200 [debug] (manifest.js) Reloading manifest with {"platform-version":"2.2","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"whitelisted-domains":["https://<%= iparam.freshdesk_domain %>.freshdesk.com"],"engines":{"node":"12.22.7","fdk":"7.1.0"}}. 2022-05-31 13:36:03.712 +0200 [debug] (manifest.js) Inferred db as features. 2022-05-31 13:36:03.713 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 13:36:03.723 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 13:36:04.674 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 13:36:07.301 +0200 [debug] (validate.js) asked to skip the following validations,  2022-05-31 13:36:07.301 +0200 [debug] (validate.js) running validator actions 2022-05-31 13:36:07.301 +0200 [debug] (validate.js) running validator app-dir 2022-05-31 13:36:07.302 +0200 [debug] (validate.js) running validator config-dir 2022-05-31 13:36:07.302 +0200 [debug] (config-dir.js) Checking to see if /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/config/ exists. 2022-05-31 13:36:07.302 +0200 [debug] (config-dir.js) Fetched the following config files iparams.json 2022-05-31 13:36:07.303 +0200 [debug] (validate.js) running validator custom-objects 2022-05-31 13:36:07.303 +0200 [debug] (validate.js) running validator event 2022-05-31 13:36:07.303 +0200 [debug] (validate.js) running validator iparam 2022-05-31 13:36:07.306 +0200 [debug] (validate.js) skipping validator lint 2022-05-31 13:36:07.306 +0200 [debug] (validate.js) running validator manifest 2022-05-31 13:36:07.306 +0200 [debug] (manifest.js) running manifest validation with type run_validation 2022-05-31 13:36:07.306 +0200 [debug] (validate.js) skipping validator manifest-dependency 2022-05-31 13:36:07.306 +0200 [debug] (validate.js) running validator oauth 2022-05-31 13:36:07.306 +0200 [debug] (validate.js) skipping validator pkgsize 2022-05-31 13:36:07.306 +0200 [debug] (validate.js) running validator schema 2022-05-31 13:36:07.307 +0200 [debug] (validate.js) running validator version-check 2022-05-31 13:36:07.309 +0200 [debug] (watcher.js) Preparing to watch the following files ./app,./config,./manifest.json 2022-05-31 13:36:07.312 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 13:36:07.312 +0200 [debug] (custom-objects.js) to force or not? false 2022-05-31 13:36:07.312 +0200 [debug] (custom-objects.js) beginning to re-sync db 2022-05-31 13:36:07.549 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/bigint-pivot.js" 2022-05-31 13:36:07.550 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field-choice.js" 2022-05-31 13:36:07.551 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field.js" 2022-05-31 13:36:07.552 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity.js" 2022-05-31 13:36:07.553 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/record.js" 2022-05-31 13:36:07.553 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/string-pivot.js" 2022-05-31 13:36:07.568 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 13:36:07.569 +0200 [debug] (custom-objects.js) updated local store with latest entity hash 2022-05-31 13:36:07.572 +0200 [info] Starting local testing server at http://*:10001/ Append 'dev=true' to your Freshdesk account URL to start testing e.g. https://domain.freshdesk.com/a/tickets/1?dev=true Quit the server with Control-C. 2022-05-31 13:36:07.573 +0200 [info] To test the installation page, visit - http://localhost:10001/custom_configs 2022-05-31 13:36:21.919 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 13:36:21.920 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 13:36:22.407 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 13:36:22.407 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 13:36:22.444 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 13:36:22.445 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 13:36:22.493 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 13:36:22.493 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 13:36:22.543 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 13:36:22.543 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 13:36:22.568 +0200 [debug] (iframe.js) Responding with contents of /template.html 2022-05-31 13:36:22.580 +0200 [debug] (iframe.js) Responding with contents of /app.js 2022-05-31 13:36:22.581 +0200 [debug] (coverage-util.js) Instrumenting /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/app/app.js 2022-05-31 13:36:22.747 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 13:36:22.747 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 13:36:22.795 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 13:36:22.795 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 13:36:22.833 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 13:36:22.834 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 13:36:22.872 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 13:36:22.872 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 13:36:22.913 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 13:36:22.913 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 13:36:23.066 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 13:36:23.066 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 13:36:25.620 +0200 [debug] (coverage-util.js) Writing coverage. 2022-05-31 13:36:25.621 +0200 [debug] (coverage-util.js) Error Cannot read property 'start' of undefined while writing coverage report. 2022-05-31 13:36:25.621 +0200 [debug] (coverage-util.js) Flushing coverage. 2022-05-31 13:36:30.066 +0200 [debug] (data-pipe.js) received call for route "proxy" with action "execute" and body {"action":"execute","data":{"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get"}} 2022-05-31 13:36:30.067 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 13:36:30.069 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 13:36:30.069 +0200 [debug] (proxy.js) Substituing Templates {"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get"} with {"iparam":{"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"oauth_iparams":{}} 2022-05-31 13:36:30.071 +0200 [debug] (proxy.js) Parsed https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452 as {"protocol":"https:","slashes":true,"auth":null,"host":"virtualdropstudio.freshdesk.com","port":null,"hostname":"virtualdropstudio.freshdesk.com","hash":null,"search":null,"query":null,"pathname":"/api/v2/contacts/101026585452","path":"/api/v2/contacts/101026585452","href":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452"} 2022-05-31 13:36:30.074 +0200 [debug] (proxy.js) Checking if the request url is whitelisted in manifest 2022-05-31 13:36:30.074 +0200 [debug] (proxy.js) Matched "https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452" with https://virtualdropstudio.freshdesk.com 2022-05-31 13:36:30.074 +0200 [debug] (proxy.js) Making proxy call with options as {"headers":{"Content-Type":"application/json","Authorization":"Basic eXBsT0hra3gyejJhY1ZRS01DZGU6eA=="},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get","whitelistedDomains":["https://virtualdropstudio.freshdesk.com"],"maxAttempts":1,"retryDelay":0,"timeout":5000} 2022-05-31 13:36:30.272 +0200 [debug] (proxy.js) Proxy came back with error as null, body as "{\"active\":false,\"address\":null,\"description\":null,\"email\":\"loloic3@sfr.fr\",\"id\":1010265 2022-05-31 13:36:30.272 +0200 [debug] (proxy.js) Looking for "application/json" in application/json,application/xml,text/html,text/xml,application/jsonp,text/plain,application/javascript,application/vnd.api+json 2022-05-31 13:36:31.599 +0200 [debug] (coverage-util.js) Writing coverage. 2022-05-31 13:47:24.796 +0200 [debug] (data-pipe.js) received call for route "proxy" with action "execute" and body {"action":"execute","data":{"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get"}} 2022-05-31 13:47:24.797 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 13:47:24.797 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 13:47:24.797 +0200 [debug] (proxy.js) Substituing Templates {"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get"} with {"iparam":{"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"oauth_iparams":{}} 2022-05-31 13:47:24.798 +0200 [debug] (proxy.js) Parsed https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452 as {"protocol":"https:","slashes":true,"auth":null,"host":"virtualdropstudio.freshdesk.com","port":null,"hostname":"virtualdropstudio.freshdesk.com","hash":null,"search":null,"query":null,"pathname":"/api/v2/contacts/101026585452","path":"/api/v2/contacts/101026585452","href":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452"} 2022-05-31 13:47:24.798 +0200 [debug] (proxy.js) Checking if the request url is whitelisted in manifest 2022-05-31 13:47:24.798 +0200 [debug] (proxy.js) Matched "https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452" with https://virtualdropstudio.freshdesk.com 2022-05-31 13:47:24.798 +0200 [debug] (proxy.js) Making proxy call with options as {"headers":{"Content-Type":"application/json","Authorization":"Basic eXBsT0hra3gyejJhY1ZRS01DZGU6eA=="},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get","whitelistedDomains":["https://virtualdropstudio.freshdesk.com"],"maxAttempts":1,"retryDelay":0,"timeout":5000} 2022-05-31 13:47:25.007 +0200 [debug] (proxy.js) Proxy came back with error as null, body as "{\"active\":false,\"address\":null,\"description\":null,\"email\":\"loloic3@sfr.fr\",\"id\":1010265 2022-05-31 13:47:25.007 +0200 [debug] (proxy.js) Looking for "application/json" in application/json,application/xml,text/html,text/xml,application/jsonp,text/plain,application/javascript,application/vnd.api+json 2022-05-31 13:47:25.590 +0200 [debug] (coverage-util.js) Writing coverage. 2022-05-31 13:52:15.133 +0200 [info] NOTE: We recommend a coverage of 80% for apps that are to be published in the public marketplace. 2022-05-31 13:52:15.899 +0200 [debug] (logger.js) Starting FDK in node v12.22.7 on linux 2022-05-31 13:52:16.473 +0200 [debug] (sequelize.js) setting up sqilite at "/home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/.fdk/store.sqlite" 2022-05-31 13:52:17.372 +0200 [debug] (index.js) Running with args {"cmd":"run","gopts":{},"opts":{},"goptArg":{},"optArg":{},"args":[]} 2022-05-31 13:52:17.373 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 13:52:17.373 +0200 [debug] (updater.js) last check less than an day ago, not looking for updates 2022-05-31 13:52:17.567 +0200 [debug] (manifest.js) Reloading manifest with {"platform-version":"2.2","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"whitelisted-domains":["https://<%= iparam.freshdesk_domain %>.freshdesk.com"],"engines":{"node":"12.22.7","fdk":"7.1.0"}}. 2022-05-31 13:52:17.567 +0200 [debug] (manifest.js) Inferred db as features. 2022-05-31 13:52:17.569 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 13:52:17.579 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 13:52:18.529 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 13:52:21.155 +0200 [debug] (validate.js) asked to skip the following validations,  2022-05-31 13:52:21.155 +0200 [debug] (validate.js) running validator actions 2022-05-31 13:52:21.155 +0200 [debug] (validate.js) running validator app-dir 2022-05-31 13:52:21.156 +0200 [debug] (validate.js) running validator config-dir 2022-05-31 13:52:21.156 +0200 [debug] (config-dir.js) Checking to see if /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/config/ exists. 2022-05-31 13:52:21.157 +0200 [debug] (config-dir.js) Fetched the following config files iparams.json 2022-05-31 13:52:21.157 +0200 [debug] (validate.js) running validator custom-objects 2022-05-31 13:52:21.157 +0200 [debug] (validate.js) running validator event 2022-05-31 13:52:21.157 +0200 [debug] (validate.js) running validator iparam 2022-05-31 13:52:21.159 +0200 [debug] (validate.js) skipping validator lint 2022-05-31 13:52:21.159 +0200 [debug] (validate.js) running validator manifest 2022-05-31 13:52:21.160 +0200 [debug] (manifest.js) running manifest validation with type run_validation 2022-05-31 13:52:21.160 +0200 [debug] (validate.js) skipping validator manifest-dependency 2022-05-31 13:52:21.160 +0200 [debug] (validate.js) running validator oauth 2022-05-31 13:52:21.160 +0200 [debug] (validate.js) skipping validator pkgsize 2022-05-31 13:52:21.160 +0200 [debug] (validate.js) running validator schema 2022-05-31 13:52:21.160 +0200 [debug] (validate.js) running validator version-check 2022-05-31 13:52:21.162 +0200 [debug] (watcher.js) Preparing to watch the following files ./app,./config,./manifest.json 2022-05-31 13:52:21.165 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 13:52:21.165 +0200 [debug] (custom-objects.js) to force or not? false 2022-05-31 13:52:21.165 +0200 [debug] (custom-objects.js) beginning to re-sync db 2022-05-31 13:52:21.413 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/bigint-pivot.js" 2022-05-31 13:52:21.414 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field-choice.js" 2022-05-31 13:52:21.415 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field.js" 2022-05-31 13:52:21.416 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity.js" 2022-05-31 13:52:21.417 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/record.js" 2022-05-31 13:52:21.417 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/string-pivot.js" 2022-05-31 13:52:21.432 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 13:52:21.433 +0200 [debug] (custom-objects.js) updated local store with latest entity hash 2022-05-31 13:52:21.436 +0200 [info] Starting local testing server at http://*:10001/ Append 'dev=true' to your Freshdesk account URL to start testing e.g. https://domain.freshdesk.com/a/tickets/1?dev=true Quit the server with Control-C. 2022-05-31 13:52:21.436 +0200 [info] To test the installation page, visit - http://localhost:10001/custom_configs 2022-05-31 13:52:28.922 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 13:52:28.923 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 13:52:29.375 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 13:52:29.375 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 13:52:29.412 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 13:52:29.413 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 13:52:29.471 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 13:52:29.472 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 13:52:29.518 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 13:52:29.518 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 13:52:29.537 +0200 [debug] (iframe.js) Responding with contents of /template.html 2022-05-31 13:52:29.550 +0200 [debug] (iframe.js) Responding with contents of /app.js 2022-05-31 13:52:29.552 +0200 [debug] (coverage-util.js) Instrumenting /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/app/app.js 2022-05-31 13:52:29.703 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 13:52:29.703 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 13:52:29.744 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 13:52:29.745 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 13:52:29.786 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 13:52:29.787 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 13:52:29.829 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 13:52:29.830 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 13:52:29.869 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 13:52:29.869 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 13:52:30.461 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 13:52:30.461 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 13:52:32.614 +0200 [debug] (coverage-util.js) Writing coverage. 2022-05-31 13:52:33.864 +0200 [debug] (data-pipe.js) received call for route "proxy" with action "execute" and body {"action":"execute","data":{"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get"}} 2022-05-31 13:52:33.865 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 13:52:33.868 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 13:52:33.869 +0200 [debug] (proxy.js) Substituing Templates {"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get"} with {"iparam":{"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"oauth_iparams":{}} 2022-05-31 13:52:33.872 +0200 [debug] (proxy.js) Parsed https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452 as {"protocol":"https:","slashes":true,"auth":null,"host":"virtualdropstudio.freshdesk.com","port":null,"hostname":"virtualdropstudio.freshdesk.com","hash":null,"search":null,"query":null,"pathname":"/api/v2/contacts/101026585452","path":"/api/v2/contacts/101026585452","href":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452"} 2022-05-31 13:52:33.877 +0200 [debug] (proxy.js) Checking if the request url is whitelisted in manifest 2022-05-31 13:52:33.877 +0200 [debug] (proxy.js) Matched "https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452" with https://virtualdropstudio.freshdesk.com 2022-05-31 13:52:33.878 +0200 [debug] (proxy.js) Making proxy call with options as {"headers":{"Content-Type":"application/json","Authorization":"Basic eXBsT0hra3gyejJhY1ZRS01DZGU6eA=="},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get","whitelistedDomains":["https://virtualdropstudio.freshdesk.com"],"maxAttempts":1,"retryDelay":0,"timeout":5000} 2022-05-31 13:52:34.098 +0200 [debug] (proxy.js) Proxy came back with error as null, body as "{\"active\":false,\"address\":null,\"description\":null,\"email\":\"loloic3@sfr.fr\",\"id\":1010265 2022-05-31 13:52:34.099 +0200 [debug] (proxy.js) Looking for "application/json" in application/json,application/xml,text/html,text/xml,application/jsonp,text/plain,application/javascript,application/vnd.api+json 2022-05-31 13:52:34.599 +0200 [debug] (coverage-util.js) Writing coverage. 2022-05-31 16:11:42.659 +0200 [info] NOTE: We recommend a coverage of 80% for apps that are to be published in the public marketplace. 2022-05-31 16:11:43.639 +0200 [debug] (logger.js) Starting FDK in node v12.22.7 on linux 2022-05-31 16:11:44.294 +0200 [debug] (sequelize.js) setting up sqilite at "/home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/.fdk/store.sqlite" 2022-05-31 16:11:45.209 +0200 [debug] (index.js) Running with args {"cmd":"run","gopts":{},"opts":{},"goptArg":{},"optArg":{},"args":[]} 2022-05-31 16:11:45.210 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 16:11:45.210 +0200 [debug] (updater.js) last check less than an day ago, not looking for updates 2022-05-31 16:11:45.417 +0200 [debug] (manifest.js) Reloading manifest with {"platform-version":"2.2","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"whitelisted-domains":["https://<%= iparam.freshdesk_domain %>.freshdesk.com"],"engines":{"node":"12.22.7","fdk":"7.1.0"}}. 2022-05-31 16:11:45.417 +0200 [debug] (manifest.js) Inferred db as features. 2022-05-31 16:11:45.419 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 16:11:45.429 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 16:11:46.555 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 16:11:49.229 +0200 [debug] (validate.js) asked to skip the following validations,  2022-05-31 16:11:49.229 +0200 [debug] (validate.js) running validator actions 2022-05-31 16:11:49.230 +0200 [debug] (validate.js) running validator app-dir 2022-05-31 16:11:49.230 +0200 [debug] (validate.js) running validator config-dir 2022-05-31 16:11:49.231 +0200 [debug] (config-dir.js) Checking to see if /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/config/ exists. 2022-05-31 16:11:49.231 +0200 [debug] (config-dir.js) Fetched the following config files iparams.json 2022-05-31 16:11:49.231 +0200 [debug] (validate.js) running validator custom-objects 2022-05-31 16:11:49.231 +0200 [debug] (validate.js) running validator event 2022-05-31 16:11:49.231 +0200 [debug] (validate.js) running validator iparam 2022-05-31 16:11:49.234 +0200 [debug] (validate.js) skipping validator lint 2022-05-31 16:11:49.234 +0200 [debug] (validate.js) running validator manifest 2022-05-31 16:11:49.234 +0200 [debug] (manifest.js) running manifest validation with type run_validation 2022-05-31 16:11:49.234 +0200 [debug] (validate.js) skipping validator manifest-dependency 2022-05-31 16:11:49.234 +0200 [debug] (validate.js) running validator oauth 2022-05-31 16:11:49.235 +0200 [debug] (validate.js) skipping validator pkgsize 2022-05-31 16:11:49.235 +0200 [debug] (validate.js) running validator schema 2022-05-31 16:11:49.235 +0200 [debug] (validate.js) running validator version-check 2022-05-31 16:11:49.237 +0200 [debug] (watcher.js) Preparing to watch the following files ./app,./config,./manifest.json 2022-05-31 16:11:49.240 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 16:11:49.240 +0200 [debug] (custom-objects.js) to force or not? false 2022-05-31 16:11:49.240 +0200 [debug] (custom-objects.js) beginning to re-sync db 2022-05-31 16:11:49.503 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/bigint-pivot.js" 2022-05-31 16:11:49.505 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field-choice.js" 2022-05-31 16:11:49.506 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field.js" 2022-05-31 16:11:49.506 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity.js" 2022-05-31 16:11:49.507 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/record.js" 2022-05-31 16:11:49.508 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/string-pivot.js" 2022-05-31 16:11:49.523 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 16:11:49.524 +0200 [debug] (custom-objects.js) updated local store with latest entity hash 2022-05-31 16:11:49.526 +0200 [info] Starting local testing server at http://*:10001/ Append 'dev=true' to your Freshdesk account URL to start testing e.g. https://domain.freshdesk.com/a/tickets/1?dev=true Quit the server with Control-C. 2022-05-31 16:11:49.527 +0200 [info] To test the installation page, visit - http://localhost:10001/custom_configs 2022-05-31 16:12:03.023 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 16:12:03.024 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 16:12:03.532 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 16:12:03.533 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 16:12:03.574 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 16:12:03.574 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 16:12:03.623 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 16:12:03.623 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 16:12:03.662 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 16:12:03.663 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 16:12:03.679 +0200 [debug] (iframe.js) Responding with contents of /template.html 2022-05-31 16:12:03.693 +0200 [debug] (iframe.js) Responding with contents of /app.js 2022-05-31 16:12:03.695 +0200 [debug] (coverage-util.js) Instrumenting /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/app/app.js 2022-05-31 16:12:03.865 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 16:12:03.866 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 16:12:03.904 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 16:12:03.904 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 16:12:03.946 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 16:12:03.946 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 16:12:03.988 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 16:12:03.989 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 16:12:04.026 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 16:12:04.026 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 16:12:04.159 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 16:12:04.159 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 16:12:06.608 +0200 [debug] (coverage-util.js) Writing coverage. 2022-05-31 16:12:08.598 +0200 [debug] (coverage-util.js) Writing coverage. 2022-05-31 16:14:55.860 +0200 [info] NOTE: We recommend a coverage of 80% for apps that are to be published in the public marketplace. 2022-05-31 16:14:56.889 +0200 [debug] (logger.js) Starting FDK in node v12.22.7 on linux 2022-05-31 16:14:57.496 +0200 [debug] (sequelize.js) setting up sqilite at "/home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/.fdk/store.sqlite" 2022-05-31 16:14:58.400 +0200 [debug] (index.js) Running with args {"cmd":"run","gopts":{},"opts":{},"goptArg":{},"optArg":{},"args":[]} 2022-05-31 16:14:58.401 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 16:14:58.401 +0200 [debug] (updater.js) last check less than an day ago, not looking for updates 2022-05-31 16:14:58.594 +0200 [debug] (manifest.js) Reloading manifest with {"platform-version":"2.2","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"whitelisted-domains":["https://<%= iparam.freshdesk_domain %>.freshdesk.com"],"engines":{"node":"12.22.7","fdk":"7.1.0"}}. 2022-05-31 16:14:58.594 +0200 [debug] (manifest.js) Inferred db as features. 2022-05-31 16:14:58.595 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 16:14:58.606 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 16:14:59.576 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 16:15:02.214 +0200 [debug] (validate.js) asked to skip the following validations,  2022-05-31 16:15:02.215 +0200 [debug] (validate.js) running validator actions 2022-05-31 16:15:02.215 +0200 [debug] (validate.js) running validator app-dir 2022-05-31 16:15:02.216 +0200 [debug] (validate.js) running validator config-dir 2022-05-31 16:15:02.216 +0200 [debug] (config-dir.js) Checking to see if /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/config/ exists. 2022-05-31 16:15:02.216 +0200 [debug] (config-dir.js) Fetched the following config files iparams.json 2022-05-31 16:15:02.217 +0200 [debug] (validate.js) running validator custom-objects 2022-05-31 16:15:02.217 +0200 [debug] (validate.js) running validator event 2022-05-31 16:15:02.217 +0200 [debug] (validate.js) running validator iparam 2022-05-31 16:15:02.219 +0200 [debug] (validate.js) skipping validator lint 2022-05-31 16:15:02.220 +0200 [debug] (validate.js) running validator manifest 2022-05-31 16:15:02.220 +0200 [debug] (manifest.js) running manifest validation with type run_validation 2022-05-31 16:15:02.220 +0200 [debug] (validate.js) skipping validator manifest-dependency 2022-05-31 16:15:02.220 +0200 [debug] (validate.js) running validator oauth 2022-05-31 16:15:02.220 +0200 [debug] (validate.js) skipping validator pkgsize 2022-05-31 16:15:02.220 +0200 [debug] (validate.js) running validator schema 2022-05-31 16:15:02.220 +0200 [debug] (validate.js) running validator version-check 2022-05-31 16:15:02.223 +0200 [debug] (watcher.js) Preparing to watch the following files ./app,./config,./manifest.json 2022-05-31 16:15:02.226 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 16:15:02.226 +0200 [debug] (custom-objects.js) to force or not? false 2022-05-31 16:15:02.226 +0200 [debug] (custom-objects.js) beginning to re-sync db 2022-05-31 16:15:02.474 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/bigint-pivot.js" 2022-05-31 16:15:02.476 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field-choice.js" 2022-05-31 16:15:02.476 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field.js" 2022-05-31 16:15:02.477 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity.js" 2022-05-31 16:15:02.478 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/record.js" 2022-05-31 16:15:02.479 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/string-pivot.js" 2022-05-31 16:15:02.494 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 16:15:02.495 +0200 [debug] (custom-objects.js) updated local store with latest entity hash 2022-05-31 16:15:02.498 +0200 [info] Starting local testing server at http://*:10001/ Append 'dev=true' to your Freshdesk account URL to start testing e.g. https://domain.freshdesk.com/a/tickets/1?dev=true Quit the server with Control-C. 2022-05-31 16:15:02.498 +0200 [info] To test the installation page, visit - http://localhost:10001/custom_configs 2022-05-31 16:15:26.835 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 16:15:26.836 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 16:15:27.280 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 16:15:27.281 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 16:15:27.329 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 16:15:27.329 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 16:15:27.384 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 16:15:27.384 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 16:15:27.438 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 16:15:27.439 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 16:15:27.459 +0200 [debug] (iframe.js) Responding with contents of /template.html 2022-05-31 16:15:27.472 +0200 [debug] (iframe.js) Responding with contents of /app.js 2022-05-31 16:15:27.473 +0200 [debug] (coverage-util.js) Instrumenting /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/app/app.js 2022-05-31 16:15:27.642 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 16:15:27.642 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 16:15:27.682 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 16:15:27.683 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 16:15:27.725 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 16:15:27.725 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 16:15:27.828 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 16:15:27.828 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 16:15:27.872 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 16:15:27.872 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 16:15:28.026 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 16:15:28.026 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 16:15:30.616 +0200 [debug] (coverage-util.js) Writing coverage. 2022-05-31 16:15:38.596 +0200 [debug] (coverage-util.js) Writing coverage. 2022-05-31 16:17:48.917 +0200 [info] NOTE: We recommend a coverage of 80% for apps that are to be published in the public marketplace. 2022-05-31 16:17:50.099 +0200 [debug] (logger.js) Starting FDK in node v12.22.7 on linux 2022-05-31 16:17:50.674 +0200 [debug] (sequelize.js) setting up sqilite at "/home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/.fdk/store.sqlite" 2022-05-31 16:17:51.574 +0200 [debug] (index.js) Running with args {"cmd":"run","gopts":{},"opts":{},"goptArg":{},"optArg":{},"args":[]} 2022-05-31 16:17:51.575 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 16:17:51.575 +0200 [debug] (updater.js) last check less than an day ago, not looking for updates 2022-05-31 16:17:51.769 +0200 [debug] (manifest.js) Reloading manifest with {"platform-version":"2.2","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"whitelisted-domains":["https://<%= iparam.freshdesk_domain %>.freshdesk.com"],"engines":{"node":"12.22.7","fdk":"7.1.0"}}. 2022-05-31 16:17:51.769 +0200 [debug] (manifest.js) Inferred db as features. 2022-05-31 16:17:51.770 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 16:17:51.781 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 16:17:52.745 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 16:17:55.394 +0200 [debug] (validate.js) asked to skip the following validations,  2022-05-31 16:17:55.395 +0200 [debug] (validate.js) running validator actions 2022-05-31 16:17:55.395 +0200 [debug] (validate.js) running validator app-dir 2022-05-31 16:17:55.396 +0200 [debug] (validate.js) running validator config-dir 2022-05-31 16:17:55.396 +0200 [debug] (config-dir.js) Checking to see if /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/config/ exists. 2022-05-31 16:17:55.396 +0200 [debug] (config-dir.js) Fetched the following config files iparams.json 2022-05-31 16:17:55.397 +0200 [debug] (validate.js) running validator custom-objects 2022-05-31 16:17:55.397 +0200 [debug] (validate.js) running validator event 2022-05-31 16:17:55.397 +0200 [debug] (validate.js) running validator iparam 2022-05-31 16:17:55.399 +0200 [debug] (validate.js) skipping validator lint 2022-05-31 16:17:55.399 +0200 [debug] (validate.js) running validator manifest 2022-05-31 16:17:55.399 +0200 [debug] (manifest.js) running manifest validation with type run_validation 2022-05-31 16:17:55.400 +0200 [debug] (validate.js) skipping validator manifest-dependency 2022-05-31 16:17:55.400 +0200 [debug] (validate.js) running validator oauth 2022-05-31 16:17:55.400 +0200 [debug] (validate.js) skipping validator pkgsize 2022-05-31 16:17:55.400 +0200 [debug] (validate.js) running validator schema 2022-05-31 16:17:55.400 +0200 [debug] (validate.js) running validator version-check 2022-05-31 16:17:55.402 +0200 [debug] (watcher.js) Preparing to watch the following files ./app,./config,./manifest.json 2022-05-31 16:17:55.405 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 16:17:55.405 +0200 [debug] (custom-objects.js) to force or not? false 2022-05-31 16:17:55.406 +0200 [debug] (custom-objects.js) beginning to re-sync db 2022-05-31 16:17:55.664 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/bigint-pivot.js" 2022-05-31 16:17:55.665 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field-choice.js" 2022-05-31 16:17:55.666 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field.js" 2022-05-31 16:17:55.666 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity.js" 2022-05-31 16:17:55.667 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/record.js" 2022-05-31 16:17:55.668 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/string-pivot.js" 2022-05-31 16:17:55.683 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 16:17:55.684 +0200 [debug] (custom-objects.js) updated local store with latest entity hash 2022-05-31 16:17:55.687 +0200 [info] Starting local testing server at http://*:10001/ Append 'dev=true' to your Freshdesk account URL to start testing e.g. https://domain.freshdesk.com/a/tickets/1?dev=true Quit the server with Control-C. 2022-05-31 16:17:55.688 +0200 [info] To test the installation page, visit - http://localhost:10001/custom_configs 2022-05-31 16:18:02.204 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 16:18:02.205 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 16:18:02.569 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 16:18:02.569 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 16:18:02.609 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 16:18:02.609 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 16:18:02.715 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 16:18:02.715 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 16:18:02.754 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 16:18:02.755 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 16:18:02.792 +0200 [debug] (iframe.js) Responding with contents of /template.html 2022-05-31 16:18:02.807 +0200 [debug] (iframe.js) Responding with contents of /app.js 2022-05-31 16:18:02.807 +0200 [debug] (coverage-util.js) Instrumenting /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/app/app.js 2022-05-31 16:18:02.976 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 16:18:02.976 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 16:18:03.016 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 16:18:03.017 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 16:18:03.055 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 16:18:03.055 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 16:18:03.093 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 16:18:03.093 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 16:18:03.141 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 16:18:03.141 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 16:18:03.305 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 16:18:03.306 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 16:18:05.604 +0200 [debug] (coverage-util.js) Writing coverage. 2022-05-31 16:18:08.231 +0200 [debug] (data-pipe.js) received call for route "proxy" with action "execute" and body {"action":"execute","data":{"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get"}} 2022-05-31 16:18:08.231 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 16:18:08.234 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 16:18:08.234 +0200 [debug] (proxy.js) Substituing Templates {"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get"} with {"iparam":{"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"oauth_iparams":{}} 2022-05-31 16:18:08.236 +0200 [debug] (proxy.js) Parsed https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452 as {"protocol":"https:","slashes":true,"auth":null,"host":"virtualdropstudio.freshdesk.com","port":null,"hostname":"virtualdropstudio.freshdesk.com","hash":null,"search":null,"query":null,"pathname":"/api/v2/contacts/101026585452","path":"/api/v2/contacts/101026585452","href":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452"} 2022-05-31 16:18:08.238 +0200 [debug] (proxy.js) Checking if the request url is whitelisted in manifest 2022-05-31 16:18:08.238 +0200 [debug] (proxy.js) Matched "https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452" with https://virtualdropstudio.freshdesk.com 2022-05-31 16:18:08.238 +0200 [debug] (proxy.js) Making proxy call with options as {"headers":{"Content-Type":"application/json","Authorization":"Basic eXBsT0hra3gyejJhY1ZRS01DZGU6eA=="},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get","whitelistedDomains":["https://virtualdropstudio.freshdesk.com"],"maxAttempts":1,"retryDelay":0,"timeout":5000} 2022-05-31 16:18:08.477 +0200 [debug] (proxy.js) Proxy came back with error as null, body as "{\"active\":false,\"address\":null,\"description\":null,\"email\":\"loloic3@sfr.fr\",\"id\":1010265 2022-05-31 16:18:08.477 +0200 [debug] (proxy.js) Looking for "application/json" in application/json,application/xml,text/html,text/xml,application/jsonp,text/plain,application/javascript,application/vnd.api+json 2022-05-31 16:18:09.599 +0200 [debug] (coverage-util.js) Writing coverage. 2022-05-31 16:18:38.201 +0200 [debug] (data-pipe.js) received call for route "proxy" with action "execute" and body {"action":"execute","data":{"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get"}} 2022-05-31 16:18:38.201 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 16:18:38.202 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 16:18:38.202 +0200 [debug] (proxy.js) Substituing Templates {"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get"} with {"iparam":{"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"oauth_iparams":{}} 2022-05-31 16:18:38.203 +0200 [debug] (proxy.js) Parsed https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452 as {"protocol":"https:","slashes":true,"auth":null,"host":"virtualdropstudio.freshdesk.com","port":null,"hostname":"virtualdropstudio.freshdesk.com","hash":null,"search":null,"query":null,"pathname":"/api/v2/contacts/101026585452","path":"/api/v2/contacts/101026585452","href":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452"} 2022-05-31 16:18:38.205 +0200 [debug] (proxy.js) Checking if the request url is whitelisted in manifest 2022-05-31 16:18:38.205 +0200 [debug] (proxy.js) Matched "https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452" with https://virtualdropstudio.freshdesk.com 2022-05-31 16:18:38.205 +0200 [debug] (proxy.js) Making proxy call with options as {"headers":{"Content-Type":"application/json","Authorization":"Basic eXBsT0hra3gyejJhY1ZRS01DZGU6eA=="},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get","whitelistedDomains":["https://virtualdropstudio.freshdesk.com"],"maxAttempts":1,"retryDelay":0,"timeout":5000} 2022-05-31 16:18:38.372 +0200 [debug] (proxy.js) Proxy came back with error as null, body as "{\"active\":false,\"address\":null,\"description\":null,\"email\":\"loloic3@sfr.fr\",\"id\":1010265 2022-05-31 16:18:38.373 +0200 [debug] (proxy.js) Looking for "application/json" in application/json,application/xml,text/html,text/xml,application/jsonp,text/plain,application/javascript,application/vnd.api+json 2022-05-31 16:18:39.595 +0200 [debug] (coverage-util.js) Writing coverage. 2022-05-31 16:18:55.594 +0200 [debug] (coverage-util.js) Writing coverage. 2022-05-31 16:19:37.620 +0200 [info] NOTE: We recommend a coverage of 80% for apps that are to be published in the public marketplace. 2022-05-31 16:22:10.547 +0200 [debug] (logger.js) Starting FDK in node v12.22.7 on linux 2022-05-31 16:22:11.131 +0200 [debug] (sequelize.js) setting up sqilite at "/home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/.fdk/store.sqlite" 2022-05-31 16:22:12.029 +0200 [debug] (index.js) Running with args {"cmd":"run","gopts":{},"opts":{},"goptArg":{},"optArg":{},"args":[]} 2022-05-31 16:22:12.030 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 16:22:12.030 +0200 [debug] (updater.js) last check less than an day ago, not looking for updates 2022-05-31 16:22:12.230 +0200 [debug] (manifest.js) Reloading manifest with {"platform-version":"2.2","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"whitelisted-domains":["https://<%= iparam.freshdesk_domain %>.freshdesk.com"],"engines":{"node":"12.22.7","fdk":"7.1.0"}}. 2022-05-31 16:22:12.230 +0200 [debug] (manifest.js) Inferred db as features. 2022-05-31 16:22:12.231 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 16:22:12.241 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 16:22:13.194 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 16:22:15.827 +0200 [debug] (validate.js) asked to skip the following validations,  2022-05-31 16:22:15.827 +0200 [debug] (validate.js) running validator actions 2022-05-31 16:22:15.827 +0200 [debug] (validate.js) running validator app-dir 2022-05-31 16:22:15.828 +0200 [debug] (validate.js) running validator config-dir 2022-05-31 16:22:15.828 +0200 [debug] (config-dir.js) Checking to see if /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/config/ exists. 2022-05-31 16:22:15.828 +0200 [debug] (config-dir.js) Fetched the following config files iparams.json 2022-05-31 16:22:15.828 +0200 [debug] (validate.js) running validator custom-objects 2022-05-31 16:22:15.829 +0200 [debug] (validate.js) running validator event 2022-05-31 16:22:15.829 +0200 [debug] (validate.js) running validator iparam 2022-05-31 16:22:15.831 +0200 [debug] (validate.js) skipping validator lint 2022-05-31 16:22:15.831 +0200 [debug] (validate.js) running validator manifest 2022-05-31 16:22:15.831 +0200 [debug] (manifest.js) running manifest validation with type run_validation 2022-05-31 16:22:15.831 +0200 [debug] (validate.js) skipping validator manifest-dependency 2022-05-31 16:22:15.831 +0200 [debug] (validate.js) running validator oauth 2022-05-31 16:22:15.832 +0200 [debug] (validate.js) skipping validator pkgsize 2022-05-31 16:22:15.832 +0200 [debug] (validate.js) running validator schema 2022-05-31 16:22:15.832 +0200 [debug] (validate.js) running validator version-check 2022-05-31 16:22:15.834 +0200 [debug] (watcher.js) Preparing to watch the following files ./app,./config,./manifest.json 2022-05-31 16:22:15.837 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 16:22:15.837 +0200 [debug] (custom-objects.js) to force or not? false 2022-05-31 16:22:15.837 +0200 [debug] (custom-objects.js) beginning to re-sync db 2022-05-31 16:22:16.085 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/bigint-pivot.js" 2022-05-31 16:22:16.087 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field-choice.js" 2022-05-31 16:22:16.088 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field.js" 2022-05-31 16:22:16.088 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity.js" 2022-05-31 16:22:16.089 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/record.js" 2022-05-31 16:22:16.090 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/string-pivot.js" 2022-05-31 16:22:16.105 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 16:22:16.106 +0200 [debug] (custom-objects.js) updated local store with latest entity hash 2022-05-31 16:22:16.109 +0200 [info] Starting local testing server at http://*:10001/ Append 'dev=true' to your Freshdesk account URL to start testing e.g. https://domain.freshdesk.com/a/tickets/1?dev=true Quit the server with Control-C. 2022-05-31 16:22:16.109 +0200 [info] To test the installation page, visit - http://localhost:10001/custom_configs 2022-05-31 16:22:40.493 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 16:22:40.494 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 16:22:41.075 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 16:22:41.075 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 16:22:41.119 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 16:22:41.119 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 16:22:41.180 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 16:22:41.181 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 16:22:41.222 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 16:22:41.222 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 16:22:41.247 +0200 [debug] (iframe.js) Responding with contents of /template.html 2022-05-31 16:22:41.261 +0200 [debug] (iframe.js) Responding with contents of /app.js 2022-05-31 16:22:41.263 +0200 [debug] (coverage-util.js) Instrumenting /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/app/app.js 2022-05-31 16:22:41.527 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 16:22:41.527 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 16:22:41.571 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 16:22:41.571 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 16:22:41.619 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 16:22:41.619 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 16:22:41.661 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 16:22:41.661 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 16:22:41.702 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 16:22:41.702 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 16:22:41.918 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 16:22:41.918 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 16:22:44.611 +0200 [debug] (coverage-util.js) Writing coverage. 2022-05-31 16:22:48.598 +0200 [debug] (coverage-util.js) Writing coverage. 2022-05-31 16:23:28.269 +0200 [info] NOTE: We recommend a coverage of 80% for apps that are to be published in the public marketplace. 2022-05-31 16:23:29.085 +0200 [debug] (logger.js) Starting FDK in node v12.22.7 on linux 2022-05-31 16:23:29.657 +0200 [debug] (sequelize.js) setting up sqilite at "/home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/.fdk/store.sqlite" 2022-05-31 16:23:30.571 +0200 [debug] (index.js) Running with args {"cmd":"run","gopts":{},"opts":{},"goptArg":{},"optArg":{},"args":[]} 2022-05-31 16:23:30.572 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 16:23:30.572 +0200 [debug] (updater.js) last check less than an day ago, not looking for updates 2022-05-31 16:23:30.766 +0200 [debug] (manifest.js) Reloading manifest with {"platform-version":"2.2","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"whitelisted-domains":["https://<%= iparam.freshdesk_domain %>.freshdesk.com"],"engines":{"node":"12.22.7","fdk":"7.1.0"}}. 2022-05-31 16:23:30.767 +0200 [debug] (manifest.js) Inferred db as features. 2022-05-31 16:23:30.768 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 16:23:30.778 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 16:23:31.746 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 16:23:34.392 +0200 [debug] (validate.js) asked to skip the following validations,  2022-05-31 16:23:34.392 +0200 [debug] (validate.js) running validator actions 2022-05-31 16:23:34.393 +0200 [debug] (validate.js) running validator app-dir 2022-05-31 16:23:34.393 +0200 [debug] (validate.js) running validator config-dir 2022-05-31 16:23:34.394 +0200 [debug] (config-dir.js) Checking to see if /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/config/ exists. 2022-05-31 16:23:34.394 +0200 [debug] (config-dir.js) Fetched the following config files iparams.json 2022-05-31 16:23:34.394 +0200 [debug] (validate.js) running validator custom-objects 2022-05-31 16:23:34.394 +0200 [debug] (validate.js) running validator event 2022-05-31 16:23:34.394 +0200 [debug] (validate.js) running validator iparam 2022-05-31 16:23:34.397 +0200 [debug] (validate.js) skipping validator lint 2022-05-31 16:23:34.397 +0200 [debug] (validate.js) running validator manifest 2022-05-31 16:23:34.397 +0200 [debug] (manifest.js) running manifest validation with type run_validation 2022-05-31 16:23:34.397 +0200 [debug] (validate.js) skipping validator manifest-dependency 2022-05-31 16:23:34.397 +0200 [debug] (validate.js) running validator oauth 2022-05-31 16:23:34.397 +0200 [debug] (validate.js) skipping validator pkgsize 2022-05-31 16:23:34.397 +0200 [debug] (validate.js) running validator schema 2022-05-31 16:23:34.397 +0200 [debug] (validate.js) running validator version-check 2022-05-31 16:23:34.400 +0200 [debug] (watcher.js) Preparing to watch the following files ./app,./config,./manifest.json 2022-05-31 16:23:34.402 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 16:23:34.403 +0200 [debug] (custom-objects.js) to force or not? false 2022-05-31 16:23:34.403 +0200 [debug] (custom-objects.js) beginning to re-sync db 2022-05-31 16:23:34.792 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/bigint-pivot.js" 2022-05-31 16:23:34.794 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field-choice.js" 2022-05-31 16:23:34.795 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field.js" 2022-05-31 16:23:34.796 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity.js" 2022-05-31 16:23:34.797 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/record.js" 2022-05-31 16:23:34.798 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/string-pivot.js" 2022-05-31 16:23:34.816 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 16:23:34.817 +0200 [debug] (custom-objects.js) updated local store with latest entity hash 2022-05-31 16:23:34.820 +0200 [info] Starting local testing server at http://*:10001/ Append 'dev=true' to your Freshdesk account URL to start testing e.g. https://domain.freshdesk.com/a/tickets/1?dev=true Quit the server with Control-C. 2022-05-31 16:23:34.821 +0200 [info] To test the installation page, visit - http://localhost:10001/custom_configs 2022-05-31 16:23:41.075 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 16:23:41.076 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 16:23:41.589 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 16:23:41.590 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 16:23:41.636 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 16:23:41.636 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 16:23:41.688 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 16:23:41.688 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 16:23:41.737 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 16:23:41.737 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 16:23:41.753 +0200 [debug] (iframe.js) Responding with contents of /template.html 2022-05-31 16:23:41.771 +0200 [debug] (iframe.js) Responding with contents of /app.js 2022-05-31 16:23:41.771 +0200 [debug] (coverage-util.js) Instrumenting /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/app/app.js 2022-05-31 16:23:41.966 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 16:23:41.967 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 16:23:42.001 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 16:23:42.001 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 16:23:42.042 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 16:23:42.042 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 16:23:42.081 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 16:23:42.081 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 16:23:42.117 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 16:23:42.118 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 16:23:42.313 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 16:23:42.314 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 16:23:44.601 +0200 [debug] (coverage-util.js) Writing coverage. 2022-05-31 16:23:46.591 +0200 [debug] (coverage-util.js) Writing coverage. 2022-05-31 16:24:30.767 +0200 [info] NOTE: We recommend a coverage of 80% for apps that are to be published in the public marketplace. 2022-05-31 16:24:31.611 +0200 [debug] (logger.js) Starting FDK in node v12.22.7 on linux 2022-05-31 16:24:32.181 +0200 [debug] (sequelize.js) setting up sqilite at "/home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/.fdk/store.sqlite" 2022-05-31 16:24:33.092 +0200 [debug] (index.js) Running with args {"cmd":"run","gopts":{},"opts":{},"goptArg":{},"optArg":{},"args":[]} 2022-05-31 16:24:33.092 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 16:24:33.092 +0200 [debug] (updater.js) last check less than an day ago, not looking for updates 2022-05-31 16:24:33.287 +0200 [debug] (manifest.js) Reloading manifest with {"platform-version":"2.2","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"whitelisted-domains":["https://<%= iparam.freshdesk_domain %>.freshdesk.com"],"engines":{"node":"12.22.7","fdk":"7.1.0"}}. 2022-05-31 16:24:33.287 +0200 [debug] (manifest.js) Inferred db as features. 2022-05-31 16:24:33.288 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 16:24:33.299 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 16:24:34.255 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 16:24:36.877 +0200 [debug] (validate.js) asked to skip the following validations,  2022-05-31 16:24:36.878 +0200 [debug] (validate.js) running validator actions 2022-05-31 16:24:36.878 +0200 [debug] (validate.js) running validator app-dir 2022-05-31 16:24:36.879 +0200 [debug] (validate.js) running validator config-dir 2022-05-31 16:24:36.879 +0200 [debug] (config-dir.js) Checking to see if /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/config/ exists. 2022-05-31 16:24:36.879 +0200 [debug] (config-dir.js) Fetched the following config files iparams.json 2022-05-31 16:24:36.879 +0200 [debug] (validate.js) running validator custom-objects 2022-05-31 16:24:36.879 +0200 [debug] (validate.js) running validator event 2022-05-31 16:24:36.880 +0200 [debug] (validate.js) running validator iparam 2022-05-31 16:24:36.882 +0200 [debug] (validate.js) skipping validator lint 2022-05-31 16:24:36.882 +0200 [debug] (validate.js) running validator manifest 2022-05-31 16:24:36.882 +0200 [debug] (manifest.js) running manifest validation with type run_validation 2022-05-31 16:24:36.882 +0200 [debug] (validate.js) skipping validator manifest-dependency 2022-05-31 16:24:36.882 +0200 [debug] (validate.js) running validator oauth 2022-05-31 16:24:36.883 +0200 [debug] (validate.js) skipping validator pkgsize 2022-05-31 16:24:36.883 +0200 [debug] (validate.js) running validator schema 2022-05-31 16:24:36.883 +0200 [debug] (validate.js) running validator version-check 2022-05-31 16:24:36.885 +0200 [debug] (watcher.js) Preparing to watch the following files ./app,./config,./manifest.json 2022-05-31 16:24:36.888 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 16:24:36.889 +0200 [debug] (custom-objects.js) to force or not? false 2022-05-31 16:24:36.889 +0200 [debug] (custom-objects.js) beginning to re-sync db 2022-05-31 16:24:37.274 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/bigint-pivot.js" 2022-05-31 16:24:37.276 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field-choice.js" 2022-05-31 16:24:37.277 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field.js" 2022-05-31 16:24:37.278 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity.js" 2022-05-31 16:24:37.279 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/record.js" 2022-05-31 16:24:37.280 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/string-pivot.js" 2022-05-31 16:24:37.298 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 16:24:37.299 +0200 [debug] (custom-objects.js) updated local store with latest entity hash 2022-05-31 16:24:37.302 +0200 [info] Starting local testing server at http://*:10001/ Append 'dev=true' to your Freshdesk account URL to start testing e.g. https://domain.freshdesk.com/a/tickets/1?dev=true Quit the server with Control-C. 2022-05-31 16:24:37.302 +0200 [info] To test the installation page, visit - http://localhost:10001/custom_configs 2022-05-31 16:24:44.335 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 16:24:44.336 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 16:24:44.789 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 16:24:44.790 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 16:24:44.826 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 16:24:44.826 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 16:24:44.875 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 16:24:44.875 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 16:24:44.921 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 16:24:44.922 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 16:24:44.941 +0200 [debug] (iframe.js) Responding with contents of /template.html 2022-05-31 16:24:44.954 +0200 [debug] (iframe.js) Responding with contents of /app.js 2022-05-31 16:24:44.955 +0200 [debug] (coverage-util.js) Instrumenting /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/app/app.js 2022-05-31 16:24:45.135 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 16:24:45.135 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 16:24:45.174 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 16:24:45.174 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 16:24:45.212 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 16:24:45.212 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 16:24:45.253 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 16:24:45.253 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 16:24:45.323 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 16:24:45.323 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 16:24:45.944 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 16:24:45.945 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 16:24:47.597 +0200 [debug] (coverage-util.js) Writing coverage. 2022-05-31 16:24:51.602 +0200 [debug] (coverage-util.js) Writing coverage. 2022-05-31 16:25:21.346 +0200 [info] NOTE: We recommend a coverage of 80% for apps that are to be published in the public marketplace. 2022-05-31 16:25:23.503 +0200 [debug] (logger.js) Starting FDK in node v12.22.7 on linux 2022-05-31 16:25:24.076 +0200 [debug] (sequelize.js) setting up sqilite at "/home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/.fdk/store.sqlite" 2022-05-31 16:25:24.979 +0200 [debug] (index.js) Running with args {"cmd":"run","gopts":{},"opts":{},"goptArg":{},"optArg":{},"args":[]} 2022-05-31 16:25:24.979 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 16:25:24.979 +0200 [debug] (updater.js) last check less than an day ago, not looking for updates 2022-05-31 16:25:25.175 +0200 [debug] (manifest.js) Reloading manifest with {"platform-version":"2.2","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"whitelisted-domains":["https://<%= iparam.freshdesk_domain %>.freshdesk.com"],"engines":{"node":"12.22.7","fdk":"7.1.0"}}. 2022-05-31 16:25:25.175 +0200 [debug] (manifest.js) Inferred db as features. 2022-05-31 16:25:25.176 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 16:25:25.187 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 16:25:26.159 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 16:25:28.779 +0200 [debug] (validate.js) asked to skip the following validations,  2022-05-31 16:25:28.780 +0200 [debug] (validate.js) running validator actions 2022-05-31 16:25:28.780 +0200 [debug] (validate.js) running validator app-dir 2022-05-31 16:25:28.781 +0200 [debug] (validate.js) running validator config-dir 2022-05-31 16:25:28.781 +0200 [debug] (config-dir.js) Checking to see if /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/config/ exists. 2022-05-31 16:25:28.781 +0200 [debug] (config-dir.js) Fetched the following config files iparams.json 2022-05-31 16:25:28.781 +0200 [debug] (validate.js) running validator custom-objects 2022-05-31 16:25:28.781 +0200 [debug] (validate.js) running validator event 2022-05-31 16:25:28.782 +0200 [debug] (validate.js) running validator iparam 2022-05-31 16:25:28.784 +0200 [debug] (validate.js) skipping validator lint 2022-05-31 16:25:28.784 +0200 [debug] (validate.js) running validator manifest 2022-05-31 16:25:28.784 +0200 [debug] (manifest.js) running manifest validation with type run_validation 2022-05-31 16:25:28.784 +0200 [debug] (validate.js) skipping validator manifest-dependency 2022-05-31 16:25:28.784 +0200 [debug] (validate.js) running validator oauth 2022-05-31 16:25:28.784 +0200 [debug] (validate.js) skipping validator pkgsize 2022-05-31 16:25:28.785 +0200 [debug] (validate.js) running validator schema 2022-05-31 16:25:28.785 +0200 [debug] (validate.js) running validator version-check 2022-05-31 16:25:28.787 +0200 [debug] (watcher.js) Preparing to watch the following files ./app,./config,./manifest.json 2022-05-31 16:25:28.790 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 16:25:28.790 +0200 [debug] (custom-objects.js) to force or not? false 2022-05-31 16:25:28.790 +0200 [debug] (custom-objects.js) beginning to re-sync db 2022-05-31 16:25:29.038 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/bigint-pivot.js" 2022-05-31 16:25:29.039 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field-choice.js" 2022-05-31 16:25:29.040 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field.js" 2022-05-31 16:25:29.041 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity.js" 2022-05-31 16:25:29.041 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/record.js" 2022-05-31 16:25:29.042 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/string-pivot.js" 2022-05-31 16:25:29.057 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 16:25:29.058 +0200 [debug] (custom-objects.js) updated local store with latest entity hash 2022-05-31 16:25:29.061 +0200 [info] Starting local testing server at http://*:10001/ Append 'dev=true' to your Freshdesk account URL to start testing e.g. https://domain.freshdesk.com/a/tickets/1?dev=true Quit the server with Control-C. 2022-05-31 16:25:29.062 +0200 [info] To test the installation page, visit - http://localhost:10001/custom_configs 2022-05-31 16:26:49.530 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 16:26:49.532 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 16:26:49.976 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 16:26:49.976 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 16:26:50.016 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 16:26:50.016 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 16:26:50.074 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 16:26:50.075 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 16:26:50.123 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 16:26:50.124 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 16:26:50.148 +0200 [debug] (iframe.js) Responding with contents of /template.html 2022-05-31 16:26:50.163 +0200 [debug] (iframe.js) Responding with contents of /app.js 2022-05-31 16:26:50.163 +0200 [debug] (coverage-util.js) Instrumenting /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/app/app.js 2022-05-31 16:26:50.361 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 16:26:50.361 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 16:26:50.404 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 16:26:50.404 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 16:26:50.441 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 16:26:50.442 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 16:26:50.483 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 16:26:50.483 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 16:26:50.524 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 16:26:50.524 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 16:26:50.669 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 16:26:50.669 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 16:26:52.604 +0200 [debug] (coverage-util.js) Writing coverage. 2022-05-31 16:26:55.719 +0200 [debug] (data-pipe.js) received call for route "proxy" with action "execute" and body {"action":"execute","data":{"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/groups/","method":"get"}} 2022-05-31 16:26:55.719 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 16:26:55.722 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 16:26:55.722 +0200 [debug] (proxy.js) Substituing Templates {"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/groups/","method":"get"} with {"iparam":{"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"oauth_iparams":{}} 2022-05-31 16:26:55.724 +0200 [debug] (proxy.js) Parsed https://virtualdropstudio.freshdesk.com/api/v2/groups/ as {"protocol":"https:","slashes":true,"auth":null,"host":"virtualdropstudio.freshdesk.com","port":null,"hostname":"virtualdropstudio.freshdesk.com","hash":null,"search":null,"query":null,"pathname":"/api/v2/groups/","path":"/api/v2/groups/","href":"https://virtualdropstudio.freshdesk.com/api/v2/groups/"} 2022-05-31 16:26:55.726 +0200 [debug] (proxy.js) Checking if the request url is whitelisted in manifest 2022-05-31 16:26:55.726 +0200 [debug] (proxy.js) Matched "https://virtualdropstudio.freshdesk.com/api/v2/groups/" with https://virtualdropstudio.freshdesk.com 2022-05-31 16:26:55.727 +0200 [debug] (proxy.js) Making proxy call with options as {"headers":{"Content-Type":"application/json","Authorization":"Basic eXBsT0hra3gyejJhY1ZRS01DZGU6eA=="},"url":"https://virtualdropstudio.freshdesk.com/api/v2/groups/","method":"get","whitelistedDomains":["https://virtualdropstudio.freshdesk.com"],"maxAttempts":1,"retryDelay":0,"timeout":5000} 2022-05-31 16:26:55.955 +0200 [debug] (proxy.js) Proxy came back with error as null, body as "[{\"id\":101000251412,\"name\":\"Billing\",\"description\":\"Members of the Billing team belong to  2022-05-31 16:26:55.955 +0200 [debug] (proxy.js) Looking for "application/json" in application/json,application/xml,text/html,text/xml,application/jsonp,text/plain,application/javascript,application/vnd.api+json 2022-05-31 16:26:56.595 +0200 [debug] (coverage-util.js) Writing coverage. 2022-05-31 16:29:23.482 +0200 [info] NOTE: We recommend a coverage of 80% for apps that are to be published in the public marketplace. 2022-05-31 16:29:24.609 +0200 [debug] (logger.js) Starting FDK in node v12.22.7 on linux 2022-05-31 16:29:25.183 +0200 [debug] (sequelize.js) setting up sqilite at "/home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/.fdk/store.sqlite" 2022-05-31 16:29:25.682 +0200 [debug] (index.js) Running with args {"cmd":"run","gopts":{},"opts":{},"goptArg":{},"optArg":{},"args":[]} 2022-05-31 16:29:25.682 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 16:29:25.682 +0200 [debug] (updater.js) last check less than an day ago, not looking for updates 2022-05-31 16:29:25.879 +0200 [debug] (manifest.js) Reloading manifest with {"platform-version":"2.2","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"whitelisted-domains":["https://<%= iparam.freshdesk_domain %>.freshdesk.com"],"engines":{"node":"12.22.7","fdk":"7.1.0"}}. 2022-05-31 16:29:25.880 +0200 [debug] (manifest.js) Inferred db as features. 2022-05-31 16:29:25.881 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 16:29:25.891 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 16:29:26.848 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 16:29:29.461 +0200 [debug] (validate.js) asked to skip the following validations,  2022-05-31 16:29:29.462 +0200 [debug] (validate.js) running validator actions 2022-05-31 16:29:29.462 +0200 [debug] (validate.js) running validator app-dir 2022-05-31 16:29:29.463 +0200 [debug] (validate.js) running validator config-dir 2022-05-31 16:29:29.463 +0200 [debug] (config-dir.js) Checking to see if /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/config/ exists. 2022-05-31 16:29:29.463 +0200 [debug] (config-dir.js) Fetched the following config files iparams.json 2022-05-31 16:29:29.463 +0200 [debug] (validate.js) running validator custom-objects 2022-05-31 16:29:29.463 +0200 [debug] (validate.js) running validator event 2022-05-31 16:29:29.464 +0200 [debug] (validate.js) running validator iparam 2022-05-31 16:29:29.466 +0200 [debug] (validate.js) skipping validator lint 2022-05-31 16:29:29.466 +0200 [debug] (validate.js) running validator manifest 2022-05-31 16:29:29.466 +0200 [debug] (manifest.js) running manifest validation with type run_validation 2022-05-31 16:29:29.466 +0200 [debug] (validate.js) skipping validator manifest-dependency 2022-05-31 16:29:29.466 +0200 [debug] (validate.js) running validator oauth 2022-05-31 16:29:29.467 +0200 [debug] (validate.js) skipping validator pkgsize 2022-05-31 16:29:29.467 +0200 [debug] (validate.js) running validator schema 2022-05-31 16:29:29.467 +0200 [debug] (validate.js) running validator version-check 2022-05-31 16:29:29.469 +0200 [debug] (watcher.js) Preparing to watch the following files ./app,./config,./manifest.json 2022-05-31 16:29:29.472 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 16:29:29.473 +0200 [debug] (custom-objects.js) to force or not? false 2022-05-31 16:29:29.473 +0200 [debug] (custom-objects.js) beginning to re-sync db 2022-05-31 16:29:29.729 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/bigint-pivot.js" 2022-05-31 16:29:29.731 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field-choice.js" 2022-05-31 16:29:29.731 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field.js" 2022-05-31 16:29:29.732 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity.js" 2022-05-31 16:29:29.733 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/record.js" 2022-05-31 16:29:29.733 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/string-pivot.js" 2022-05-31 16:29:29.749 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 16:29:29.750 +0200 [debug] (custom-objects.js) updated local store with latest entity hash 2022-05-31 16:29:29.753 +0200 [info] Starting local testing server at http://*:10001/ Append 'dev=true' to your Freshdesk account URL to start testing e.g. https://domain.freshdesk.com/a/tickets/1?dev=true Quit the server with Control-C. 2022-05-31 16:29:29.753 +0200 [info] To test the installation page, visit - http://localhost:10001/custom_configs 2022-05-31 16:29:35.880 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 16:29:35.882 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 16:29:36.385 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 16:29:36.386 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 16:29:36.439 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 16:29:36.439 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 16:29:36.516 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 16:29:36.517 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 16:29:36.574 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 16:29:36.574 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 16:29:36.620 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 16:29:36.621 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 16:29:36.643 +0200 [debug] (iframe.js) Responding with contents of /template.html 2022-05-31 16:29:36.657 +0200 [debug] (iframe.js) Responding with contents of /app.js 2022-05-31 16:29:36.658 +0200 [debug] (coverage-util.js) Instrumenting /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/app/app.js 2022-05-31 16:29:36.836 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 16:29:36.836 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 16:29:36.876 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 16:29:36.876 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 16:29:36.913 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 16:29:36.913 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 16:29:36.952 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 16:29:36.953 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 16:29:36.994 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 16:29:36.994 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 16:29:39.600 +0200 [debug] (coverage-util.js) Writing coverage. 2022-05-31 16:29:41.555 +0200 [debug] (data-pipe.js) received call for route "proxy" with action "execute" and body {"action":"execute","data":{"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/groups/","method":"get"}} 2022-05-31 16:29:41.556 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 16:29:41.560 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 16:29:41.560 +0200 [debug] (proxy.js) Substituing Templates {"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/groups/","method":"get"} with {"iparam":{"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"oauth_iparams":{}} 2022-05-31 16:29:41.562 +0200 [debug] (proxy.js) Parsed https://virtualdropstudio.freshdesk.com/api/v2/groups/ as {"protocol":"https:","slashes":true,"auth":null,"host":"virtualdropstudio.freshdesk.com","port":null,"hostname":"virtualdropstudio.freshdesk.com","hash":null,"search":null,"query":null,"pathname":"/api/v2/groups/","path":"/api/v2/groups/","href":"https://virtualdropstudio.freshdesk.com/api/v2/groups/"} 2022-05-31 16:29:41.567 +0200 [debug] (proxy.js) Checking if the request url is whitelisted in manifest 2022-05-31 16:29:41.567 +0200 [debug] (proxy.js) Matched "https://virtualdropstudio.freshdesk.com/api/v2/groups/" with https://virtualdropstudio.freshdesk.com 2022-05-31 16:29:41.567 +0200 [debug] (proxy.js) Making proxy call with options as {"headers":{"Content-Type":"application/json","Authorization":"Basic eXBsT0hra3gyejJhY1ZRS01DZGU6eA=="},"url":"https://virtualdropstudio.freshdesk.com/api/v2/groups/","method":"get","whitelistedDomains":["https://virtualdropstudio.freshdesk.com"],"maxAttempts":1,"retryDelay":0,"timeout":5000} 2022-05-31 16:29:41.617 +0200 [debug] (coverage-util.js) Writing coverage. 2022-05-31 16:29:41.786 +0200 [debug] (proxy.js) Proxy came back with error as null, body as "[{\"id\":101000251412,\"name\":\"Billing\",\"description\":\"Members of the Billing team belong to  2022-05-31 16:29:41.786 +0200 [debug] (proxy.js) Looking for "application/json" in application/json,application/xml,text/html,text/xml,application/jsonp,text/plain,application/javascript,application/vnd.api+json 2022-05-31 16:29:43.605 +0200 [debug] (coverage-util.js) Writing coverage. 2022-05-31 16:30:14.543 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 16:30:14.543 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 16:30:14.563 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 16:30:32.206 +0200 [debug] (data-pipe.js) received call for route "proxy" with action "execute" and body {"action":"execute","data":{"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/groups/","method":"get"}} 2022-05-31 16:30:32.207 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 16:30:32.207 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 16:30:32.207 +0200 [debug] (proxy.js) Substituing Templates {"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/groups/","method":"get"} with {"iparam":{"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"},"oauth_iparams":{}} 2022-05-31 16:30:32.208 +0200 [debug] (proxy.js) Parsed https://virtualdropstudio.freshdesk.com/api/v2/groups/ as {"protocol":"https:","slashes":true,"auth":null,"host":"virtualdropstudio.freshdesk.com","port":null,"hostname":"virtualdropstudio.freshdesk.com","hash":null,"search":null,"query":null,"pathname":"/api/v2/groups/","path":"/api/v2/groups/","href":"https://virtualdropstudio.freshdesk.com/api/v2/groups/"} 2022-05-31 16:30:32.210 +0200 [debug] (proxy.js) Checking if the request url is whitelisted in manifest 2022-05-31 16:30:32.210 +0200 [debug] (proxy.js) Matched "https://virtualdropstudio.freshdesk.com/api/v2/groups/" with https://virtualdropstudio.freshdesk.com 2022-05-31 16:30:32.210 +0200 [debug] (proxy.js) Making proxy call with options as {"headers":{"Content-Type":"application/json","Authorization":"Basic eXBsT0hra3gyejJhY1ZRS01DZGU6eA=="},"url":"https://virtualdropstudio.freshdesk.com/api/v2/groups/","method":"get","whitelistedDomains":["https://virtualdropstudio.freshdesk.com"],"maxAttempts":1,"retryDelay":0,"timeout":5000} 2022-05-31 16:30:32.421 +0200 [debug] (proxy.js) Proxy came back with error as null, body as "[{\"id\":101000251412,\"name\":\"Billing\",\"description\":\"Members of the Billing team belong to  2022-05-31 16:30:32.422 +0200 [debug] (proxy.js) Looking for "application/json" in application/json,application/xml,text/html,text/xml,application/jsonp,text/plain,application/javascript,application/vnd.api+json 2022-05-31 16:30:33.613 +0200 [debug] (coverage-util.js) Writing coverage. 2022-05-31 16:30:50.482 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Option1\nOption2\nOption3"}}} 2022-05-31 16:30:53.555 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 16:30:59.517 +0200 [info] Please find the detailed coverage report at /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/coverage/index.html 2022-05-31 16:31:00.828 +0200 [debug] (logger.js) Starting FDK in node v12.22.7 on linux 2022-05-31 16:31:01.397 +0200 [debug] (sequelize.js) setting up sqilite at "/home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/.fdk/store.sqlite" 2022-05-31 16:31:02.306 +0200 [debug] (index.js) Running with args {"cmd":"run","gopts":{},"opts":{},"goptArg":{},"optArg":{},"args":[]} 2022-05-31 16:31:02.307 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 16:31:02.307 +0200 [debug] (updater.js) last check less than an day ago, not looking for updates 2022-05-31 16:31:02.498 +0200 [debug] (manifest.js) Reloading manifest with {"platform-version":"2.2","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"whitelisted-domains":["https://<%= iparam.freshdesk_domain %>.freshdesk.com"],"engines":{"node":"12.22.7","fdk":"7.1.0"}}. 2022-05-31 16:31:02.499 +0200 [debug] (manifest.js) Inferred db as features. 2022-05-31 16:31:02.500 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 16:31:02.510 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 16:31:03.481 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 16:31:06.102 +0200 [debug] (validate.js) asked to skip the following validations,  2022-05-31 16:31:06.102 +0200 [debug] (validate.js) running validator actions 2022-05-31 16:31:06.102 +0200 [debug] (validate.js) running validator app-dir 2022-05-31 16:31:06.103 +0200 [debug] (validate.js) running validator config-dir 2022-05-31 16:31:06.103 +0200 [debug] (config-dir.js) Checking to see if /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/config/ exists. 2022-05-31 16:31:06.103 +0200 [debug] (config-dir.js) Fetched the following config files iparams.json 2022-05-31 16:31:06.104 +0200 [debug] (validate.js) running validator custom-objects 2022-05-31 16:31:06.104 +0200 [debug] (validate.js) running validator event 2022-05-31 16:31:06.104 +0200 [debug] (validate.js) running validator iparam 2022-05-31 16:31:06.106 +0200 [debug] (validate.js) skipping validator lint 2022-05-31 16:31:06.106 +0200 [debug] (validate.js) running validator manifest 2022-05-31 16:31:06.106 +0200 [debug] (manifest.js) running manifest validation with type run_validation 2022-05-31 16:31:06.106 +0200 [debug] (validate.js) skipping validator manifest-dependency 2022-05-31 16:31:06.107 +0200 [debug] (validate.js) running validator oauth 2022-05-31 16:31:06.107 +0200 [debug] (validate.js) skipping validator pkgsize 2022-05-31 16:31:06.107 +0200 [debug] (validate.js) running validator schema 2022-05-31 16:31:06.107 +0200 [debug] (validate.js) running validator version-check 2022-05-31 16:31:06.110 +0200 [debug] (watcher.js) Preparing to watch the following files ./app,./config,./manifest.json 2022-05-31 16:31:06.114 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 16:31:06.114 +0200 [debug] (custom-objects.js) to force or not? false 2022-05-31 16:31:06.114 +0200 [debug] (custom-objects.js) beginning to re-sync db 2022-05-31 16:31:06.367 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/bigint-pivot.js" 2022-05-31 16:31:06.368 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field-choice.js" 2022-05-31 16:31:06.369 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field.js" 2022-05-31 16:31:06.370 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity.js" 2022-05-31 16:31:06.370 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/record.js" 2022-05-31 16:31:06.371 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/string-pivot.js" 2022-05-31 16:31:06.386 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 16:31:06.387 +0200 [debug] (custom-objects.js) updated local store with latest entity hash 2022-05-31 16:31:06.390 +0200 [info] Starting local testing server at http://*:10001/ Append 'dev=true' to your Freshdesk account URL to start testing e.g. https://domain.freshdesk.com/a/tickets/1?dev=true Quit the server with Control-C. 2022-05-31 16:31:06.390 +0200 [info] To test the installation page, visit - http://localhost:10001/custom_configs 2022-05-31 16:31:22.719 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 16:31:22.720 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 16:31:23.218 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 16:31:23.219 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 16:31:23.258 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 16:31:23.258 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 16:31:23.320 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 16:31:23.321 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 16:31:23.367 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 16:31:23.367 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 16:31:23.384 +0200 [debug] (iframe.js) Responding with contents of /template.html 2022-05-31 16:31:23.396 +0200 [debug] (iframe.js) Responding with contents of /app.js 2022-05-31 16:31:23.397 +0200 [debug] (coverage-util.js) Instrumenting /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/app/app.js 2022-05-31 16:31:23.608 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 16:31:23.609 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 16:31:23.649 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 16:31:23.649 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 16:31:23.688 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 16:31:23.689 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 16:31:23.728 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 16:31:23.728 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 16:31:23.766 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 16:31:23.767 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 16:31:23.934 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 16:31:23.934 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 16:31:26.613 +0200 [debug] (coverage-util.js) Writing coverage. 2022-05-31 16:31:35.016 +0200 [debug] (data-pipe.js) received call for route "proxy" with action "execute" and body {"action":"execute","data":{"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get"}} 2022-05-31 16:31:35.017 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 16:31:35.019 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 16:31:35.019 +0200 [debug] (proxy.js) Substituing Templates {"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get"} with {"iparam":{"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"},"oauth_iparams":{}} 2022-05-31 16:31:35.021 +0200 [debug] (proxy.js) Parsed https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452 as {"protocol":"https:","slashes":true,"auth":null,"host":"virtualdropstudio.freshdesk.com","port":null,"hostname":"virtualdropstudio.freshdesk.com","hash":null,"search":null,"query":null,"pathname":"/api/v2/contacts/101026585452","path":"/api/v2/contacts/101026585452","href":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452"} 2022-05-31 16:31:35.023 +0200 [debug] (proxy.js) Checking if the request url is whitelisted in manifest 2022-05-31 16:31:35.023 +0200 [debug] (proxy.js) Matched "https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452" with https://virtualdropstudio.freshdesk.com 2022-05-31 16:31:35.024 +0200 [debug] (proxy.js) Making proxy call with options as {"headers":{"Content-Type":"application/json","Authorization":"Basic eXBsT0hra3gyejJhY1ZRS01DZGU6eA=="},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get","whitelistedDomains":["https://virtualdropstudio.freshdesk.com"],"maxAttempts":1,"retryDelay":0,"timeout":5000} 2022-05-31 16:31:35.234 +0200 [debug] (proxy.js) Proxy came back with error as null, body as "{\"active\":false,\"address\":null,\"description\":null,\"email\":\"loloic3@sfr.fr\",\"id\":1010265 2022-05-31 16:31:35.234 +0200 [debug] (proxy.js) Looking for "application/json" in application/json,application/xml,text/html,text/xml,application/jsonp,text/plain,application/javascript,application/vnd.api+json 2022-05-31 16:31:36.604 +0200 [debug] (coverage-util.js) Writing coverage. 2022-05-31 16:31:48.843 +0200 [debug] (data-pipe.js) received call for route "proxy" with action "execute" and body {"action":"execute","data":{"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get"}} 2022-05-31 16:31:48.844 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 16:31:48.844 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 16:31:48.844 +0200 [debug] (proxy.js) Substituing Templates {"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get"} with {"iparam":{"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"},"oauth_iparams":{}} 2022-05-31 16:31:48.845 +0200 [debug] (proxy.js) Parsed https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452 as {"protocol":"https:","slashes":true,"auth":null,"host":"virtualdropstudio.freshdesk.com","port":null,"hostname":"virtualdropstudio.freshdesk.com","hash":null,"search":null,"query":null,"pathname":"/api/v2/contacts/101026585452","path":"/api/v2/contacts/101026585452","href":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452"} 2022-05-31 16:31:48.845 +0200 [debug] (proxy.js) Checking if the request url is whitelisted in manifest 2022-05-31 16:31:48.845 +0200 [debug] (proxy.js) Matched "https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452" with https://virtualdropstudio.freshdesk.com 2022-05-31 16:31:48.845 +0200 [debug] (proxy.js) Making proxy call with options as {"headers":{"Content-Type":"application/json","Authorization":"Basic eXBsT0hra3gyejJhY1ZRS01DZGU6eA=="},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get","whitelistedDomains":["https://virtualdropstudio.freshdesk.com"],"maxAttempts":1,"retryDelay":0,"timeout":5000} 2022-05-31 16:31:49.012 +0200 [debug] (proxy.js) Proxy came back with error as null, body as "{\"active\":false,\"address\":null,\"description\":null,\"email\":\"loloic3@sfr.fr\",\"id\":1010265 2022-05-31 16:31:49.012 +0200 [debug] (proxy.js) Looking for "application/json" in application/json,application/xml,text/html,text/xml,application/jsonp,text/plain,application/javascript,application/vnd.api+json 2022-05-31 16:31:50.591 +0200 [debug] (coverage-util.js) Writing coverage. 2022-05-31 16:32:29.578 +0200 [debug] (data-pipe.js) received call for route "proxy" with action "execute" and body {"action":"execute","data":{"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/groups/","method":"get"}} 2022-05-31 16:32:29.579 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 16:32:29.579 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 16:32:29.579 +0200 [debug] (proxy.js) Substituing Templates {"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/groups/","method":"get"} with {"iparam":{"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"},"oauth_iparams":{}} 2022-05-31 16:32:29.579 +0200 [debug] (proxy.js) Parsed https://virtualdropstudio.freshdesk.com/api/v2/groups/ as {"protocol":"https:","slashes":true,"auth":null,"host":"virtualdropstudio.freshdesk.com","port":null,"hostname":"virtualdropstudio.freshdesk.com","hash":null,"search":null,"query":null,"pathname":"/api/v2/groups/","path":"/api/v2/groups/","href":"https://virtualdropstudio.freshdesk.com/api/v2/groups/"} 2022-05-31 16:32:29.580 +0200 [debug] (proxy.js) Checking if the request url is whitelisted in manifest 2022-05-31 16:32:29.580 +0200 [debug] (proxy.js) Matched "https://virtualdropstudio.freshdesk.com/api/v2/groups/" with https://virtualdropstudio.freshdesk.com 2022-05-31 16:32:29.580 +0200 [debug] (proxy.js) Making proxy call with options as {"headers":{"Content-Type":"application/json","Authorization":"Basic eXBsT0hra3gyejJhY1ZRS01DZGU6eA=="},"url":"https://virtualdropstudio.freshdesk.com/api/v2/groups/","method":"get","whitelistedDomains":["https://virtualdropstudio.freshdesk.com"],"maxAttempts":1,"retryDelay":0,"timeout":5000} 2022-05-31 16:32:29.746 +0200 [debug] (proxy.js) Proxy came back with error as null, body as "[{\"id\":101000251412,\"name\":\"Billing\",\"description\":\"Members of the Billing team belong to  2022-05-31 16:32:29.746 +0200 [debug] (proxy.js) Looking for "application/json" in application/json,application/xml,text/html,text/xml,application/jsonp,text/plain,application/javascript,application/vnd.api+json 2022-05-31 16:32:30.605 +0200 [debug] (coverage-util.js) Writing coverage. 2022-05-31 16:32:48.358 +0200 [debug] (data-pipe.js) received call for route "proxy" with action "execute" and body {"action":"execute","data":{"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/groups/","method":"get"}} 2022-05-31 16:32:48.359 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 16:32:48.359 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 16:32:48.359 +0200 [debug] (proxy.js) Substituing Templates {"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/groups/","method":"get"} with {"iparam":{"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"},"oauth_iparams":{}} 2022-05-31 16:32:48.360 +0200 [debug] (proxy.js) Parsed https://virtualdropstudio.freshdesk.com/api/v2/groups/ as {"protocol":"https:","slashes":true,"auth":null,"host":"virtualdropstudio.freshdesk.com","port":null,"hostname":"virtualdropstudio.freshdesk.com","hash":null,"search":null,"query":null,"pathname":"/api/v2/groups/","path":"/api/v2/groups/","href":"https://virtualdropstudio.freshdesk.com/api/v2/groups/"} 2022-05-31 16:32:48.360 +0200 [debug] (proxy.js) Checking if the request url is whitelisted in manifest 2022-05-31 16:32:48.360 +0200 [debug] (proxy.js) Matched "https://virtualdropstudio.freshdesk.com/api/v2/groups/" with https://virtualdropstudio.freshdesk.com 2022-05-31 16:32:48.360 +0200 [debug] (proxy.js) Making proxy call with options as {"headers":{"Content-Type":"application/json","Authorization":"Basic eXBsT0hra3gyejJhY1ZRS01DZGU6eA=="},"url":"https://virtualdropstudio.freshdesk.com/api/v2/groups/","method":"get","whitelistedDomains":["https://virtualdropstudio.freshdesk.com"],"maxAttempts":1,"retryDelay":0,"timeout":5000} 2022-05-31 16:32:48.529 +0200 [debug] (proxy.js) Proxy came back with error as null, body as "[{\"id\":101000251412,\"name\":\"Billing\",\"description\":\"Members of the Billing team belong to  2022-05-31 16:32:48.529 +0200 [debug] (proxy.js) Looking for "application/json" in application/json,application/xml,text/html,text/xml,application/jsonp,text/plain,application/javascript,application/vnd.api+json 2022-05-31 16:32:48.553 +0200 [debug] (data-pipe.js) received call for route "proxy" with action "execute" and body {"action":"execute","data":{"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get"}} 2022-05-31 16:32:48.554 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 16:32:48.554 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 16:32:48.554 +0200 [debug] (proxy.js) Substituing Templates {"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get"} with {"iparam":{"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"},"oauth_iparams":{}} 2022-05-31 16:32:48.556 +0200 [debug] (proxy.js) Parsed https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452 as {"protocol":"https:","slashes":true,"auth":null,"host":"virtualdropstudio.freshdesk.com","port":null,"hostname":"virtualdropstudio.freshdesk.com","hash":null,"search":null,"query":null,"pathname":"/api/v2/contacts/101026585452","path":"/api/v2/contacts/101026585452","href":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452"} 2022-05-31 16:32:48.557 +0200 [debug] (proxy.js) Checking if the request url is whitelisted in manifest 2022-05-31 16:32:48.557 +0200 [debug] (proxy.js) Matched "https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452" with https://virtualdropstudio.freshdesk.com 2022-05-31 16:32:48.557 +0200 [debug] (proxy.js) Making proxy call with options as {"headers":{"Content-Type":"application/json","Authorization":"Basic eXBsT0hra3gyejJhY1ZRS01DZGU6eA=="},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get","whitelistedDomains":["https://virtualdropstudio.freshdesk.com"],"maxAttempts":1,"retryDelay":0,"timeout":5000} 2022-05-31 16:32:48.599 +0200 [debug] (coverage-util.js) Writing coverage. 2022-05-31 16:32:48.747 +0200 [debug] (proxy.js) Proxy came back with error as null, body as "{\"active\":false,\"address\":null,\"description\":null,\"email\":\"loloic3@sfr.fr\",\"id\":1010265 2022-05-31 16:32:48.747 +0200 [debug] (proxy.js) Looking for "application/json" in application/json,application/xml,text/html,text/xml,application/jsonp,text/plain,application/javascript,application/vnd.api+json 2022-05-31 16:32:50.602 +0200 [debug] (coverage-util.js) Writing coverage. 2022-05-31 16:36:21.377 +0200 [info] Please find the detailed coverage report at /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/coverage/index.html 2022-05-31 16:38:22.737 +0200 [debug] (logger.js) Starting FDK in node v12.22.7 on linux 2022-05-31 16:38:23.441 +0200 [debug] (sequelize.js) setting up sqilite at "/home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/.fdk/store.sqlite" 2022-05-31 16:38:24.364 +0200 [debug] (index.js) Running with args {"cmd":"validate","gopts":{},"opts":{},"goptArg":{},"optArg":{},"args":[]} 2022-05-31 16:38:24.365 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 16:38:24.365 +0200 [debug] (updater.js) last check less than an day ago, not looking for updates 2022-05-31 16:38:24.379 +0200 [debug] (manifest.js) Reloading manifest with {"platform-version":"2.2","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"whitelisted-domains":["https://<%= iparam.freshdesk_domain %>.freshdesk.com"],"engines":{"node":"12.22.7","fdk":"7.1.0"}}. 2022-05-31 16:38:24.379 +0200 [debug] (manifest.js) Inferred db as features. 2022-05-31 16:38:24.380 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 16:38:25.577 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 16:38:28.064 +0200 [debug] (validate.js) asked to skip the following validations,  2022-05-31 16:38:28.064 +0200 [debug] (validate.js) running validator actions 2022-05-31 16:38:28.065 +0200 [debug] (validate.js) running validator app-dir 2022-05-31 16:38:28.066 +0200 [debug] (validate.js) running validator config-dir 2022-05-31 16:38:28.066 +0200 [debug] (config-dir.js) Checking to see if /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/config/ exists. 2022-05-31 16:38:28.066 +0200 [debug] (config-dir.js) Fetched the following config files iparams.json 2022-05-31 16:38:28.066 +0200 [debug] (validate.js) running validator custom-objects 2022-05-31 16:38:28.067 +0200 [debug] (validate.js) running validator event 2022-05-31 16:38:28.067 +0200 [debug] (validate.js) running validator iparam 2022-05-31 16:38:28.069 +0200 [debug] (validate.js) running validator lint 2022-05-31 16:38:28.069 +0200 [debug] (lint.js) passed fix flag: false 2022-05-31 16:38:28.070 +0200 [debug] (lint-util.js) Running the following lints on the file app/app.js : no-caller,no-process-env,complexity,max-nested-callbacks,handle-callback-err,no-eval,no-alert,no-debugger,no-unreachable,no-unlisted-url,no-unhandled-promise,no-logging-rejections,no-non-client-request-model,no-cross-scope-assign,no-empty-function,no-unused-vars 2022-05-31 16:38:28.229 +0200 [debug] (validate.js) running validator manifest 2022-05-31 16:38:28.229 +0200 [debug] (manifest.js) running manifest validation with type pre_pkg_validation 2022-05-31 16:38:28.230 +0200 [debug] (validate.js) running validator manifest-dependency 2022-05-31 16:38:28.230 +0200 [debug] (validate.js) running validator oauth 2022-05-31 16:38:28.230 +0200 [debug] (validate.js) skipping validator pkgsize 2022-05-31 16:38:28.230 +0200 [debug] (validate.js) skipping validator schema 2022-05-31 16:38:28.230 +0200 [debug] (validate.js) running validator version-check 2022-05-31 16:38:28.233 +0200 [warn] Please ensure that the following are addressed for quick review process. 2022-05-31 16:38:28.233 +0200 [warn] [WARN] app/app.js::9: 'errorMessage' declared and assigned in different scopes. Possible asynchronous race condition. 2022-05-31 16:38:28.234 +0200 [warn] [WARN] app/app.js::14: Expected rejection to be handled. 2022-05-31 16:38:28.234 +0200 [warn] [WARN] app/app.js::38: 'errorMessage' declared and assigned in different scopes. Possible asynchronous race condition. 2022-05-31 16:38:28.235 +0200 [warn] [WARN] app/app.js::56: 'groupNames' declared and assigned in different scopes. Possible asynchronous race condition. 2022-05-31 16:38:28.235 +0200 [warn] [WARN] app/app.js::146: 'groupIds' declared and assigned in different scopes. Possible asynchronous race condition. 2022-05-31 16:38:28.235 +0200 [warn] [WARN] app/app.js::147: 'groupsInfo' declared and assigned in different scopes. Possible asynchronous race condition. 2022-05-31 16:38:28.236 +0200 [error] 2022-05-31 16:38:28.236 +0200 [info] Validation Successful 2022-05-31 16:39:40.169 +0200 [debug] (logger.js) Starting FDK in node v12.22.7 on linux 2022-05-31 16:39:40.746 +0200 [debug] (sequelize.js) setting up sqilite at "/home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/.fdk/store.sqlite" 2022-05-31 16:39:41.676 +0200 [debug] (index.js) Running with args {"cmd":"pack","gopts":{},"opts":{},"goptArg":{},"optArg":{},"args":[]} 2022-05-31 16:39:41.677 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 16:39:41.677 +0200 [debug] (updater.js) last check less than an day ago, not looking for updates 2022-05-31 16:39:42.301 +0200 [debug] (manifest.js) Reloading manifest with {"platform-version":"2.2","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"whitelisted-domains":["https://<%= iparam.freshdesk_domain %>.freshdesk.com"],"engines":{"node":"12.22.7","fdk":"7.1.0"}}. 2022-05-31 16:39:42.302 +0200 [debug] (manifest.js) Inferred db as features. 2022-05-31 16:39:42.302 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 16:39:43.296 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 16:39:45.786 +0200 [debug] (pack.js) 'pack' called with {} 2022-05-31 16:39:45.786 +0200 [debug] (validate.js) asked to skip the following validations,  2022-05-31 16:39:45.787 +0200 [debug] (validate.js) running validator actions 2022-05-31 16:39:45.787 +0200 [debug] (validate.js) running validator app-dir 2022-05-31 16:39:45.788 +0200 [debug] (validate.js) running validator config-dir 2022-05-31 16:39:45.788 +0200 [debug] (config-dir.js) Checking to see if /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/config/ exists. 2022-05-31 16:39:45.788 +0200 [debug] (config-dir.js) Fetched the following config files iparams.json 2022-05-31 16:39:45.788 +0200 [debug] (validate.js) running validator custom-objects 2022-05-31 16:39:45.788 +0200 [debug] (validate.js) running validator event 2022-05-31 16:39:45.788 +0200 [debug] (validate.js) running validator iparam 2022-05-31 16:39:45.791 +0200 [debug] (validate.js) running validator lint 2022-05-31 16:39:45.791 +0200 [debug] (lint.js) passed fix flag: undefined 2022-05-31 16:39:45.792 +0200 [debug] (lint-util.js) Running the following lints on the file app/app.js : no-caller,no-process-env,complexity,max-nested-callbacks,handle-callback-err,no-eval,no-alert,no-debugger,no-unreachable,no-unlisted-url,no-unhandled-promise,no-logging-rejections,no-non-client-request-model,no-cross-scope-assign,no-empty-function,no-unused-vars 2022-05-31 16:39:45.857 +0200 [debug] (validate.js) running validator manifest 2022-05-31 16:39:45.857 +0200 [debug] (manifest.js) running manifest validation with type pre_pkg_validation 2022-05-31 16:39:45.857 +0200 [debug] (validate.js) running validator manifest-dependency 2022-05-31 16:39:45.858 +0200 [debug] (validate.js) running validator oauth 2022-05-31 16:39:45.858 +0200 [debug] (validate.js) skipping validator pkgsize 2022-05-31 16:39:45.858 +0200 [debug] (validate.js) skipping validator schema 2022-05-31 16:39:45.858 +0200 [debug] (validate.js) running validator version-check 2022-05-31 16:39:45.861 +0200 [warn] Please ensure that the following are addressed for quick review process. 2022-05-31 16:39:45.861 +0200 [warn] [WARN] app/app.js::9: 'errorMessage' declared and assigned in different scopes. Possible asynchronous race condition. 2022-05-31 16:39:45.862 +0200 [warn] [WARN] app/app.js::14: Expected rejection to be handled. 2022-05-31 16:39:45.862 +0200 [warn] [WARN] app/app.js::38: 'errorMessage' declared and assigned in different scopes. Possible asynchronous race condition. 2022-05-31 16:39:45.862 +0200 [warn] [WARN] app/app.js::56: 'groupNames' declared and assigned in different scopes. Possible asynchronous race condition. 2022-05-31 16:39:45.863 +0200 [warn] [WARN] app/app.js::146: 'groupIds' declared and assigned in different scopes. Possible asynchronous race condition. 2022-05-31 16:39:45.863 +0200 [warn] [WARN] app/app.js::147: 'groupsInfo' declared and assigned in different scopes. Possible asynchronous race condition. 2022-05-31 16:39:45.863 +0200 [error] 2022-05-31 16:39:45.864 +0200 [info] App being packed in Node v12.22.7 using FDK 7.4.0 2022-05-31 16:39:45.872 +0200 [debug] (pack.js) Cannot find './src' directory while packing. 2022-05-31 16:39:45.873 +0200 [debug] (pack.js) Cannot find './server' directory while packing. 2022-05-31 16:39:45.875 +0200 [debug] (file-util.js) Computing digest for app/app.js,app/template.html,manifest.json. 2022-05-31 16:39:45.877 +0200 [debug] (pack.js) Packing ./app/app.js 2022-05-31 16:39:45.878 +0200 [debug] (pack.js) Packing ./app/template.html 2022-05-31 16:39:45.878 +0200 [debug] (pack.js) Packing ./config/iparams.json 2022-05-31 16:39:45.879 +0200 [debug] (pack.js) Packing ./manifest.json 2022-05-31 16:39:45.879 +0200 [debug] (pack.js) Packing ./.report.json 2022-05-31 16:39:45.879 +0200 [debug] (pack.js) Packing ./README.md 2022-05-31 16:39:45.879 +0200 [debug] (pack.js) Packing ./digest.md5 2022-05-31 16:39:45.916 +0200 [debug] (validate.js) asked to skip the following validations,  2022-05-31 16:39:45.916 +0200 [debug] (validate.js) skipping validator actions 2022-05-31 16:39:45.916 +0200 [debug] (validate.js) skipping validator app-dir 2022-05-31 16:39:45.916 +0200 [debug] (validate.js) skipping validator config-dir 2022-05-31 16:39:45.917 +0200 [debug] (validate.js) skipping validator custom-objects 2022-05-31 16:39:45.917 +0200 [debug] (validate.js) skipping validator event 2022-05-31 16:39:45.917 +0200 [debug] (validate.js) skipping validator iparam 2022-05-31 16:39:45.917 +0200 [debug] (validate.js) skipping validator lint 2022-05-31 16:39:45.917 +0200 [debug] (validate.js) skipping validator manifest 2022-05-31 16:39:45.917 +0200 [debug] (validate.js) skipping validator manifest-dependency 2022-05-31 16:39:45.917 +0200 [debug] (validate.js) skipping validator oauth 2022-05-31 16:39:45.917 +0200 [debug] (validate.js) running validator pkgsize 2022-05-31 16:39:45.917 +0200 [debug] (validate.js) skipping validator schema 2022-05-31 16:39:45.917 +0200 [debug] (validate.js) skipping validator version-check 2022-05-31 16:39:45.918 +0200 [info] App packed successfully at /dist/tickets_close_interceptor.zip 2022-05-31 16:39:45.919 +0200 [info] Upload this file to the marketplace by following the instructions at https://developer.freshdesk.com/v2/docs/freshdesk-apps/ 2022-05-31 16:39:45.919 +0200 [debug] (file-util.js) Deleting digest. 2022-05-31 16:42:30.202 +0200 [debug] (logger.js) Starting FDK in node v12.22.7 on linux 2022-05-31 16:42:30.897 +0200 [debug] (sequelize.js) setting up sqilite at "/home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/.fdk/store.sqlite" 2022-05-31 16:42:31.813 +0200 [debug] (index.js) Running with args {"cmd":"run","gopts":{},"opts":{},"goptArg":{},"optArg":{},"args":[]} 2022-05-31 16:42:31.814 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 16:42:31.814 +0200 [debug] (updater.js) last check less than an day ago, not looking for updates 2022-05-31 16:42:32.032 +0200 [debug] (manifest.js) Reloading manifest with {"platform-version":"2.2","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"whitelisted-domains":["https://<%= iparam.freshdesk_domain %>.freshdesk.com"],"engines":{"node":"12.22.7","fdk":"7.1.0"}}. 2022-05-31 16:42:32.033 +0200 [debug] (manifest.js) Inferred db as features. 2022-05-31 16:42:32.034 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 16:42:32.045 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 16:42:33.190 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 16:42:35.890 +0200 [debug] (validate.js) asked to skip the following validations,  2022-05-31 16:42:35.890 +0200 [debug] (validate.js) running validator actions 2022-05-31 16:42:35.891 +0200 [debug] (validate.js) running validator app-dir 2022-05-31 16:42:35.892 +0200 [debug] (validate.js) running validator config-dir 2022-05-31 16:42:35.892 +0200 [debug] (config-dir.js) Checking to see if /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/config/ exists. 2022-05-31 16:42:35.892 +0200 [debug] (config-dir.js) Fetched the following config files iparams.json 2022-05-31 16:42:35.892 +0200 [debug] (validate.js) running validator custom-objects 2022-05-31 16:42:35.892 +0200 [debug] (validate.js) running validator event 2022-05-31 16:42:35.893 +0200 [debug] (validate.js) running validator iparam 2022-05-31 16:42:35.895 +0200 [debug] (validate.js) skipping validator lint 2022-05-31 16:42:35.895 +0200 [debug] (validate.js) running validator manifest 2022-05-31 16:42:35.895 +0200 [debug] (manifest.js) running manifest validation with type run_validation 2022-05-31 16:42:35.895 +0200 [debug] (validate.js) skipping validator manifest-dependency 2022-05-31 16:42:35.895 +0200 [debug] (validate.js) running validator oauth 2022-05-31 16:42:35.895 +0200 [debug] (validate.js) skipping validator pkgsize 2022-05-31 16:42:35.896 +0200 [debug] (validate.js) running validator schema 2022-05-31 16:42:35.896 +0200 [debug] (validate.js) running validator version-check 2022-05-31 16:42:35.898 +0200 [debug] (watcher.js) Preparing to watch the following files ./app,./config,./manifest.json 2022-05-31 16:42:35.901 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 16:42:35.901 +0200 [debug] (custom-objects.js) to force or not? false 2022-05-31 16:42:35.901 +0200 [debug] (custom-objects.js) beginning to re-sync db 2022-05-31 16:42:36.270 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/bigint-pivot.js" 2022-05-31 16:42:36.271 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field-choice.js" 2022-05-31 16:42:36.272 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field.js" 2022-05-31 16:42:36.273 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity.js" 2022-05-31 16:42:36.273 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/record.js" 2022-05-31 16:42:36.274 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/string-pivot.js" 2022-05-31 16:42:36.289 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 16:42:36.290 +0200 [debug] (custom-objects.js) updated local store with latest entity hash 2022-05-31 16:42:36.292 +0200 [info] Starting local testing server at http://*:10001/ Append 'dev=true' to your Freshdesk account URL to start testing e.g. https://domain.freshdesk.com/a/tickets/1?dev=true Quit the server with Control-C. 2022-05-31 16:42:36.293 +0200 [info] To test the installation page, visit - http://localhost:10001/custom_configs 2022-05-31 16:42:44.087 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 16:42:44.088 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 16:42:44.439 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 16:42:44.440 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 16:42:44.480 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 16:42:44.480 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 16:42:44.540 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 16:42:44.540 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 16:42:44.587 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 16:42:44.588 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 16:42:44.610 +0200 [debug] (iframe.js) Responding with contents of /template.html 2022-05-31 16:42:44.623 +0200 [debug] (iframe.js) Responding with contents of /app.js 2022-05-31 16:42:44.624 +0200 [debug] (coverage-util.js) Instrumenting /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/app/app.js 2022-05-31 16:42:44.809 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 16:42:44.810 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 16:42:44.851 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 16:42:44.851 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 16:42:44.890 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 16:42:44.891 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 16:42:44.932 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 16:42:44.932 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 16:42:44.978 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 16:42:44.978 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 16:42:45.132 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 16:42:45.132 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 16:42:47.612 +0200 [debug] (coverage-util.js) Writing coverage. 2022-05-31 16:42:47.613 +0200 [debug] (coverage-util.js) Error Cannot read property 'start' of undefined while writing coverage report. 2022-05-31 16:42:47.614 +0200 [debug] (coverage-util.js) Flushing coverage. 2022-05-31 16:43:02.093 +0200 [debug] (data-pipe.js) received call for route "proxy" with action "execute" and body {"action":"execute","data":{"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/groups/","method":"get"}} 2022-05-31 16:43:02.094 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 16:43:02.098 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 16:43:02.098 +0200 [debug] (proxy.js) Substituing Templates {"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/groups/","method":"get"} with {"iparam":{"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"},"oauth_iparams":{}} 2022-05-31 16:43:02.099 +0200 [debug] (proxy.js) Parsed https://virtualdropstudio.freshdesk.com/api/v2/groups/ as {"protocol":"https:","slashes":true,"auth":null,"host":"virtualdropstudio.freshdesk.com","port":null,"hostname":"virtualdropstudio.freshdesk.com","hash":null,"search":null,"query":null,"pathname":"/api/v2/groups/","path":"/api/v2/groups/","href":"https://virtualdropstudio.freshdesk.com/api/v2/groups/"} 2022-05-31 16:43:02.102 +0200 [debug] (proxy.js) Checking if the request url is whitelisted in manifest 2022-05-31 16:43:02.102 +0200 [debug] (proxy.js) Matched "https://virtualdropstudio.freshdesk.com/api/v2/groups/" with https://virtualdropstudio.freshdesk.com 2022-05-31 16:43:02.102 +0200 [debug] (proxy.js) Making proxy call with options as {"headers":{"Content-Type":"application/json","Authorization":"Basic eXBsT0hra3gyejJhY1ZRS01DZGU6eA=="},"url":"https://virtualdropstudio.freshdesk.com/api/v2/groups/","method":"get","whitelistedDomains":["https://virtualdropstudio.freshdesk.com"],"maxAttempts":1,"retryDelay":0,"timeout":5000} 2022-05-31 16:43:02.294 +0200 [debug] (proxy.js) Proxy came back with error as null, body as "[{\"id\":101000251412,\"name\":\"Billing\",\"description\":\"Members of the Billing team belong to  2022-05-31 16:43:02.294 +0200 [debug] (proxy.js) Looking for "application/json" in application/json,application/xml,text/html,text/xml,application/jsonp,text/plain,application/javascript,application/vnd.api+json 2022-05-31 16:43:03.597 +0200 [debug] (coverage-util.js) Writing coverage. 2022-05-31 16:43:07.454 +0200 [debug] (data-pipe.js) received call for route "proxy" with action "execute" and body {"action":"execute","data":{"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/groups/","method":"get"}} 2022-05-31 16:43:07.454 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 16:43:07.455 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 16:43:07.455 +0200 [debug] (proxy.js) Substituing Templates {"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/groups/","method":"get"} with {"iparam":{"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"},"oauth_iparams":{}} 2022-05-31 16:43:07.456 +0200 [debug] (proxy.js) Parsed https://virtualdropstudio.freshdesk.com/api/v2/groups/ as {"protocol":"https:","slashes":true,"auth":null,"host":"virtualdropstudio.freshdesk.com","port":null,"hostname":"virtualdropstudio.freshdesk.com","hash":null,"search":null,"query":null,"pathname":"/api/v2/groups/","path":"/api/v2/groups/","href":"https://virtualdropstudio.freshdesk.com/api/v2/groups/"} 2022-05-31 16:43:07.456 +0200 [debug] (proxy.js) Checking if the request url is whitelisted in manifest 2022-05-31 16:43:07.456 +0200 [debug] (proxy.js) Matched "https://virtualdropstudio.freshdesk.com/api/v2/groups/" with https://virtualdropstudio.freshdesk.com 2022-05-31 16:43:07.456 +0200 [debug] (proxy.js) Making proxy call with options as {"headers":{"Content-Type":"application/json","Authorization":"Basic eXBsT0hra3gyejJhY1ZRS01DZGU6eA=="},"url":"https://virtualdropstudio.freshdesk.com/api/v2/groups/","method":"get","whitelistedDomains":["https://virtualdropstudio.freshdesk.com"],"maxAttempts":1,"retryDelay":0,"timeout":5000} 2022-05-31 16:43:07.601 +0200 [debug] (coverage-util.js) Writing coverage. 2022-05-31 16:43:07.631 +0200 [debug] (proxy.js) Proxy came back with error as null, body as "[{\"id\":101000251412,\"name\":\"Billing\",\"description\":\"Members of the Billing team belong to  2022-05-31 16:43:07.631 +0200 [debug] (proxy.js) Looking for "application/json" in application/json,application/xml,text/html,text/xml,application/jsonp,text/plain,application/javascript,application/vnd.api+json 2022-05-31 16:43:07.652 +0200 [debug] (data-pipe.js) received call for route "proxy" with action "execute" and body {"action":"execute","data":{"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get"}} 2022-05-31 16:43:07.653 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 16:43:07.654 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 16:43:07.654 +0200 [debug] (proxy.js) Substituing Templates {"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get"} with {"iparam":{"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"},"oauth_iparams":{}} 2022-05-31 16:43:07.655 +0200 [debug] (proxy.js) Parsed https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452 as {"protocol":"https:","slashes":true,"auth":null,"host":"virtualdropstudio.freshdesk.com","port":null,"hostname":"virtualdropstudio.freshdesk.com","hash":null,"search":null,"query":null,"pathname":"/api/v2/contacts/101026585452","path":"/api/v2/contacts/101026585452","href":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452"} 2022-05-31 16:43:07.655 +0200 [debug] (proxy.js) Checking if the request url is whitelisted in manifest 2022-05-31 16:43:07.655 +0200 [debug] (proxy.js) Matched "https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452" with https://virtualdropstudio.freshdesk.com 2022-05-31 16:43:07.655 +0200 [debug] (proxy.js) Making proxy call with options as {"headers":{"Content-Type":"application/json","Authorization":"Basic eXBsT0hra3gyejJhY1ZRS01DZGU6eA=="},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get","whitelistedDomains":["https://virtualdropstudio.freshdesk.com"],"maxAttempts":1,"retryDelay":0,"timeout":5000} 2022-05-31 16:43:07.831 +0200 [debug] (proxy.js) Proxy came back with error as null, body as "{\"active\":false,\"address\":null,\"description\":null,\"email\":\"loloic3@sfr.fr\",\"id\":1010265 2022-05-31 16:43:07.831 +0200 [debug] (proxy.js) Looking for "application/json" in application/json,application/xml,text/html,text/xml,application/jsonp,text/plain,application/javascript,application/vnd.api+json 2022-05-31 16:43:09.606 +0200 [debug] (coverage-util.js) Writing coverage. 2022-05-31 16:43:34.081 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 16:43:34.081 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 16:43:34.107 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 16:43:36.572 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 16:43:44.051 +0200 [debug] (data-pipe.js) received call for route "proxy" with action "execute" and body {"action":"execute","data":{"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/groups/","method":"get"}} 2022-05-31 16:43:44.053 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 16:43:44.054 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 16:43:44.054 +0200 [debug] (proxy.js) Substituing Templates {"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/groups/","method":"get"} with {"iparam":{"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"},"oauth_iparams":{}} 2022-05-31 16:43:44.054 +0200 [debug] (proxy.js) Parsed https://virtualdropstudio.freshdesk.com/api/v2/groups/ as {"protocol":"https:","slashes":true,"auth":null,"host":"virtualdropstudio.freshdesk.com","port":null,"hostname":"virtualdropstudio.freshdesk.com","hash":null,"search":null,"query":null,"pathname":"/api/v2/groups/","path":"/api/v2/groups/","href":"https://virtualdropstudio.freshdesk.com/api/v2/groups/"} 2022-05-31 16:43:44.055 +0200 [debug] (proxy.js) Checking if the request url is whitelisted in manifest 2022-05-31 16:43:44.055 +0200 [debug] (proxy.js) Matched "https://virtualdropstudio.freshdesk.com/api/v2/groups/" with https://virtualdropstudio.freshdesk.com 2022-05-31 16:43:44.055 +0200 [debug] (proxy.js) Making proxy call with options as {"headers":{"Content-Type":"application/json","Authorization":"Basic eXBsT0hra3gyejJhY1ZRS01DZGU6eA=="},"url":"https://virtualdropstudio.freshdesk.com/api/v2/groups/","method":"get","whitelistedDomains":["https://virtualdropstudio.freshdesk.com"],"maxAttempts":1,"retryDelay":0,"timeout":5000} 2022-05-31 16:43:44.226 +0200 [debug] (proxy.js) Proxy came back with error as null, body as "[{\"id\":101000251412,\"name\":\"Billing\",\"description\":\"Members of the Billing team belong to  2022-05-31 16:43:44.226 +0200 [debug] (proxy.js) Looking for "application/json" in application/json,application/xml,text/html,text/xml,application/jsonp,text/plain,application/javascript,application/vnd.api+json 2022-05-31 16:43:44.234 +0200 [debug] (data-pipe.js) received call for route "proxy" with action "execute" and body {"action":"execute","data":{"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get"}} 2022-05-31 16:43:44.235 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 16:43:44.235 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 16:43:44.235 +0200 [debug] (proxy.js) Substituing Templates {"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get"} with {"iparam":{"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"},"oauth_iparams":{}} 2022-05-31 16:43:44.236 +0200 [debug] (proxy.js) Parsed https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452 as {"protocol":"https:","slashes":true,"auth":null,"host":"virtualdropstudio.freshdesk.com","port":null,"hostname":"virtualdropstudio.freshdesk.com","hash":null,"search":null,"query":null,"pathname":"/api/v2/contacts/101026585452","path":"/api/v2/contacts/101026585452","href":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452"} 2022-05-31 16:43:44.236 +0200 [debug] (proxy.js) Checking if the request url is whitelisted in manifest 2022-05-31 16:43:44.236 +0200 [debug] (proxy.js) Matched "https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452" with https://virtualdropstudio.freshdesk.com 2022-05-31 16:43:44.236 +0200 [debug] (proxy.js) Making proxy call with options as {"headers":{"Content-Type":"application/json","Authorization":"Basic eXBsT0hra3gyejJhY1ZRS01DZGU6eA=="},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get","whitelistedDomains":["https://virtualdropstudio.freshdesk.com"],"maxAttempts":1,"retryDelay":0,"timeout":5000} 2022-05-31 16:43:44.408 +0200 [debug] (proxy.js) Proxy came back with error as null, body as "{\"active\":false,\"address\":null,\"description\":null,\"email\":\"loloic3@sfr.fr\",\"id\":1010265 2022-05-31 16:43:44.408 +0200 [debug] (proxy.js) Looking for "application/json" in application/json,application/xml,text/html,text/xml,application/jsonp,text/plain,application/javascript,application/vnd.api+json 2022-05-31 16:43:45.594 +0200 [debug] (coverage-util.js) Writing coverage. 2022-05-31 16:44:25.594 +0200 [debug] (coverage-util.js) Writing coverage. 2022-05-31 16:44:25.649 +0200 [debug] (data-pipe.js) received call for route "proxy" with action "execute" and body {"action":"execute","data":{"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get"}} 2022-05-31 16:44:25.650 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 16:44:25.650 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 16:44:25.650 +0200 [debug] (proxy.js) Substituing Templates {"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get"} with {"iparam":{"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"},"oauth_iparams":{}} 2022-05-31 16:44:25.651 +0200 [debug] (proxy.js) Parsed https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452 as {"protocol":"https:","slashes":true,"auth":null,"host":"virtualdropstudio.freshdesk.com","port":null,"hostname":"virtualdropstudio.freshdesk.com","hash":null,"search":null,"query":null,"pathname":"/api/v2/contacts/101026585452","path":"/api/v2/contacts/101026585452","href":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452"} 2022-05-31 16:44:25.651 +0200 [debug] (proxy.js) Checking if the request url is whitelisted in manifest 2022-05-31 16:44:25.651 +0200 [debug] (proxy.js) Matched "https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452" with https://virtualdropstudio.freshdesk.com 2022-05-31 16:44:25.651 +0200 [debug] (proxy.js) Making proxy call with options as {"headers":{"Content-Type":"application/json","Authorization":"Basic eXBsT0hra3gyejJhY1ZRS01DZGU6eA=="},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get","whitelistedDomains":["https://virtualdropstudio.freshdesk.com"],"maxAttempts":1,"retryDelay":0,"timeout":5000} 2022-05-31 16:44:25.825 +0200 [debug] (proxy.js) Proxy came back with error as null, body as "{\"active\":false,\"address\":null,\"description\":null,\"email\":\"loloic3@sfr.fr\",\"id\":1010265 2022-05-31 16:44:25.825 +0200 [debug] (proxy.js) Looking for "application/json" in application/json,application/xml,text/html,text/xml,application/jsonp,text/plain,application/javascript,application/vnd.api+json 2022-05-31 16:44:27.600 +0200 [debug] (coverage-util.js) Writing coverage. 2022-05-31 16:45:13.338 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 16:45:13.339 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 16:45:13.763 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 16:45:13.763 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 16:45:13.811 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 16:45:13.812 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 16:45:13.862 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 16:45:13.863 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 16:45:13.906 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 16:45:13.906 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 16:45:13.924 +0200 [debug] (iframe.js) Responding with contents of /template.html 2022-05-31 16:45:13.938 +0200 [debug] (iframe.js) Responding with contents of /app.js 2022-05-31 16:45:13.938 +0200 [debug] (coverage-util.js) Instrumenting /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/app/app.js 2022-05-31 16:45:14.074 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 16:45:14.074 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 16:45:14.113 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 16:45:14.113 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 16:45:14.152 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 16:45:14.152 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 16:45:14.193 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 16:45:14.193 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 16:45:14.231 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 16:45:14.232 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 16:45:14.347 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 16:45:14.348 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 16:45:16.088 +0200 [info] NOTE: We recommend a coverage of 80% for apps that are to be published in the public marketplace. 2022-05-31 16:45:18.530 +0200 [debug] (logger.js) Starting FDK in node v12.22.7 on linux 2022-05-31 16:45:19.233 +0200 [debug] (sequelize.js) setting up sqilite at "/home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/.fdk/store.sqlite" 2022-05-31 16:45:20.217 +0200 [debug] (index.js) Running with args {"cmd":"run","gopts":{},"opts":{},"goptArg":{},"optArg":{},"args":[]} 2022-05-31 16:45:20.217 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 16:45:20.217 +0200 [debug] (updater.js) last check less than an day ago, not looking for updates 2022-05-31 16:45:20.415 +0200 [debug] (manifest.js) Reloading manifest with {"platform-version":"2.2","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"whitelisted-domains":["https://<%= iparam.freshdesk_domain %>.freshdesk.com"],"engines":{"node":"12.22.7","fdk":"7.1.0"}}. 2022-05-31 16:45:20.415 +0200 [debug] (manifest.js) Inferred db as features. 2022-05-31 16:45:20.416 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 16:45:20.427 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 16:45:21.398 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 16:45:24.070 +0200 [debug] (validate.js) asked to skip the following validations,  2022-05-31 16:45:24.071 +0200 [debug] (validate.js) running validator actions 2022-05-31 16:45:24.071 +0200 [debug] (validate.js) running validator app-dir 2022-05-31 16:45:24.073 +0200 [debug] (validate.js) running validator config-dir 2022-05-31 16:45:24.073 +0200 [debug] (config-dir.js) Checking to see if /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/config/ exists. 2022-05-31 16:45:24.073 +0200 [debug] (config-dir.js) Fetched the following config files iparams.json 2022-05-31 16:45:24.073 +0200 [debug] (validate.js) running validator custom-objects 2022-05-31 16:45:24.073 +0200 [debug] (validate.js) running validator event 2022-05-31 16:45:24.073 +0200 [debug] (validate.js) running validator iparam 2022-05-31 16:45:24.076 +0200 [debug] (validate.js) skipping validator lint 2022-05-31 16:45:24.076 +0200 [debug] (validate.js) running validator manifest 2022-05-31 16:45:24.076 +0200 [debug] (manifest.js) running manifest validation with type run_validation 2022-05-31 16:45:24.076 +0200 [debug] (validate.js) skipping validator manifest-dependency 2022-05-31 16:45:24.076 +0200 [debug] (validate.js) running validator oauth 2022-05-31 16:45:24.076 +0200 [debug] (validate.js) skipping validator pkgsize 2022-05-31 16:45:24.076 +0200 [debug] (validate.js) running validator schema 2022-05-31 16:45:24.076 +0200 [debug] (validate.js) running validator version-check 2022-05-31 16:45:24.079 +0200 [debug] (watcher.js) Preparing to watch the following files ./app,./config,./manifest.json 2022-05-31 16:45:24.082 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 16:45:24.082 +0200 [debug] (custom-objects.js) to force or not? false 2022-05-31 16:45:24.082 +0200 [debug] (custom-objects.js) beginning to re-sync db 2022-05-31 16:45:24.145 +0200 [debug] (coverage-util.js) Writing coverage. 2022-05-31 16:45:24.501 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/bigint-pivot.js" 2022-05-31 16:45:24.503 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field-choice.js" 2022-05-31 16:45:24.503 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field.js" 2022-05-31 16:45:24.504 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity.js" 2022-05-31 16:45:24.505 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/record.js" 2022-05-31 16:45:24.505 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/string-pivot.js" 2022-05-31 16:45:24.520 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 16:45:24.521 +0200 [debug] (custom-objects.js) updated local store with latest entity hash 2022-05-31 16:45:24.524 +0200 [info] Starting local testing server at http://*:10001/ Append 'dev=true' to your Freshdesk account URL to start testing e.g. https://domain.freshdesk.com/a/tickets/1?dev=true Quit the server with Control-C. 2022-05-31 16:45:24.525 +0200 [info] To test the installation page, visit - http://localhost:10001/custom_configs 2022-05-31 16:45:34.644 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 16:45:34.646 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 16:45:35.091 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 16:45:35.092 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 16:45:35.138 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 16:45:35.138 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 16:45:35.202 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 16:45:35.202 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 16:45:35.247 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 16:45:35.247 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 16:45:35.266 +0200 [debug] (iframe.js) Responding with contents of /template.html 2022-05-31 16:45:35.279 +0200 [debug] (iframe.js) Responding with contents of /app.js 2022-05-31 16:45:35.280 +0200 [debug] (coverage-util.js) Instrumenting /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/app/app.js 2022-05-31 16:45:35.441 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 16:45:35.441 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 16:45:35.485 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 16:45:35.485 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 16:45:35.527 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 16:45:35.527 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 16:45:35.604 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 16:45:35.604 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 16:45:35.648 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 16:45:35.648 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 16:45:35.829 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 16:45:35.829 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 16:45:38.600 +0200 [debug] (coverage-util.js) Writing coverage. 2022-05-31 16:45:40.057 +0200 [debug] (data-pipe.js) received call for route "proxy" with action "execute" and body {"action":"execute","data":{"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get"}} 2022-05-31 16:45:40.059 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 16:45:40.063 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 16:45:40.063 +0200 [debug] (proxy.js) Substituing Templates {"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get"} with {"iparam":{"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"},"oauth_iparams":{}} 2022-05-31 16:45:40.064 +0200 [debug] (proxy.js) Parsed https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452 as {"protocol":"https:","slashes":true,"auth":null,"host":"virtualdropstudio.freshdesk.com","port":null,"hostname":"virtualdropstudio.freshdesk.com","hash":null,"search":null,"query":null,"pathname":"/api/v2/contacts/101026585452","path":"/api/v2/contacts/101026585452","href":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452"} 2022-05-31 16:45:40.067 +0200 [debug] (proxy.js) Checking if the request url is whitelisted in manifest 2022-05-31 16:45:40.067 +0200 [debug] (proxy.js) Matched "https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452" with https://virtualdropstudio.freshdesk.com 2022-05-31 16:45:40.067 +0200 [debug] (proxy.js) Making proxy call with options as {"headers":{"Content-Type":"application/json","Authorization":"Basic eXBsT0hra3gyejJhY1ZRS01DZGU6eA=="},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get","whitelistedDomains":["https://virtualdropstudio.freshdesk.com"],"maxAttempts":1,"retryDelay":0,"timeout":5000} 2022-05-31 16:45:40.284 +0200 [debug] (proxy.js) Proxy came back with error as null, body as "{\"active\":false,\"address\":null,\"description\":null,\"email\":\"loloic3@sfr.fr\",\"id\":1010265 2022-05-31 16:45:40.284 +0200 [debug] (proxy.js) Looking for "application/json" in application/json,application/xml,text/html,text/xml,application/jsonp,text/plain,application/javascript,application/vnd.api+json 2022-05-31 16:45:40.590 +0200 [debug] (coverage-util.js) Writing coverage. 2022-05-31 16:46:07.085 +0200 [debug] (data-pipe.js) received call for route "proxy" with action "execute" and body {"action":"execute","data":{"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/groups/","method":"get"}} 2022-05-31 16:46:07.086 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 16:46:07.087 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 16:46:07.087 +0200 [debug] (proxy.js) Substituing Templates {"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/groups/","method":"get"} with {"iparam":{"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"},"oauth_iparams":{}} 2022-05-31 16:46:07.088 +0200 [debug] (proxy.js) Parsed https://virtualdropstudio.freshdesk.com/api/v2/groups/ as {"protocol":"https:","slashes":true,"auth":null,"host":"virtualdropstudio.freshdesk.com","port":null,"hostname":"virtualdropstudio.freshdesk.com","hash":null,"search":null,"query":null,"pathname":"/api/v2/groups/","path":"/api/v2/groups/","href":"https://virtualdropstudio.freshdesk.com/api/v2/groups/"} 2022-05-31 16:46:07.090 +0200 [debug] (proxy.js) Checking if the request url is whitelisted in manifest 2022-05-31 16:46:07.090 +0200 [debug] (proxy.js) Matched "https://virtualdropstudio.freshdesk.com/api/v2/groups/" with https://virtualdropstudio.freshdesk.com 2022-05-31 16:46:07.090 +0200 [debug] (proxy.js) Making proxy call with options as {"headers":{"Content-Type":"application/json","Authorization":"Basic eXBsT0hra3gyejJhY1ZRS01DZGU6eA=="},"url":"https://virtualdropstudio.freshdesk.com/api/v2/groups/","method":"get","whitelistedDomains":["https://virtualdropstudio.freshdesk.com"],"maxAttempts":1,"retryDelay":0,"timeout":5000} 2022-05-31 16:46:07.292 +0200 [debug] (proxy.js) Proxy came back with error as null, body as "[{\"id\":101000251412,\"name\":\"Billing\",\"description\":\"Members of the Billing team belong to  2022-05-31 16:46:07.293 +0200 [debug] (proxy.js) Looking for "application/json" in application/json,application/xml,text/html,text/xml,application/jsonp,text/plain,application/javascript,application/vnd.api+json 2022-05-31 16:46:07.306 +0200 [debug] (data-pipe.js) received call for route "proxy" with action "execute" and body {"action":"execute","data":{"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get"}} 2022-05-31 16:46:07.306 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 16:46:07.307 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 16:46:07.307 +0200 [debug] (proxy.js) Substituing Templates {"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get"} with {"iparam":{"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"},"oauth_iparams":{}} 2022-05-31 16:46:07.307 +0200 [debug] (proxy.js) Parsed https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452 as {"protocol":"https:","slashes":true,"auth":null,"host":"virtualdropstudio.freshdesk.com","port":null,"hostname":"virtualdropstudio.freshdesk.com","hash":null,"search":null,"query":null,"pathname":"/api/v2/contacts/101026585452","path":"/api/v2/contacts/101026585452","href":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452"} 2022-05-31 16:46:07.308 +0200 [debug] (proxy.js) Checking if the request url is whitelisted in manifest 2022-05-31 16:46:07.308 +0200 [debug] (proxy.js) Matched "https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452" with https://virtualdropstudio.freshdesk.com 2022-05-31 16:46:07.308 +0200 [debug] (proxy.js) Making proxy call with options as {"headers":{"Content-Type":"application/json","Authorization":"Basic eXBsT0hra3gyejJhY1ZRS01DZGU6eA=="},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get","whitelistedDomains":["https://virtualdropstudio.freshdesk.com"],"maxAttempts":1,"retryDelay":0,"timeout":5000} 2022-05-31 16:46:07.495 +0200 [debug] (proxy.js) Proxy came back with error as null, body as "{\"active\":false,\"address\":null,\"description\":null,\"email\":\"loloic3@sfr.fr\",\"id\":1010265 2022-05-31 16:46:07.495 +0200 [debug] (proxy.js) Looking for "application/json" in application/json,application/xml,text/html,text/xml,application/jsonp,text/plain,application/javascript,application/vnd.api+json 2022-05-31 16:46:08.601 +0200 [debug] (coverage-util.js) Writing coverage. 2022-05-31 16:47:20.605 +0200 [debug] (data-pipe.js) received call for route "proxy" with action "execute" and body {"action":"execute","data":{"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/groups/","method":"get"}} 2022-05-31 16:47:20.606 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 16:47:20.607 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 16:47:20.607 +0200 [debug] (proxy.js) Substituing Templates {"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/groups/","method":"get"} with {"iparam":{"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"},"oauth_iparams":{}} 2022-05-31 16:47:20.607 +0200 [debug] (proxy.js) Parsed https://virtualdropstudio.freshdesk.com/api/v2/groups/ as {"protocol":"https:","slashes":true,"auth":null,"host":"virtualdropstudio.freshdesk.com","port":null,"hostname":"virtualdropstudio.freshdesk.com","hash":null,"search":null,"query":null,"pathname":"/api/v2/groups/","path":"/api/v2/groups/","href":"https://virtualdropstudio.freshdesk.com/api/v2/groups/"} 2022-05-31 16:47:20.608 +0200 [debug] (proxy.js) Checking if the request url is whitelisted in manifest 2022-05-31 16:47:20.608 +0200 [debug] (proxy.js) Matched "https://virtualdropstudio.freshdesk.com/api/v2/groups/" with https://virtualdropstudio.freshdesk.com 2022-05-31 16:47:20.608 +0200 [debug] (proxy.js) Making proxy call with options as {"headers":{"Content-Type":"application/json","Authorization":"Basic eXBsT0hra3gyejJhY1ZRS01DZGU6eA=="},"url":"https://virtualdropstudio.freshdesk.com/api/v2/groups/","method":"get","whitelistedDomains":["https://virtualdropstudio.freshdesk.com"],"maxAttempts":1,"retryDelay":0,"timeout":5000} 2022-05-31 16:47:20.769 +0200 [debug] (proxy.js) Proxy came back with error as null, body as "[{\"id\":101000251412,\"name\":\"Billing\",\"description\":\"Members of the Billing team belong to  2022-05-31 16:47:20.769 +0200 [debug] (proxy.js) Looking for "application/json" in application/json,application/xml,text/html,text/xml,application/jsonp,text/plain,application/javascript,application/vnd.api+json 2022-05-31 16:47:20.784 +0200 [debug] (data-pipe.js) received call for route "proxy" with action "execute" and body {"action":"execute","data":{"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get"}} 2022-05-31 16:47:20.785 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 16:47:20.786 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 16:47:20.786 +0200 [debug] (proxy.js) Substituing Templates {"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get"} with {"iparam":{"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"},"oauth_iparams":{}} 2022-05-31 16:47:20.787 +0200 [debug] (proxy.js) Parsed https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452 as {"protocol":"https:","slashes":true,"auth":null,"host":"virtualdropstudio.freshdesk.com","port":null,"hostname":"virtualdropstudio.freshdesk.com","hash":null,"search":null,"query":null,"pathname":"/api/v2/contacts/101026585452","path":"/api/v2/contacts/101026585452","href":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452"} 2022-05-31 16:47:20.787 +0200 [debug] (proxy.js) Checking if the request url is whitelisted in manifest 2022-05-31 16:47:20.787 +0200 [debug] (proxy.js) Matched "https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452" with https://virtualdropstudio.freshdesk.com 2022-05-31 16:47:20.787 +0200 [debug] (proxy.js) Making proxy call with options as {"headers":{"Content-Type":"application/json","Authorization":"Basic eXBsT0hra3gyejJhY1ZRS01DZGU6eA=="},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get","whitelistedDomains":["https://virtualdropstudio.freshdesk.com"],"maxAttempts":1,"retryDelay":0,"timeout":5000} 2022-05-31 16:47:20.979 +0200 [debug] (proxy.js) Proxy came back with error as null, body as "{\"active\":false,\"address\":null,\"description\":null,\"email\":\"loloic3@sfr.fr\",\"id\":1010265 2022-05-31 16:47:20.980 +0200 [debug] (proxy.js) Looking for "application/json" in application/json,application/xml,text/html,text/xml,application/jsonp,text/plain,application/javascript,application/vnd.api+json 2022-05-31 16:47:22.614 +0200 [debug] (coverage-util.js) Writing coverage. 2022-05-31 16:48:03.274 +0200 [info] NOTE: We recommend a coverage of 80% for apps that are to be published in the public marketplace. 2022-05-31 16:48:05.420 +0200 [debug] (logger.js) Starting FDK in node v12.22.7 on linux 2022-05-31 16:48:05.998 +0200 [debug] (sequelize.js) setting up sqilite at "/home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/.fdk/store.sqlite" 2022-05-31 16:48:06.899 +0200 [debug] (index.js) Running with args {"cmd":"run","gopts":{},"opts":{},"goptArg":{},"optArg":{},"args":[]} 2022-05-31 16:48:06.900 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 16:48:06.900 +0200 [debug] (updater.js) last check less than an day ago, not looking for updates 2022-05-31 16:48:07.090 +0200 [debug] (manifest.js) Reloading manifest with {"platform-version":"2.2","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"whitelisted-domains":["https://<%= iparam.freshdesk_domain %>.freshdesk.com"],"engines":{"node":"12.22.7","fdk":"7.1.0"}}. 2022-05-31 16:48:07.090 +0200 [debug] (manifest.js) Inferred db as features. 2022-05-31 16:48:07.092 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 16:48:07.102 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 16:48:08.059 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 16:48:10.707 +0200 [debug] (validate.js) asked to skip the following validations,  2022-05-31 16:48:10.707 +0200 [debug] (validate.js) running validator actions 2022-05-31 16:48:10.707 +0200 [debug] (validate.js) running validator app-dir 2022-05-31 16:48:10.708 +0200 [debug] (validate.js) running validator config-dir 2022-05-31 16:48:10.708 +0200 [debug] (config-dir.js) Checking to see if /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/config/ exists. 2022-05-31 16:48:10.709 +0200 [debug] (config-dir.js) Fetched the following config files iparams.json 2022-05-31 16:48:10.709 +0200 [debug] (validate.js) running validator custom-objects 2022-05-31 16:48:10.709 +0200 [debug] (validate.js) running validator event 2022-05-31 16:48:10.709 +0200 [debug] (validate.js) running validator iparam 2022-05-31 16:48:10.711 +0200 [debug] (validate.js) skipping validator lint 2022-05-31 16:48:10.711 +0200 [debug] (validate.js) running validator manifest 2022-05-31 16:48:10.712 +0200 [debug] (manifest.js) running manifest validation with type run_validation 2022-05-31 16:48:10.712 +0200 [debug] (validate.js) skipping validator manifest-dependency 2022-05-31 16:48:10.712 +0200 [debug] (validate.js) running validator oauth 2022-05-31 16:48:10.712 +0200 [debug] (validate.js) skipping validator pkgsize 2022-05-31 16:48:10.712 +0200 [debug] (validate.js) running validator schema 2022-05-31 16:48:10.712 +0200 [debug] (validate.js) running validator version-check 2022-05-31 16:48:10.715 +0200 [debug] (watcher.js) Preparing to watch the following files ./app,./config,./manifest.json 2022-05-31 16:48:10.718 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 16:48:10.718 +0200 [debug] (custom-objects.js) to force or not? false 2022-05-31 16:48:10.718 +0200 [debug] (custom-objects.js) beginning to re-sync db 2022-05-31 16:48:10.974 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/bigint-pivot.js" 2022-05-31 16:48:10.975 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field-choice.js" 2022-05-31 16:48:10.976 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field.js" 2022-05-31 16:48:10.977 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity.js" 2022-05-31 16:48:10.977 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/record.js" 2022-05-31 16:48:10.978 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/string-pivot.js" 2022-05-31 16:48:10.993 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 16:48:10.994 +0200 [debug] (custom-objects.js) updated local store with latest entity hash 2022-05-31 16:48:10.998 +0200 [info] Starting local testing server at http://*:10001/ Append 'dev=true' to your Freshdesk account URL to start testing e.g. https://domain.freshdesk.com/a/tickets/1?dev=true Quit the server with Control-C. 2022-05-31 16:48:10.998 +0200 [info] To test the installation page, visit - http://localhost:10001/custom_configs 2022-05-31 16:48:36.256 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 16:48:36.257 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 16:48:36.771 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 16:48:36.771 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 16:48:36.814 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 16:48:36.814 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 16:48:36.865 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 16:48:36.865 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 16:48:36.918 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 16:48:36.919 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 16:48:36.947 +0200 [debug] (iframe.js) Responding with contents of /template.html 2022-05-31 16:48:36.960 +0200 [debug] (iframe.js) Responding with contents of /app.js 2022-05-31 16:48:36.962 +0200 [debug] (coverage-util.js) Instrumenting /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/app/app.js 2022-05-31 16:48:37.147 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 16:48:37.148 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 16:48:37.188 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 16:48:37.189 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 16:48:37.228 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 16:48:37.228 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 16:48:37.268 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 16:48:37.268 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 16:48:37.309 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 16:48:37.309 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 16:48:37.471 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 16:48:37.471 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 16:48:39.610 +0200 [debug] (coverage-util.js) Writing coverage. 2022-05-31 16:48:41.726 +0200 [debug] (data-pipe.js) received call for route "proxy" with action "execute" and body {"action":"execute","data":{"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/groups/","method":"get"}} 2022-05-31 16:48:41.727 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 16:48:41.731 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 16:48:41.731 +0200 [debug] (proxy.js) Substituing Templates {"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/groups/","method":"get"} with {"iparam":{"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"},"oauth_iparams":{}} 2022-05-31 16:48:41.733 +0200 [debug] (proxy.js) Parsed https://virtualdropstudio.freshdesk.com/api/v2/groups/ as {"protocol":"https:","slashes":true,"auth":null,"host":"virtualdropstudio.freshdesk.com","port":null,"hostname":"virtualdropstudio.freshdesk.com","hash":null,"search":null,"query":null,"pathname":"/api/v2/groups/","path":"/api/v2/groups/","href":"https://virtualdropstudio.freshdesk.com/api/v2/groups/"} 2022-05-31 16:48:41.736 +0200 [debug] (proxy.js) Checking if the request url is whitelisted in manifest 2022-05-31 16:48:41.736 +0200 [debug] (proxy.js) Matched "https://virtualdropstudio.freshdesk.com/api/v2/groups/" with https://virtualdropstudio.freshdesk.com 2022-05-31 16:48:41.736 +0200 [debug] (proxy.js) Making proxy call with options as {"headers":{"Content-Type":"application/json","Authorization":"Basic eXBsT0hra3gyejJhY1ZRS01DZGU6eA=="},"url":"https://virtualdropstudio.freshdesk.com/api/v2/groups/","method":"get","whitelistedDomains":["https://virtualdropstudio.freshdesk.com"],"maxAttempts":1,"retryDelay":0,"timeout":5000} 2022-05-31 16:48:41.926 +0200 [debug] (proxy.js) Proxy came back with error as null, body as "[{\"id\":101000251412,\"name\":\"Billing\",\"description\":\"Members of the Billing team belong to  2022-05-31 16:48:41.926 +0200 [debug] (proxy.js) Looking for "application/json" in application/json,application/xml,text/html,text/xml,application/jsonp,text/plain,application/javascript,application/vnd.api+json 2022-05-31 16:48:41.937 +0200 [debug] (data-pipe.js) received call for route "proxy" with action "execute" and body {"action":"execute","data":{"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get"}} 2022-05-31 16:48:41.938 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 16:48:41.938 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 16:48:41.938 +0200 [debug] (proxy.js) Substituing Templates {"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get"} with {"iparam":{"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"},"oauth_iparams":{}} 2022-05-31 16:48:41.939 +0200 [debug] (proxy.js) Parsed https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452 as {"protocol":"https:","slashes":true,"auth":null,"host":"virtualdropstudio.freshdesk.com","port":null,"hostname":"virtualdropstudio.freshdesk.com","hash":null,"search":null,"query":null,"pathname":"/api/v2/contacts/101026585452","path":"/api/v2/contacts/101026585452","href":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452"} 2022-05-31 16:48:41.939 +0200 [debug] (proxy.js) Checking if the request url is whitelisted in manifest 2022-05-31 16:48:41.939 +0200 [debug] (proxy.js) Matched "https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452" with https://virtualdropstudio.freshdesk.com 2022-05-31 16:48:41.939 +0200 [debug] (proxy.js) Making proxy call with options as {"headers":{"Content-Type":"application/json","Authorization":"Basic eXBsT0hra3gyejJhY1ZRS01DZGU6eA=="},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get","whitelistedDomains":["https://virtualdropstudio.freshdesk.com"],"maxAttempts":1,"retryDelay":0,"timeout":5000} 2022-05-31 16:48:42.081 +0200 [debug] (proxy.js) Proxy came back with error as null, body as "{\"active\":false,\"address\":null,\"description\":null,\"email\":\"loloic3@sfr.fr\",\"id\":1010265 2022-05-31 16:48:42.081 +0200 [debug] (proxy.js) Looking for "application/json" in application/json,application/xml,text/html,text/xml,application/jsonp,text/plain,application/javascript,application/vnd.api+json 2022-05-31 16:48:43.612 +0200 [debug] (coverage-util.js) Writing coverage. 2022-05-31 16:49:42.651 +0200 [info] NOTE: We recommend a coverage of 80% for apps that are to be published in the public marketplace. 2022-05-31 16:49:45.022 +0200 [debug] (logger.js) Starting FDK in node v12.22.7 on linux 2022-05-31 16:49:45.591 +0200 [debug] (sequelize.js) setting up sqilite at "/home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/.fdk/store.sqlite" 2022-05-31 16:49:46.489 +0200 [debug] (index.js) Running with args {"cmd":"run","gopts":{},"opts":{},"goptArg":{},"optArg":{},"args":[]} 2022-05-31 16:49:46.490 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 16:49:46.490 +0200 [debug] (updater.js) last check less than an day ago, not looking for updates 2022-05-31 16:49:46.682 +0200 [debug] (manifest.js) Reloading manifest with {"platform-version":"2.2","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"whitelisted-domains":["https://<%= iparam.freshdesk_domain %>.freshdesk.com"],"engines":{"node":"12.22.7","fdk":"7.1.0"}}. 2022-05-31 16:49:46.682 +0200 [debug] (manifest.js) Inferred db as features. 2022-05-31 16:49:46.683 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 16:49:46.695 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 16:49:47.661 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 16:49:50.317 +0200 [debug] (validate.js) asked to skip the following validations,  2022-05-31 16:49:50.317 +0200 [debug] (validate.js) running validator actions 2022-05-31 16:49:50.318 +0200 [debug] (validate.js) running validator app-dir 2022-05-31 16:49:50.318 +0200 [debug] (validate.js) running validator config-dir 2022-05-31 16:49:50.318 +0200 [debug] (config-dir.js) Checking to see if /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/config/ exists. 2022-05-31 16:49:50.319 +0200 [debug] (config-dir.js) Fetched the following config files iparams.json 2022-05-31 16:49:50.319 +0200 [debug] (validate.js) running validator custom-objects 2022-05-31 16:49:50.319 +0200 [debug] (validate.js) running validator event 2022-05-31 16:49:50.319 +0200 [debug] (validate.js) running validator iparam 2022-05-31 16:49:50.321 +0200 [debug] (validate.js) skipping validator lint 2022-05-31 16:49:50.321 +0200 [debug] (validate.js) running validator manifest 2022-05-31 16:49:50.322 +0200 [debug] (manifest.js) running manifest validation with type run_validation 2022-05-31 16:49:50.322 +0200 [debug] (validate.js) skipping validator manifest-dependency 2022-05-31 16:49:50.322 +0200 [debug] (validate.js) running validator oauth 2022-05-31 16:49:50.322 +0200 [debug] (validate.js) skipping validator pkgsize 2022-05-31 16:49:50.322 +0200 [debug] (validate.js) running validator schema 2022-05-31 16:49:50.322 +0200 [debug] (validate.js) running validator version-check 2022-05-31 16:49:50.324 +0200 [debug] (watcher.js) Preparing to watch the following files ./app,./config,./manifest.json 2022-05-31 16:49:50.327 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 16:49:50.327 +0200 [debug] (custom-objects.js) to force or not? false 2022-05-31 16:49:50.327 +0200 [debug] (custom-objects.js) beginning to re-sync db 2022-05-31 16:49:50.576 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/bigint-pivot.js" 2022-05-31 16:49:50.578 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field-choice.js" 2022-05-31 16:49:50.578 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field.js" 2022-05-31 16:49:50.579 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity.js" 2022-05-31 16:49:50.580 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/record.js" 2022-05-31 16:49:50.580 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/string-pivot.js" 2022-05-31 16:49:50.596 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 16:49:50.597 +0200 [debug] (custom-objects.js) updated local store with latest entity hash 2022-05-31 16:49:50.601 +0200 [info] Starting local testing server at http://*:10001/ Append 'dev=true' to your Freshdesk account URL to start testing e.g. https://domain.freshdesk.com/a/tickets/1?dev=true Quit the server with Control-C. 2022-05-31 16:49:50.602 +0200 [info] To test the installation page, visit - http://localhost:10001/custom_configs 2022-05-31 16:50:04.368 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 16:50:04.370 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 16:50:04.829 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 16:50:04.829 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 16:50:04.867 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 16:50:04.867 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 16:50:04.918 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 16:50:04.918 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 16:50:04.963 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 16:50:04.963 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 16:50:04.985 +0200 [debug] (iframe.js) Responding with contents of /template.html 2022-05-31 16:50:04.997 +0200 [debug] (iframe.js) Responding with contents of /app.js 2022-05-31 16:50:04.999 +0200 [debug] (coverage-util.js) Instrumenting /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/app/app.js 2022-05-31 16:50:05.176 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 16:50:05.177 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 16:50:05.216 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 16:50:05.217 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 16:50:05.254 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 16:50:05.255 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 16:50:05.299 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 16:50:05.299 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 16:50:05.345 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 16:50:05.345 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 16:50:05.477 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 16:50:05.478 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 16:50:07.617 +0200 [debug] (coverage-util.js) Writing coverage. 2022-05-31 16:50:08.933 +0200 [debug] (data-pipe.js) received call for route "proxy" with action "execute" and body {"action":"execute","data":{"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/groups/","method":"get"}} 2022-05-31 16:50:08.934 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 16:50:08.937 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 16:50:08.938 +0200 [debug] (proxy.js) Substituing Templates {"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/groups/","method":"get"} with {"iparam":{"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"},"oauth_iparams":{}} 2022-05-31 16:50:08.941 +0200 [debug] (proxy.js) Parsed https://virtualdropstudio.freshdesk.com/api/v2/groups/ as {"protocol":"https:","slashes":true,"auth":null,"host":"virtualdropstudio.freshdesk.com","port":null,"hostname":"virtualdropstudio.freshdesk.com","hash":null,"search":null,"query":null,"pathname":"/api/v2/groups/","path":"/api/v2/groups/","href":"https://virtualdropstudio.freshdesk.com/api/v2/groups/"} 2022-05-31 16:50:08.945 +0200 [debug] (proxy.js) Checking if the request url is whitelisted in manifest 2022-05-31 16:50:08.946 +0200 [debug] (proxy.js) Matched "https://virtualdropstudio.freshdesk.com/api/v2/groups/" with https://virtualdropstudio.freshdesk.com 2022-05-31 16:50:08.946 +0200 [debug] (proxy.js) Making proxy call with options as {"headers":{"Content-Type":"application/json","Authorization":"Basic eXBsT0hra3gyejJhY1ZRS01DZGU6eA=="},"url":"https://virtualdropstudio.freshdesk.com/api/v2/groups/","method":"get","whitelistedDomains":["https://virtualdropstudio.freshdesk.com"],"maxAttempts":1,"retryDelay":0,"timeout":5000} 2022-05-31 16:50:09.144 +0200 [debug] (proxy.js) Proxy came back with error as null, body as "[{\"id\":101000251412,\"name\":\"Billing\",\"description\":\"Members of the Billing team belong to  2022-05-31 16:50:09.144 +0200 [debug] (proxy.js) Looking for "application/json" in application/json,application/xml,text/html,text/xml,application/jsonp,text/plain,application/javascript,application/vnd.api+json 2022-05-31 16:50:09.598 +0200 [debug] (coverage-util.js) Writing coverage. 2022-05-31 16:50:19.598 +0200 [debug] (coverage-util.js) Writing coverage. 2022-05-31 16:50:19.640 +0200 [debug] (data-pipe.js) received call for route "proxy" with action "execute" and body {"action":"execute","data":{"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/groups/","method":"get"}} 2022-05-31 16:50:19.641 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 16:50:19.641 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 16:50:19.641 +0200 [debug] (proxy.js) Substituing Templates {"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/groups/","method":"get"} with {"iparam":{"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"},"oauth_iparams":{}} 2022-05-31 16:50:19.642 +0200 [debug] (proxy.js) Parsed https://virtualdropstudio.freshdesk.com/api/v2/groups/ as {"protocol":"https:","slashes":true,"auth":null,"host":"virtualdropstudio.freshdesk.com","port":null,"hostname":"virtualdropstudio.freshdesk.com","hash":null,"search":null,"query":null,"pathname":"/api/v2/groups/","path":"/api/v2/groups/","href":"https://virtualdropstudio.freshdesk.com/api/v2/groups/"} 2022-05-31 16:50:19.642 +0200 [debug] (proxy.js) Checking if the request url is whitelisted in manifest 2022-05-31 16:50:19.642 +0200 [debug] (proxy.js) Matched "https://virtualdropstudio.freshdesk.com/api/v2/groups/" with https://virtualdropstudio.freshdesk.com 2022-05-31 16:50:19.642 +0200 [debug] (proxy.js) Making proxy call with options as {"headers":{"Content-Type":"application/json","Authorization":"Basic eXBsT0hra3gyejJhY1ZRS01DZGU6eA=="},"url":"https://virtualdropstudio.freshdesk.com/api/v2/groups/","method":"get","whitelistedDomains":["https://virtualdropstudio.freshdesk.com"],"maxAttempts":1,"retryDelay":0,"timeout":5000} 2022-05-31 16:50:19.783 +0200 [debug] (proxy.js) Proxy came back with error as null, body as "[{\"id\":101000251412,\"name\":\"Billing\",\"description\":\"Members of the Billing team belong to  2022-05-31 16:50:19.784 +0200 [debug] (proxy.js) Looking for "application/json" in application/json,application/xml,text/html,text/xml,application/jsonp,text/plain,application/javascript,application/vnd.api+json 2022-05-31 16:50:19.800 +0200 [debug] (data-pipe.js) received call for route "proxy" with action "execute" and body {"action":"execute","data":{"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get"}} 2022-05-31 16:50:19.801 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 16:50:19.801 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 16:50:19.801 +0200 [debug] (proxy.js) Substituing Templates {"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get"} with {"iparam":{"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"},"oauth_iparams":{}} 2022-05-31 16:50:19.802 +0200 [debug] (proxy.js) Parsed https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452 as {"protocol":"https:","slashes":true,"auth":null,"host":"virtualdropstudio.freshdesk.com","port":null,"hostname":"virtualdropstudio.freshdesk.com","hash":null,"search":null,"query":null,"pathname":"/api/v2/contacts/101026585452","path":"/api/v2/contacts/101026585452","href":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452"} 2022-05-31 16:50:19.802 +0200 [debug] (proxy.js) Checking if the request url is whitelisted in manifest 2022-05-31 16:50:19.802 +0200 [debug] (proxy.js) Matched "https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452" with https://virtualdropstudio.freshdesk.com 2022-05-31 16:50:19.802 +0200 [debug] (proxy.js) Making proxy call with options as {"headers":{"Content-Type":"application/json","Authorization":"Basic eXBsT0hra3gyejJhY1ZRS01DZGU6eA=="},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get","whitelistedDomains":["https://virtualdropstudio.freshdesk.com"],"maxAttempts":1,"retryDelay":0,"timeout":5000} 2022-05-31 16:50:19.990 +0200 [debug] (proxy.js) Proxy came back with error as null, body as "{\"active\":false,\"address\":null,\"description\":null,\"email\":\"loloic3@sfr.fr\",\"id\":1010265 2022-05-31 16:50:19.990 +0200 [debug] (proxy.js) Looking for "application/json" in application/json,application/xml,text/html,text/xml,application/jsonp,text/plain,application/javascript,application/vnd.api+json 2022-05-31 16:50:21.600 +0200 [debug] (coverage-util.js) Writing coverage. 2022-05-31 16:51:08.242 +0200 [info] NOTE: We recommend a coverage of 80% for apps that are to be published in the public marketplace. 2022-05-31 16:51:09.365 +0200 [debug] (logger.js) Starting FDK in node v12.22.7 on linux 2022-05-31 16:51:09.938 +0200 [debug] (sequelize.js) setting up sqilite at "/home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/.fdk/store.sqlite" 2022-05-31 16:51:10.837 +0200 [debug] (index.js) Running with args {"cmd":"run","gopts":{},"opts":{},"goptArg":{},"optArg":{},"args":[]} 2022-05-31 16:51:10.838 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 16:51:10.838 +0200 [debug] (updater.js) last check less than an day ago, not looking for updates 2022-05-31 16:51:11.038 +0200 [debug] (manifest.js) Reloading manifest with {"platform-version":"2.2","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"whitelisted-domains":["https://<%= iparam.freshdesk_domain %>.freshdesk.com"],"engines":{"node":"12.22.7","fdk":"7.1.0"}}. 2022-05-31 16:51:11.039 +0200 [debug] (manifest.js) Inferred db as features. 2022-05-31 16:51:11.040 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 16:51:11.050 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 16:51:12.017 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 16:51:14.672 +0200 [debug] (validate.js) asked to skip the following validations,  2022-05-31 16:51:14.673 +0200 [debug] (validate.js) running validator actions 2022-05-31 16:51:14.673 +0200 [debug] (validate.js) running validator app-dir 2022-05-31 16:51:14.674 +0200 [debug] (validate.js) running validator config-dir 2022-05-31 16:51:14.674 +0200 [debug] (config-dir.js) Checking to see if /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/config/ exists. 2022-05-31 16:51:14.674 +0200 [debug] (config-dir.js) Fetched the following config files iparams.json 2022-05-31 16:51:14.674 +0200 [debug] (validate.js) running validator custom-objects 2022-05-31 16:51:14.674 +0200 [debug] (validate.js) running validator event 2022-05-31 16:51:14.674 +0200 [debug] (validate.js) running validator iparam 2022-05-31 16:51:14.677 +0200 [debug] (validate.js) skipping validator lint 2022-05-31 16:51:14.677 +0200 [debug] (validate.js) running validator manifest 2022-05-31 16:51:14.677 +0200 [debug] (manifest.js) running manifest validation with type run_validation 2022-05-31 16:51:14.677 +0200 [debug] (validate.js) skipping validator manifest-dependency 2022-05-31 16:51:14.677 +0200 [debug] (validate.js) running validator oauth 2022-05-31 16:51:14.677 +0200 [debug] (validate.js) skipping validator pkgsize 2022-05-31 16:51:14.677 +0200 [debug] (validate.js) running validator schema 2022-05-31 16:51:14.678 +0200 [debug] (validate.js) running validator version-check 2022-05-31 16:51:14.681 +0200 [debug] (watcher.js) Preparing to watch the following files ./app,./config,./manifest.json 2022-05-31 16:51:14.684 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 16:51:14.684 +0200 [debug] (custom-objects.js) to force or not? false 2022-05-31 16:51:14.684 +0200 [debug] (custom-objects.js) beginning to re-sync db 2022-05-31 16:51:14.920 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/bigint-pivot.js" 2022-05-31 16:51:14.921 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field-choice.js" 2022-05-31 16:51:14.922 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field.js" 2022-05-31 16:51:14.923 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity.js" 2022-05-31 16:51:14.923 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/record.js" 2022-05-31 16:51:14.924 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/string-pivot.js" 2022-05-31 16:51:14.939 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 16:51:14.940 +0200 [debug] (custom-objects.js) updated local store with latest entity hash 2022-05-31 16:51:14.943 +0200 [info] Starting local testing server at http://*:10001/ Append 'dev=true' to your Freshdesk account URL to start testing e.g. https://domain.freshdesk.com/a/tickets/1?dev=true Quit the server with Control-C. 2022-05-31 16:51:14.944 +0200 [info] To test the installation page, visit - http://localhost:10001/custom_configs 2022-05-31 16:51:21.148 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 16:51:21.149 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 16:51:21.655 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 16:51:21.655 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 16:51:21.699 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 16:51:21.700 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 16:51:21.750 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 16:51:21.751 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 16:51:21.789 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 16:51:21.789 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 16:51:21.808 +0200 [debug] (iframe.js) Responding with contents of /template.html 2022-05-31 16:51:21.825 +0200 [debug] (iframe.js) Responding with contents of /app.js 2022-05-31 16:51:21.826 +0200 [debug] (coverage-util.js) Instrumenting /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/app/app.js 2022-05-31 16:51:21.992 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 16:51:21.993 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 16:51:22.030 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 16:51:22.030 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 16:51:22.076 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 16:51:22.077 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 16:51:22.113 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 16:51:22.113 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 16:51:22.158 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 16:51:22.158 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 16:51:22.327 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 16:51:22.327 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 16:51:24.603 +0200 [debug] (coverage-util.js) Writing coverage. 2022-05-31 16:51:27.623 +0200 [debug] (data-pipe.js) received call for route "proxy" with action "execute" and body {"action":"execute","data":{"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/groups/","method":"get"}} 2022-05-31 16:51:27.623 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 16:51:27.626 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 16:51:27.626 +0200 [debug] (proxy.js) Substituing Templates {"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/groups/","method":"get"} with {"iparam":{"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"},"oauth_iparams":{}} 2022-05-31 16:51:27.627 +0200 [debug] (proxy.js) Parsed https://virtualdropstudio.freshdesk.com/api/v2/groups/ as {"protocol":"https:","slashes":true,"auth":null,"host":"virtualdropstudio.freshdesk.com","port":null,"hostname":"virtualdropstudio.freshdesk.com","hash":null,"search":null,"query":null,"pathname":"/api/v2/groups/","path":"/api/v2/groups/","href":"https://virtualdropstudio.freshdesk.com/api/v2/groups/"} 2022-05-31 16:51:27.630 +0200 [debug] (proxy.js) Checking if the request url is whitelisted in manifest 2022-05-31 16:51:27.630 +0200 [debug] (proxy.js) Matched "https://virtualdropstudio.freshdesk.com/api/v2/groups/" with https://virtualdropstudio.freshdesk.com 2022-05-31 16:51:27.630 +0200 [debug] (proxy.js) Making proxy call with options as {"headers":{"Content-Type":"application/json","Authorization":"Basic eXBsT0hra3gyejJhY1ZRS01DZGU6eA=="},"url":"https://virtualdropstudio.freshdesk.com/api/v2/groups/","method":"get","whitelistedDomains":["https://virtualdropstudio.freshdesk.com"],"maxAttempts":1,"retryDelay":0,"timeout":5000} 2022-05-31 16:51:27.811 +0200 [debug] (proxy.js) Proxy came back with error as null, body as "[{\"id\":101000251412,\"name\":\"Billing\",\"description\":\"Members of the Billing team belong to  2022-05-31 16:51:27.811 +0200 [debug] (proxy.js) Looking for "application/json" in application/json,application/xml,text/html,text/xml,application/jsonp,text/plain,application/javascript,application/vnd.api+json 2022-05-31 16:51:28.598 +0200 [debug] (coverage-util.js) Writing coverage. 2022-05-31 16:51:40.778 +0200 [debug] (data-pipe.js) received call for route "proxy" with action "execute" and body {"action":"execute","data":{"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get"}} 2022-05-31 16:51:40.779 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 16:51:40.779 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 16:51:40.779 +0200 [debug] (proxy.js) Substituing Templates {"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get"} with {"iparam":{"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"},"oauth_iparams":{}} 2022-05-31 16:51:40.780 +0200 [debug] (proxy.js) Parsed https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452 as {"protocol":"https:","slashes":true,"auth":null,"host":"virtualdropstudio.freshdesk.com","port":null,"hostname":"virtualdropstudio.freshdesk.com","hash":null,"search":null,"query":null,"pathname":"/api/v2/contacts/101026585452","path":"/api/v2/contacts/101026585452","href":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452"} 2022-05-31 16:51:40.783 +0200 [debug] (proxy.js) Checking if the request url is whitelisted in manifest 2022-05-31 16:51:40.783 +0200 [debug] (proxy.js) Matched "https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452" with https://virtualdropstudio.freshdesk.com 2022-05-31 16:51:40.783 +0200 [debug] (proxy.js) Making proxy call with options as {"headers":{"Content-Type":"application/json","Authorization":"Basic eXBsT0hra3gyejJhY1ZRS01DZGU6eA=="},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get","whitelistedDomains":["https://virtualdropstudio.freshdesk.com"],"maxAttempts":1,"retryDelay":0,"timeout":5000} 2022-05-31 16:51:40.958 +0200 [debug] (proxy.js) Proxy came back with error as null, body as "{\"active\":false,\"address\":null,\"description\":null,\"email\":\"loloic3@sfr.fr\",\"id\":1010265 2022-05-31 16:51:40.958 +0200 [debug] (proxy.js) Looking for "application/json" in application/json,application/xml,text/html,text/xml,application/jsonp,text/plain,application/javascript,application/vnd.api+json 2022-05-31 16:51:42.600 +0200 [debug] (coverage-util.js) Writing coverage. 2022-05-31 16:54:40.135 +0200 [info] NOTE: We recommend a coverage of 80% for apps that are to be published in the public marketplace. 2022-05-31 16:54:41.090 +0200 [debug] (logger.js) Starting FDK in node v12.22.7 on linux 2022-05-31 16:54:41.666 +0200 [debug] (sequelize.js) setting up sqilite at "/home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/.fdk/store.sqlite" 2022-05-31 16:54:42.570 +0200 [debug] (index.js) Running with args {"cmd":"run","gopts":{},"opts":{},"goptArg":{},"optArg":{},"args":[]} 2022-05-31 16:54:42.570 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 16:54:42.571 +0200 [debug] (updater.js) last check less than an day ago, not looking for updates 2022-05-31 16:54:42.761 +0200 [debug] (manifest.js) Reloading manifest with {"platform-version":"2.2","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"whitelisted-domains":["https://<%= iparam.freshdesk_domain %>.freshdesk.com"],"engines":{"node":"12.22.7","fdk":"7.1.0"}}. 2022-05-31 16:54:42.761 +0200 [debug] (manifest.js) Inferred db as features. 2022-05-31 16:54:42.762 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 16:54:42.772 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 16:54:43.727 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 16:54:46.382 +0200 [debug] (validate.js) asked to skip the following validations,  2022-05-31 16:54:46.382 +0200 [debug] (validate.js) running validator actions 2022-05-31 16:54:46.382 +0200 [debug] (validate.js) running validator app-dir 2022-05-31 16:54:46.383 +0200 [debug] (validate.js) running validator config-dir 2022-05-31 16:54:46.383 +0200 [debug] (config-dir.js) Checking to see if /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/config/ exists. 2022-05-31 16:54:46.383 +0200 [debug] (config-dir.js) Fetched the following config files iparams.json 2022-05-31 16:54:46.383 +0200 [debug] (validate.js) running validator custom-objects 2022-05-31 16:54:46.384 +0200 [debug] (validate.js) running validator event 2022-05-31 16:54:46.398 +0200 [debug] (validate.js) running validator iparam 2022-05-31 16:54:46.400 +0200 [debug] (validate.js) skipping validator lint 2022-05-31 16:54:46.400 +0200 [debug] (validate.js) running validator manifest 2022-05-31 16:54:46.400 +0200 [debug] (manifest.js) running manifest validation with type run_validation 2022-05-31 16:54:46.401 +0200 [debug] (validate.js) skipping validator manifest-dependency 2022-05-31 16:54:46.401 +0200 [debug] (validate.js) running validator oauth 2022-05-31 16:54:46.401 +0200 [debug] (validate.js) skipping validator pkgsize 2022-05-31 16:54:46.401 +0200 [debug] (validate.js) running validator schema 2022-05-31 16:54:46.401 +0200 [debug] (validate.js) running validator version-check 2022-05-31 16:54:46.403 +0200 [debug] (watcher.js) Preparing to watch the following files ./app,./config,./manifest.json 2022-05-31 16:54:46.406 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 16:54:46.406 +0200 [debug] (custom-objects.js) to force or not? false 2022-05-31 16:54:46.406 +0200 [debug] (custom-objects.js) beginning to re-sync db 2022-05-31 16:54:46.824 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/bigint-pivot.js" 2022-05-31 16:54:46.827 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field-choice.js" 2022-05-31 16:54:46.828 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field.js" 2022-05-31 16:54:46.829 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity.js" 2022-05-31 16:54:46.831 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/record.js" 2022-05-31 16:54:46.832 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/string-pivot.js" 2022-05-31 16:54:46.849 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 16:54:46.850 +0200 [debug] (custom-objects.js) updated local store with latest entity hash 2022-05-31 16:54:46.853 +0200 [info] Starting local testing server at http://*:10001/ Append 'dev=true' to your Freshdesk account URL to start testing e.g. https://domain.freshdesk.com/a/tickets/1?dev=true Quit the server with Control-C. 2022-05-31 16:54:46.854 +0200 [info] To test the installation page, visit - http://localhost:10001/custom_configs 2022-05-31 16:54:54.918 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 16:54:54.920 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 16:54:55.407 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 16:54:55.407 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 16:54:55.445 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 16:54:55.445 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 16:54:55.496 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 16:54:55.496 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 16:54:55.542 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 16:54:55.543 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 16:54:55.567 +0200 [debug] (iframe.js) Responding with contents of /template.html 2022-05-31 16:54:55.581 +0200 [debug] (iframe.js) Responding with contents of /app.js 2022-05-31 16:54:55.582 +0200 [debug] (coverage-util.js) Instrumenting /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/app/app.js 2022-05-31 16:54:55.769 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 16:54:55.769 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 16:54:55.826 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 16:54:55.826 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 16:54:55.866 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 16:54:55.866 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 16:54:55.907 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 16:54:55.907 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 16:54:55.954 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 16:54:55.954 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 16:54:56.114 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 16:54:56.114 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 16:54:58.599 +0200 [debug] (coverage-util.js) Writing coverage. 2022-05-31 16:55:01.000 +0200 [debug] (data-pipe.js) received call for route "proxy" with action "execute" and body {"action":"execute","data":{"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/groups/","method":"get"}} 2022-05-31 16:55:01.001 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 16:55:01.005 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 16:55:01.005 +0200 [debug] (proxy.js) Substituing Templates {"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/groups/","method":"get"} with {"iparam":{"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"},"oauth_iparams":{}} 2022-05-31 16:55:01.007 +0200 [debug] (proxy.js) Parsed https://virtualdropstudio.freshdesk.com/api/v2/groups/ as {"protocol":"https:","slashes":true,"auth":null,"host":"virtualdropstudio.freshdesk.com","port":null,"hostname":"virtualdropstudio.freshdesk.com","hash":null,"search":null,"query":null,"pathname":"/api/v2/groups/","path":"/api/v2/groups/","href":"https://virtualdropstudio.freshdesk.com/api/v2/groups/"} 2022-05-31 16:55:01.010 +0200 [debug] (proxy.js) Checking if the request url is whitelisted in manifest 2022-05-31 16:55:01.010 +0200 [debug] (proxy.js) Matched "https://virtualdropstudio.freshdesk.com/api/v2/groups/" with https://virtualdropstudio.freshdesk.com 2022-05-31 16:55:01.010 +0200 [debug] (proxy.js) Making proxy call with options as {"headers":{"Content-Type":"application/json","Authorization":"Basic eXBsT0hra3gyejJhY1ZRS01DZGU6eA=="},"url":"https://virtualdropstudio.freshdesk.com/api/v2/groups/","method":"get","whitelistedDomains":["https://virtualdropstudio.freshdesk.com"],"maxAttempts":1,"retryDelay":0,"timeout":5000} 2022-05-31 16:55:01.197 +0200 [debug] (proxy.js) Proxy came back with error as null, body as "[{\"id\":101000251412,\"name\":\"Billing\",\"description\":\"Members of the Billing team belong to  2022-05-31 16:55:01.198 +0200 [debug] (proxy.js) Looking for "application/json" in application/json,application/xml,text/html,text/xml,application/jsonp,text/plain,application/javascript,application/vnd.api+json 2022-05-31 16:55:02.593 +0200 [debug] (coverage-util.js) Writing coverage. 2022-05-31 16:55:44.458 +0200 [info] NOTE: We recommend a coverage of 80% for apps that are to be published in the public marketplace. 2022-05-31 16:55:45.389 +0200 [debug] (logger.js) Starting FDK in node v12.22.7 on linux 2022-05-31 16:55:45.974 +0200 [debug] (sequelize.js) setting up sqilite at "/home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/.fdk/store.sqlite" 2022-05-31 16:55:46.871 +0200 [debug] (index.js) Running with args {"cmd":"run","gopts":{},"opts":{},"goptArg":{},"optArg":{},"args":[]} 2022-05-31 16:55:46.872 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 16:55:46.872 +0200 [debug] (updater.js) last check less than an day ago, not looking for updates 2022-05-31 16:55:47.063 +0200 [debug] (manifest.js) Reloading manifest with {"platform-version":"2.2","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"whitelisted-domains":["https://<%= iparam.freshdesk_domain %>.freshdesk.com"],"engines":{"node":"12.22.7","fdk":"7.1.0"}}. 2022-05-31 16:55:47.063 +0200 [debug] (manifest.js) Inferred db as features. 2022-05-31 16:55:47.065 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 16:55:47.075 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 16:55:48.039 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 16:55:50.651 +0200 [debug] (validate.js) asked to skip the following validations,  2022-05-31 16:55:50.651 +0200 [debug] (validate.js) running validator actions 2022-05-31 16:55:50.651 +0200 [debug] (validate.js) running validator app-dir 2022-05-31 16:55:50.652 +0200 [debug] (validate.js) running validator config-dir 2022-05-31 16:55:50.652 +0200 [debug] (config-dir.js) Checking to see if /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/config/ exists. 2022-05-31 16:55:50.653 +0200 [debug] (config-dir.js) Fetched the following config files iparams.json 2022-05-31 16:55:50.653 +0200 [debug] (validate.js) running validator custom-objects 2022-05-31 16:55:50.653 +0200 [debug] (validate.js) running validator event 2022-05-31 16:55:50.653 +0200 [debug] (validate.js) running validator iparam 2022-05-31 16:55:50.656 +0200 [debug] (validate.js) skipping validator lint 2022-05-31 16:55:50.656 +0200 [debug] (validate.js) running validator manifest 2022-05-31 16:55:50.656 +0200 [debug] (manifest.js) running manifest validation with type run_validation 2022-05-31 16:55:50.656 +0200 [debug] (validate.js) skipping validator manifest-dependency 2022-05-31 16:55:50.656 +0200 [debug] (validate.js) running validator oauth 2022-05-31 16:55:50.656 +0200 [debug] (validate.js) skipping validator pkgsize 2022-05-31 16:55:50.656 +0200 [debug] (validate.js) running validator schema 2022-05-31 16:55:50.656 +0200 [debug] (validate.js) running validator version-check 2022-05-31 16:55:50.659 +0200 [debug] (watcher.js) Preparing to watch the following files ./app,./config,./manifest.json 2022-05-31 16:55:50.662 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 16:55:50.662 +0200 [debug] (custom-objects.js) to force or not? false 2022-05-31 16:55:50.662 +0200 [debug] (custom-objects.js) beginning to re-sync db 2022-05-31 16:55:51.057 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/bigint-pivot.js" 2022-05-31 16:55:51.059 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field-choice.js" 2022-05-31 16:55:51.059 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field.js" 2022-05-31 16:55:51.060 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity.js" 2022-05-31 16:55:51.061 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/record.js" 2022-05-31 16:55:51.061 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/string-pivot.js" 2022-05-31 16:55:51.077 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 16:55:51.078 +0200 [debug] (custom-objects.js) updated local store with latest entity hash 2022-05-31 16:55:51.081 +0200 [info] Starting local testing server at http://*:10001/ Append 'dev=true' to your Freshdesk account URL to start testing e.g. https://domain.freshdesk.com/a/tickets/1?dev=true Quit the server with Control-C. 2022-05-31 16:55:51.081 +0200 [info] To test the installation page, visit - http://localhost:10001/custom_configs 2022-05-31 16:58:53.665 +0200 [info] NOTE: We recommend a coverage of 80% for apps that are to be published in the public marketplace. 2022-05-31 16:58:54.783 +0200 [debug] (logger.js) Starting FDK in node v12.22.7 on linux 2022-05-31 16:58:55.369 +0200 [debug] (sequelize.js) setting up sqilite at "/home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/.fdk/store.sqlite" 2022-05-31 16:58:56.272 +0200 [debug] (index.js) Running with args {"cmd":"run","gopts":{},"opts":{},"goptArg":{},"optArg":{},"args":[]} 2022-05-31 16:58:56.273 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 16:58:56.273 +0200 [debug] (updater.js) last check less than an day ago, not looking for updates 2022-05-31 16:58:56.467 +0200 [debug] (manifest.js) Reloading manifest with {"platform-version":"2.2","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"whitelisted-domains":["https://<%= iparam.freshdesk_domain %>.freshdesk.com"],"engines":{"node":"12.22.7","fdk":"7.1.0"}}. 2022-05-31 16:58:56.467 +0200 [debug] (manifest.js) Inferred db as features. 2022-05-31 16:58:56.468 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 16:58:56.479 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 16:58:57.452 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 16:59:00.079 +0200 [debug] (validate.js) asked to skip the following validations,  2022-05-31 16:59:00.080 +0200 [debug] (validate.js) running validator actions 2022-05-31 16:59:00.080 +0200 [debug] (validate.js) running validator app-dir 2022-05-31 16:59:00.081 +0200 [debug] (validate.js) running validator config-dir 2022-05-31 16:59:00.081 +0200 [debug] (config-dir.js) Checking to see if /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/config/ exists. 2022-05-31 16:59:00.081 +0200 [debug] (config-dir.js) Fetched the following config files iparams.json 2022-05-31 16:59:00.081 +0200 [debug] (validate.js) running validator custom-objects 2022-05-31 16:59:00.082 +0200 [debug] (validate.js) running validator event 2022-05-31 16:59:00.082 +0200 [debug] (validate.js) running validator iparam 2022-05-31 16:59:00.084 +0200 [debug] (validate.js) skipping validator lint 2022-05-31 16:59:00.084 +0200 [debug] (validate.js) running validator manifest 2022-05-31 16:59:00.084 +0200 [debug] (manifest.js) running manifest validation with type run_validation 2022-05-31 16:59:00.084 +0200 [debug] (validate.js) skipping validator manifest-dependency 2022-05-31 16:59:00.085 +0200 [debug] (validate.js) running validator oauth 2022-05-31 16:59:00.085 +0200 [debug] (validate.js) skipping validator pkgsize 2022-05-31 16:59:00.085 +0200 [debug] (validate.js) running validator schema 2022-05-31 16:59:00.085 +0200 [debug] (validate.js) running validator version-check 2022-05-31 16:59:00.087 +0200 [debug] (watcher.js) Preparing to watch the following files ./app,./config,./manifest.json 2022-05-31 16:59:00.105 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 16:59:00.105 +0200 [debug] (custom-objects.js) to force or not? false 2022-05-31 16:59:00.105 +0200 [debug] (custom-objects.js) beginning to re-sync db 2022-05-31 16:59:00.523 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/bigint-pivot.js" 2022-05-31 16:59:00.525 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field-choice.js" 2022-05-31 16:59:00.525 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field.js" 2022-05-31 16:59:00.526 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity.js" 2022-05-31 16:59:00.527 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/record.js" 2022-05-31 16:59:00.527 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/string-pivot.js" 2022-05-31 16:59:00.543 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 16:59:00.544 +0200 [debug] (custom-objects.js) updated local store with latest entity hash 2022-05-31 16:59:00.547 +0200 [info] Starting local testing server at http://*:10001/ Append 'dev=true' to your Freshdesk account URL to start testing e.g. https://domain.freshdesk.com/a/tickets/1?dev=true Quit the server with Control-C. 2022-05-31 16:59:00.548 +0200 [info] To test the installation page, visit - http://localhost:10001/custom_configs 2022-05-31 16:59:07.422 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 16:59:07.423 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 16:59:08.032 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 16:59:08.032 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 16:59:08.082 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 16:59:08.083 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 16:59:08.140 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 16:59:08.140 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 16:59:08.187 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 16:59:08.188 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 16:59:08.204 +0200 [debug] (iframe.js) Responding with contents of /template.html 2022-05-31 16:59:08.219 +0200 [debug] (iframe.js) Responding with contents of /app.js 2022-05-31 16:59:08.219 +0200 [debug] (coverage-util.js) Instrumenting /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/app/app.js 2022-05-31 16:59:08.407 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 16:59:08.408 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 16:59:08.447 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 16:59:08.448 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 16:59:08.484 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 16:59:08.485 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 16:59:08.525 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 16:59:08.525 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 16:59:08.578 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 16:59:08.578 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 16:59:08.735 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 16:59:08.735 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 16:59:10.621 +0200 [debug] (coverage-util.js) Writing coverage. 2022-05-31 16:59:10.621 +0200 [debug] (coverage-util.js) Error Cannot read property 'start' of undefined while writing coverage report. 2022-05-31 16:59:10.622 +0200 [debug] (coverage-util.js) Flushing coverage. 2022-05-31 16:59:15.879 +0200 [debug] (data-pipe.js) received call for route "proxy" with action "execute" and body {"action":"execute","data":{"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/groups/","method":"get"}} 2022-05-31 16:59:15.880 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 16:59:15.882 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 16:59:15.883 +0200 [debug] (proxy.js) Substituing Templates {"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/groups/","method":"get"} with {"iparam":{"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"},"oauth_iparams":{}} 2022-05-31 16:59:15.884 +0200 [debug] (proxy.js) Parsed https://virtualdropstudio.freshdesk.com/api/v2/groups/ as {"protocol":"https:","slashes":true,"auth":null,"host":"virtualdropstudio.freshdesk.com","port":null,"hostname":"virtualdropstudio.freshdesk.com","hash":null,"search":null,"query":null,"pathname":"/api/v2/groups/","path":"/api/v2/groups/","href":"https://virtualdropstudio.freshdesk.com/api/v2/groups/"} 2022-05-31 16:59:15.886 +0200 [debug] (proxy.js) Checking if the request url is whitelisted in manifest 2022-05-31 16:59:15.887 +0200 [debug] (proxy.js) Matched "https://virtualdropstudio.freshdesk.com/api/v2/groups/" with https://virtualdropstudio.freshdesk.com 2022-05-31 16:59:15.887 +0200 [debug] (proxy.js) Making proxy call with options as {"headers":{"Content-Type":"application/json","Authorization":"Basic eXBsT0hra3gyejJhY1ZRS01DZGU6eA=="},"url":"https://virtualdropstudio.freshdesk.com/api/v2/groups/","method":"get","whitelistedDomains":["https://virtualdropstudio.freshdesk.com"],"maxAttempts":1,"retryDelay":0,"timeout":5000} 2022-05-31 16:59:16.116 +0200 [debug] (proxy.js) Proxy came back with error as null, body as "[{\"id\":101000251412,\"name\":\"Billing\",\"description\":\"Members of the Billing team belong to  2022-05-31 16:59:16.116 +0200 [debug] (proxy.js) Looking for "application/json" in application/json,application/xml,text/html,text/xml,application/jsonp,text/plain,application/javascript,application/vnd.api+json 2022-05-31 16:59:16.592 +0200 [debug] (coverage-util.js) Writing coverage. 2022-05-31 16:59:25.166 +0200 [debug] (data-pipe.js) received call for route "proxy" with action "execute" and body {"action":"execute","data":{"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get"}} 2022-05-31 16:59:25.167 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 16:59:25.167 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 16:59:25.167 +0200 [debug] (proxy.js) Substituing Templates {"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get"} with {"iparam":{"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"},"oauth_iparams":{}} 2022-05-31 16:59:25.168 +0200 [debug] (proxy.js) Parsed https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452 as {"protocol":"https:","slashes":true,"auth":null,"host":"virtualdropstudio.freshdesk.com","port":null,"hostname":"virtualdropstudio.freshdesk.com","hash":null,"search":null,"query":null,"pathname":"/api/v2/contacts/101026585452","path":"/api/v2/contacts/101026585452","href":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452"} 2022-05-31 16:59:25.170 +0200 [debug] (proxy.js) Checking if the request url is whitelisted in manifest 2022-05-31 16:59:25.170 +0200 [debug] (proxy.js) Matched "https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452" with https://virtualdropstudio.freshdesk.com 2022-05-31 16:59:25.171 +0200 [debug] (proxy.js) Making proxy call with options as {"headers":{"Content-Type":"application/json","Authorization":"Basic eXBsT0hra3gyejJhY1ZRS01DZGU6eA=="},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get","whitelistedDomains":["https://virtualdropstudio.freshdesk.com"],"maxAttempts":1,"retryDelay":0,"timeout":5000} 2022-05-31 16:59:25.331 +0200 [debug] (proxy.js) Proxy came back with error as null, body as "{\"active\":false,\"address\":null,\"description\":null,\"email\":\"loloic3@sfr.fr\",\"id\":1010265 2022-05-31 16:59:25.332 +0200 [debug] (proxy.js) Looking for "application/json" in application/json,application/xml,text/html,text/xml,application/jsonp,text/plain,application/javascript,application/vnd.api+json 2022-05-31 16:59:26.603 +0200 [debug] (coverage-util.js) Writing coverage. 2022-05-31 17:00:07.798 +0200 [debug] (data-pipe.js) received call for route "proxy" with action "execute" and body {"action":"execute","data":{"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get"}} 2022-05-31 17:00:07.799 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 17:00:07.799 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 17:00:07.799 +0200 [debug] (proxy.js) Substituing Templates {"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get"} with {"iparam":{"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"},"oauth_iparams":{}} 2022-05-31 17:00:07.800 +0200 [debug] (proxy.js) Parsed https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452 as {"protocol":"https:","slashes":true,"auth":null,"host":"virtualdropstudio.freshdesk.com","port":null,"hostname":"virtualdropstudio.freshdesk.com","hash":null,"search":null,"query":null,"pathname":"/api/v2/contacts/101026585452","path":"/api/v2/contacts/101026585452","href":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452"} 2022-05-31 17:00:07.800 +0200 [debug] (proxy.js) Checking if the request url is whitelisted in manifest 2022-05-31 17:00:07.800 +0200 [debug] (proxy.js) Matched "https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452" with https://virtualdropstudio.freshdesk.com 2022-05-31 17:00:07.800 +0200 [debug] (proxy.js) Making proxy call with options as {"headers":{"Content-Type":"application/json","Authorization":"Basic eXBsT0hra3gyejJhY1ZRS01DZGU6eA=="},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get","whitelistedDomains":["https://virtualdropstudio.freshdesk.com"],"maxAttempts":1,"retryDelay":0,"timeout":5000} 2022-05-31 17:00:08.017 +0200 [debug] (proxy.js) Proxy came back with error as null, body as "{\"active\":false,\"address\":null,\"description\":null,\"email\":\"loloic3@sfr.fr\",\"id\":1010265 2022-05-31 17:00:08.017 +0200 [debug] (proxy.js) Looking for "application/json" in application/json,application/xml,text/html,text/xml,application/jsonp,text/plain,application/javascript,application/vnd.api+json 2022-05-31 17:00:08.595 +0200 [debug] (coverage-util.js) Writing coverage. 2022-05-31 17:00:22.111 +0200 [debug] (data-pipe.js) received call for route "proxy" with action "execute" and body {"action":"execute","data":{"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get"}} 2022-05-31 17:00:22.111 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 17:00:22.112 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 17:00:22.112 +0200 [debug] (proxy.js) Substituing Templates {"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get"} with {"iparam":{"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"},"oauth_iparams":{}} 2022-05-31 17:00:22.112 +0200 [debug] (proxy.js) Parsed https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452 as {"protocol":"https:","slashes":true,"auth":null,"host":"virtualdropstudio.freshdesk.com","port":null,"hostname":"virtualdropstudio.freshdesk.com","hash":null,"search":null,"query":null,"pathname":"/api/v2/contacts/101026585452","path":"/api/v2/contacts/101026585452","href":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452"} 2022-05-31 17:00:22.113 +0200 [debug] (proxy.js) Checking if the request url is whitelisted in manifest 2022-05-31 17:00:22.113 +0200 [debug] (proxy.js) Matched "https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452" with https://virtualdropstudio.freshdesk.com 2022-05-31 17:00:22.113 +0200 [debug] (proxy.js) Making proxy call with options as {"headers":{"Content-Type":"application/json","Authorization":"Basic eXBsT0hra3gyejJhY1ZRS01DZGU6eA=="},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get","whitelistedDomains":["https://virtualdropstudio.freshdesk.com"],"maxAttempts":1,"retryDelay":0,"timeout":5000} 2022-05-31 17:00:22.320 +0200 [debug] (proxy.js) Proxy came back with error as null, body as "{\"active\":false,\"address\":null,\"description\":null,\"email\":\"loloic3@sfr.fr\",\"id\":1010265 2022-05-31 17:00:22.320 +0200 [debug] (proxy.js) Looking for "application/json" in application/json,application/xml,text/html,text/xml,application/jsonp,text/plain,application/javascript,application/vnd.api+json 2022-05-31 17:00:22.612 +0200 [debug] (coverage-util.js) Writing coverage. 2022-05-31 17:00:40.947 +0200 [debug] (data-pipe.js) received call for route "proxy" with action "execute" and body {"action":"execute","data":{"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/groups/","method":"get"}} 2022-05-31 17:00:40.947 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 17:00:40.948 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 17:00:40.948 +0200 [debug] (proxy.js) Substituing Templates {"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/groups/","method":"get"} with {"iparam":{"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"},"oauth_iparams":{}} 2022-05-31 17:00:40.948 +0200 [debug] (proxy.js) Parsed https://virtualdropstudio.freshdesk.com/api/v2/groups/ as {"protocol":"https:","slashes":true,"auth":null,"host":"virtualdropstudio.freshdesk.com","port":null,"hostname":"virtualdropstudio.freshdesk.com","hash":null,"search":null,"query":null,"pathname":"/api/v2/groups/","path":"/api/v2/groups/","href":"https://virtualdropstudio.freshdesk.com/api/v2/groups/"} 2022-05-31 17:00:40.948 +0200 [debug] (proxy.js) Checking if the request url is whitelisted in manifest 2022-05-31 17:00:40.948 +0200 [debug] (proxy.js) Matched "https://virtualdropstudio.freshdesk.com/api/v2/groups/" with https://virtualdropstudio.freshdesk.com 2022-05-31 17:00:40.949 +0200 [debug] (proxy.js) Making proxy call with options as {"headers":{"Content-Type":"application/json","Authorization":"Basic eXBsT0hra3gyejJhY1ZRS01DZGU6eA=="},"url":"https://virtualdropstudio.freshdesk.com/api/v2/groups/","method":"get","whitelistedDomains":["https://virtualdropstudio.freshdesk.com"],"maxAttempts":1,"retryDelay":0,"timeout":5000} 2022-05-31 17:00:41.132 +0200 [debug] (proxy.js) Proxy came back with error as null, body as "[{\"id\":101000251412,\"name\":\"Billing\",\"description\":\"Members of the Billing team belong to  2022-05-31 17:00:41.133 +0200 [debug] (proxy.js) Looking for "application/json" in application/json,application/xml,text/html,text/xml,application/jsonp,text/plain,application/javascript,application/vnd.api+json 2022-05-31 17:00:41.153 +0200 [debug] (data-pipe.js) received call for route "proxy" with action "execute" and body {"action":"execute","data":{"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get"}} 2022-05-31 17:00:41.154 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 17:00:41.155 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 17:00:41.155 +0200 [debug] (proxy.js) Substituing Templates {"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get"} with {"iparam":{"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"},"oauth_iparams":{}} 2022-05-31 17:00:41.156 +0200 [debug] (proxy.js) Parsed https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452 as {"protocol":"https:","slashes":true,"auth":null,"host":"virtualdropstudio.freshdesk.com","port":null,"hostname":"virtualdropstudio.freshdesk.com","hash":null,"search":null,"query":null,"pathname":"/api/v2/contacts/101026585452","path":"/api/v2/contacts/101026585452","href":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452"} 2022-05-31 17:00:41.157 +0200 [debug] (proxy.js) Checking if the request url is whitelisted in manifest 2022-05-31 17:00:41.157 +0200 [debug] (proxy.js) Matched "https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452" with https://virtualdropstudio.freshdesk.com 2022-05-31 17:00:41.157 +0200 [debug] (proxy.js) Making proxy call with options as {"headers":{"Content-Type":"application/json","Authorization":"Basic eXBsT0hra3gyejJhY1ZRS01DZGU6eA=="},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get","whitelistedDomains":["https://virtualdropstudio.freshdesk.com"],"maxAttempts":1,"retryDelay":0,"timeout":5000} 2022-05-31 17:00:41.335 +0200 [debug] (proxy.js) Proxy came back with error as null, body as "{\"active\":false,\"address\":null,\"description\":null,\"email\":\"loloic3@sfr.fr\",\"id\":1010265 2022-05-31 17:00:41.335 +0200 [debug] (proxy.js) Looking for "application/json" in application/json,application/xml,text/html,text/xml,application/jsonp,text/plain,application/javascript,application/vnd.api+json 2022-05-31 17:00:42.593 +0200 [debug] (coverage-util.js) Writing coverage. 2022-05-31 17:04:07.526 +0200 [info] NOTE: We recommend a coverage of 80% for apps that are to be published in the public marketplace. 2022-05-31 17:04:08.632 +0200 [debug] (logger.js) Starting FDK in node v12.22.7 on linux 2022-05-31 17:04:09.207 +0200 [debug] (sequelize.js) setting up sqilite at "/home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/.fdk/store.sqlite" 2022-05-31 17:04:10.112 +0200 [debug] (index.js) Running with args {"cmd":"run","gopts":{},"opts":{},"goptArg":{},"optArg":{},"args":[]} 2022-05-31 17:04:10.112 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 17:04:10.112 +0200 [debug] (updater.js) last check less than an day ago, not looking for updates 2022-05-31 17:04:10.308 +0200 [debug] (manifest.js) Reloading manifest with {"platform-version":"2.2","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"whitelisted-domains":["https://<%= iparam.freshdesk_domain %>.freshdesk.com"],"engines":{"node":"12.22.7","fdk":"7.1.0"}}. 2022-05-31 17:04:10.308 +0200 [debug] (manifest.js) Inferred db as features. 2022-05-31 17:04:10.310 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 17:04:10.320 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 17:04:11.284 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 17:04:13.929 +0200 [debug] (validate.js) asked to skip the following validations,  2022-05-31 17:04:13.930 +0200 [debug] (validate.js) running validator actions 2022-05-31 17:04:13.930 +0200 [debug] (validate.js) running validator app-dir 2022-05-31 17:04:13.931 +0200 [debug] (validate.js) running validator config-dir 2022-05-31 17:04:13.931 +0200 [debug] (config-dir.js) Checking to see if /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/config/ exists. 2022-05-31 17:04:13.931 +0200 [debug] (config-dir.js) Fetched the following config files iparams.json 2022-05-31 17:04:13.931 +0200 [debug] (validate.js) running validator custom-objects 2022-05-31 17:04:13.932 +0200 [debug] (validate.js) running validator event 2022-05-31 17:04:13.932 +0200 [debug] (validate.js) running validator iparam 2022-05-31 17:04:13.934 +0200 [debug] (validate.js) skipping validator lint 2022-05-31 17:04:13.934 +0200 [debug] (validate.js) running validator manifest 2022-05-31 17:04:13.934 +0200 [debug] (manifest.js) running manifest validation with type run_validation 2022-05-31 17:04:13.934 +0200 [debug] (validate.js) skipping validator manifest-dependency 2022-05-31 17:04:13.934 +0200 [debug] (validate.js) running validator oauth 2022-05-31 17:04:13.935 +0200 [debug] (validate.js) skipping validator pkgsize 2022-05-31 17:04:13.935 +0200 [debug] (validate.js) running validator schema 2022-05-31 17:04:13.935 +0200 [debug] (validate.js) running validator version-check 2022-05-31 17:04:13.937 +0200 [debug] (watcher.js) Preparing to watch the following files ./app,./config,./manifest.json 2022-05-31 17:04:13.940 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 17:04:13.940 +0200 [debug] (custom-objects.js) to force or not? false 2022-05-31 17:04:13.940 +0200 [debug] (custom-objects.js) beginning to re-sync db 2022-05-31 17:04:14.322 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/bigint-pivot.js" 2022-05-31 17:04:14.325 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field-choice.js" 2022-05-31 17:04:14.327 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field.js" 2022-05-31 17:04:14.328 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity.js" 2022-05-31 17:04:14.329 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/record.js" 2022-05-31 17:04:14.331 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/string-pivot.js" 2022-05-31 17:04:14.348 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 17:04:14.349 +0200 [debug] (custom-objects.js) updated local store with latest entity hash 2022-05-31 17:04:14.352 +0200 [info] Starting local testing server at http://*:10001/ Append 'dev=true' to your Freshdesk account URL to start testing e.g. https://domain.freshdesk.com/a/tickets/1?dev=true Quit the server with Control-C. 2022-05-31 17:04:14.353 +0200 [info] To test the installation page, visit - http://localhost:10001/custom_configs 2022-05-31 17:04:21.983 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 17:04:21.984 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 17:04:22.333 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 17:04:22.334 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 17:04:22.370 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 17:04:22.371 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 17:04:22.419 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 17:04:22.419 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 17:04:22.533 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 17:04:22.534 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 17:04:22.552 +0200 [debug] (iframe.js) Responding with contents of /template.html 2022-05-31 17:04:22.565 +0200 [debug] (iframe.js) Responding with contents of /app.js 2022-05-31 17:04:22.566 +0200 [debug] (coverage-util.js) Instrumenting /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/app/app.js 2022-05-31 17:04:22.723 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 17:04:22.723 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 17:04:22.766 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 17:04:22.767 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 17:04:22.807 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 17:04:22.807 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 17:04:22.885 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 17:04:22.886 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 17:04:23.012 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 17:04:23.013 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 17:04:23.178 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 17:04:23.178 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 17:04:24.008 +0200 [debug] (data-pipe.js) received call for route "proxy" with action "execute" and body {"action":"execute","data":{"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get"}} 2022-05-31 17:04:24.009 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 17:04:24.013 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 17:04:24.013 +0200 [debug] (proxy.js) Substituing Templates {"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get"} with {"iparam":{"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"},"oauth_iparams":{}} 2022-05-31 17:04:24.015 +0200 [debug] (proxy.js) Parsed https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452 as {"protocol":"https:","slashes":true,"auth":null,"host":"virtualdropstudio.freshdesk.com","port":null,"hostname":"virtualdropstudio.freshdesk.com","hash":null,"search":null,"query":null,"pathname":"/api/v2/contacts/101026585452","path":"/api/v2/contacts/101026585452","href":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452"} 2022-05-31 17:04:24.020 +0200 [debug] (proxy.js) Checking if the request url is whitelisted in manifest 2022-05-31 17:04:24.020 +0200 [debug] (proxy.js) Matched "https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452" with https://virtualdropstudio.freshdesk.com 2022-05-31 17:04:24.020 +0200 [debug] (proxy.js) Making proxy call with options as {"headers":{"Content-Type":"application/json","Authorization":"Basic eXBsT0hra3gyejJhY1ZRS01DZGU6eA=="},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get","whitelistedDomains":["https://virtualdropstudio.freshdesk.com"],"maxAttempts":1,"retryDelay":0,"timeout":5000} 2022-05-31 17:04:24.227 +0200 [debug] (proxy.js) Proxy came back with error as null, body as "{\"active\":false,\"address\":null,\"description\":null,\"email\":\"loloic3@sfr.fr\",\"id\":1010265 2022-05-31 17:04:24.228 +0200 [debug] (proxy.js) Looking for "application/json" in application/json,application/xml,text/html,text/xml,application/jsonp,text/plain,application/javascript,application/vnd.api+json 2022-05-31 17:04:25.600 +0200 [debug] (coverage-util.js) Writing coverage. 2022-05-31 17:05:17.174 +0200 [info] NOTE: We recommend a coverage of 80% for apps that are to be published in the public marketplace. 2022-05-31 17:05:18.706 +0200 [debug] (logger.js) Starting FDK in node v12.22.7 on linux 2022-05-31 17:05:19.274 +0200 [debug] (sequelize.js) setting up sqilite at "/home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/.fdk/store.sqlite" 2022-05-31 17:05:20.174 +0200 [debug] (index.js) Running with args {"cmd":"run","gopts":{},"opts":{},"goptArg":{},"optArg":{},"args":[]} 2022-05-31 17:05:20.174 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 17:05:20.174 +0200 [debug] (updater.js) last check less than an day ago, not looking for updates 2022-05-31 17:05:20.368 +0200 [debug] (manifest.js) Reloading manifest with {"platform-version":"2.2","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"whitelisted-domains":["https://<%= iparam.freshdesk_domain %>.freshdesk.com"],"engines":{"node":"12.22.7","fdk":"7.1.0"}}. 2022-05-31 17:05:20.368 +0200 [debug] (manifest.js) Inferred db as features. 2022-05-31 17:05:20.370 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 17:05:20.380 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 17:05:21.342 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-05-31 17:05:23.984 +0200 [debug] (validate.js) asked to skip the following validations,  2022-05-31 17:05:23.984 +0200 [debug] (validate.js) running validator actions 2022-05-31 17:05:23.984 +0200 [debug] (validate.js) running validator app-dir 2022-05-31 17:05:23.985 +0200 [debug] (validate.js) running validator config-dir 2022-05-31 17:05:23.985 +0200 [debug] (config-dir.js) Checking to see if /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/config/ exists. 2022-05-31 17:05:23.985 +0200 [debug] (config-dir.js) Fetched the following config files iparams.json 2022-05-31 17:05:23.986 +0200 [debug] (validate.js) running validator custom-objects 2022-05-31 17:05:23.986 +0200 [debug] (validate.js) running validator event 2022-05-31 17:05:23.986 +0200 [debug] (validate.js) running validator iparam 2022-05-31 17:05:23.988 +0200 [debug] (validate.js) skipping validator lint 2022-05-31 17:05:23.988 +0200 [debug] (validate.js) running validator manifest 2022-05-31 17:05:23.988 +0200 [debug] (manifest.js) running manifest validation with type run_validation 2022-05-31 17:05:23.989 +0200 [debug] (validate.js) skipping validator manifest-dependency 2022-05-31 17:05:23.989 +0200 [debug] (validate.js) running validator oauth 2022-05-31 17:05:23.989 +0200 [debug] (validate.js) skipping validator pkgsize 2022-05-31 17:05:23.989 +0200 [debug] (validate.js) running validator schema 2022-05-31 17:05:23.989 +0200 [debug] (validate.js) running validator version-check 2022-05-31 17:05:23.992 +0200 [debug] (watcher.js) Preparing to watch the following files ./app,./config,./manifest.json 2022-05-31 17:05:23.995 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 17:05:23.995 +0200 [debug] (custom-objects.js) to force or not? false 2022-05-31 17:05:23.995 +0200 [debug] (custom-objects.js) beginning to re-sync db 2022-05-31 17:05:24.230 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/bigint-pivot.js" 2022-05-31 17:05:24.231 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field-choice.js" 2022-05-31 17:05:24.232 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field.js" 2022-05-31 17:05:24.233 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity.js" 2022-05-31 17:05:24.233 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/record.js" 2022-05-31 17:05:24.234 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/string-pivot.js" 2022-05-31 17:05:24.249 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 17:05:24.250 +0200 [debug] (custom-objects.js) updated local store with latest entity hash 2022-05-31 17:05:24.253 +0200 [info] Starting local testing server at http://*:10001/ Append 'dev=true' to your Freshdesk account URL to start testing e.g. https://domain.freshdesk.com/a/tickets/1?dev=true Quit the server with Control-C. 2022-05-31 17:05:24.253 +0200 [info] To test the installation page, visit - http://localhost:10001/custom_configs 2022-05-31 17:05:54.387 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 17:05:54.388 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 17:05:54.866 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 17:05:54.866 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 17:05:54.916 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 17:05:54.917 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 17:05:54.971 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 17:05:54.971 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 17:05:55.025 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 17:05:55.026 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 17:05:55.045 +0200 [debug] (iframe.js) Responding with contents of /template.html 2022-05-31 17:05:55.058 +0200 [debug] (iframe.js) Responding with contents of /app.js 2022-05-31 17:05:55.059 +0200 [debug] (coverage-util.js) Instrumenting /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/app/app.js 2022-05-31 17:05:55.243 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 17:05:55.244 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 17:05:55.281 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 17:05:55.281 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 17:05:55.318 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 17:05:55.318 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 17:05:55.357 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 17:05:55.357 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 17:05:55.398 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 17:05:55.399 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 17:05:56.004 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 17:05:56.004 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-05-31 17:05:56.446 +0200 [debug] (data-pipe.js) received call for route "proxy" with action "execute" and body {"action":"execute","data":{"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get"}} 2022-05-31 17:05:56.446 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 17:05:56.451 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-05-31 17:05:56.451 +0200 [debug] (proxy.js) Substituing Templates {"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get"} with {"iparam":{"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"},"oauth_iparams":{}} 2022-05-31 17:05:56.454 +0200 [debug] (proxy.js) Parsed https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452 as {"protocol":"https:","slashes":true,"auth":null,"host":"virtualdropstudio.freshdesk.com","port":null,"hostname":"virtualdropstudio.freshdesk.com","hash":null,"search":null,"query":null,"pathname":"/api/v2/contacts/101026585452","path":"/api/v2/contacts/101026585452","href":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452"} 2022-05-31 17:05:56.459 +0200 [debug] (proxy.js) Checking if the request url is whitelisted in manifest 2022-05-31 17:05:56.459 +0200 [debug] (proxy.js) Matched "https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452" with https://virtualdropstudio.freshdesk.com 2022-05-31 17:05:56.460 +0200 [debug] (proxy.js) Making proxy call with options as {"headers":{"Content-Type":"application/json","Authorization":"Basic eXBsT0hra3gyejJhY1ZRS01DZGU6eA=="},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get","whitelistedDomains":["https://virtualdropstudio.freshdesk.com"],"maxAttempts":1,"retryDelay":0,"timeout":5000} 2022-05-31 17:05:56.702 +0200 [debug] (proxy.js) Proxy came back with error as null, body as "{\"active\":false,\"address\":null,\"description\":null,\"email\":\"loloic3@sfr.fr\",\"id\":1010265 2022-05-31 17:05:56.703 +0200 [debug] (proxy.js) Looking for "application/json" in application/json,application/xml,text/html,text/xml,application/jsonp,text/plain,application/javascript,application/vnd.api+json 2022-05-31 17:05:57.595 +0200 [debug] (coverage-util.js) Writing coverage. 2022-06-01 14:37:26.459 +0200 [debug] (logger.js) Starting FDK in node v12.22.7 on linux 2022-06-01 14:37:34.691 +0200 [debug] (sequelize.js) setting up sqilite at "/home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/.fdk/store.sqlite" 2022-06-01 14:37:36.625 +0200 [debug] (index.js) Running with args {"cmd":"run","gopts":{},"opts":{},"goptArg":{},"optArg":{},"args":[]} 2022-06-01 14:37:36.630 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-06-01 14:37:36.631 +0200 [debug] (updater.js) last check more than an day ago, looking for updates again 2022-06-01 14:37:37.176 +0200 [debug] (updater.js) downloaded update manifest as {"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.1","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}} 2022-06-01 14:37:37.177 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-06-01 14:37:37.178 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-06-01 14:37:37.186 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.1","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1653949742291}} 2022-06-01 14:37:37.192 +0200 [warn] [WARN] This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433. 2022-06-01 14:37:38.626 +0200 [debug] (manifest.js) Reloading manifest with {"platform-version":"2.2","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"whitelisted-domains":["https://<%= iparam.freshdesk_domain %>.freshdesk.com"],"engines":{"node":"12.22.7","fdk":"7.1.0"}}. 2022-06-01 14:37:38.627 +0200 [debug] (manifest.js) Inferred db as features. 2022-06-01 14:37:38.649 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.1","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1654087057179}} 2022-06-01 14:37:38.739 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.1","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1654087057179}} 2022-06-01 14:37:48.739 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.1","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1654087057179}} 2022-06-01 14:37:56.570 +0200 [debug] (validate.js) asked to skip the following validations,  2022-06-01 14:37:56.570 +0200 [debug] (validate.js) running validator actions 2022-06-01 14:37:56.570 +0200 [debug] (validate.js) running validator app-dir 2022-06-01 14:37:56.572 +0200 [debug] (validate.js) running validator config-dir 2022-06-01 14:37:56.572 +0200 [debug] (config-dir.js) Checking to see if /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/config/ exists. 2022-06-01 14:37:56.572 +0200 [debug] (config-dir.js) Fetched the following config files iparams.json 2022-06-01 14:37:56.572 +0200 [debug] (validate.js) running validator custom-objects 2022-06-01 14:37:56.573 +0200 [debug] (validate.js) running validator event 2022-06-01 14:37:56.573 +0200 [debug] (validate.js) running validator iparam 2022-06-01 14:37:56.580 +0200 [debug] (validate.js) skipping validator lint 2022-06-01 14:37:56.580 +0200 [debug] (validate.js) running validator manifest 2022-06-01 14:37:56.580 +0200 [debug] (manifest.js) running manifest validation with type run_validation 2022-06-01 14:37:56.580 +0200 [debug] (validate.js) skipping validator manifest-dependency 2022-06-01 14:37:56.581 +0200 [debug] (validate.js) running validator oauth 2022-06-01 14:37:56.581 +0200 [debug] (validate.js) skipping validator pkgsize 2022-06-01 14:37:56.581 +0200 [debug] (validate.js) running validator schema 2022-06-01 14:37:56.581 +0200 [debug] (validate.js) running validator version-check 2022-06-01 14:37:56.583 +0200 [debug] (watcher.js) Preparing to watch the following files ./app,./config,./manifest.json 2022-06-01 14:37:56.590 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-06-01 14:37:56.590 +0200 [debug] (custom-objects.js) to force or not? false 2022-06-01 14:37:56.590 +0200 [debug] (custom-objects.js) beginning to re-sync db 2022-06-01 14:37:57.069 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/bigint-pivot.js" 2022-06-01 14:37:57.082 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field-choice.js" 2022-06-01 14:37:57.089 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field.js" 2022-06-01 14:37:57.096 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity.js" 2022-06-01 14:37:57.103 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/record.js" 2022-06-01 14:37:57.110 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/string-pivot.js" 2022-06-01 14:37:57.131 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-06-01 14:37:57.132 +0200 [debug] (custom-objects.js) updated local store with latest entity hash 2022-06-01 14:37:57.133 +0200 [info] Starting local testing server at http://*:10001/ Append 'dev=true' to your Freshdesk account URL to start testing e.g. https://domain.freshdesk.com/a/tickets/1?dev=true Quit the server with Control-C. 2022-06-01 14:37:57.134 +0200 [info] To test the installation page, visit - http://localhost:10001/custom_configs 2022-06-01 14:45:42.489 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-06-01 14:45:42.493 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-06-01 14:45:44.329 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-06-01 14:45:44.330 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-06-01 14:45:44.459 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-06-01 14:45:44.460 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-06-01 14:45:44.794 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-06-01 14:45:44.795 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-06-01 14:45:44.925 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-06-01 14:45:44.926 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-06-01 14:45:44.978 +0200 [debug] (iframe.js) Responding with contents of /template.html 2022-06-01 14:45:45.046 +0200 [debug] (iframe.js) Responding with contents of /app.js 2022-06-01 14:45:45.090 +0200 [debug] (coverage-util.js) Instrumenting /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/app/app.js 2022-06-01 14:45:45.666 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-06-01 14:45:45.667 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-06-01 14:45:45.907 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-06-01 14:45:45.907 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-06-01 14:45:46.065 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-06-01 14:45:46.066 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-06-01 14:45:46.225 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-06-01 14:45:46.226 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-06-01 14:45:46.361 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-06-01 14:45:46.361 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-06-01 14:45:46.947 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-06-01 14:45:46.948 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-06-01 14:45:49.076 +0200 [debug] (coverage-util.js) Writing coverage. 2022-06-01 14:46:20.012 +0200 [info] NOTE: We recommend a coverage of 80% for apps that are to be published in the public marketplace. 2022-06-01 14:46:22.143 +0200 [debug] (logger.js) Starting FDK in node v12.22.7 on linux 2022-06-01 14:46:23.414 +0200 [debug] (sequelize.js) setting up sqilite at "/home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/.fdk/store.sqlite" 2022-06-01 14:46:24.810 +0200 [debug] (index.js) Running with args {"cmd":"run","gopts":{},"opts":{},"goptArg":{},"optArg":{},"args":[]} 2022-06-01 14:46:24.811 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.1","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1654087057179}} 2022-06-01 14:46:24.812 +0200 [debug] (updater.js) last check less than an day ago, not looking for updates 2022-06-01 14:46:25.477 +0200 [debug] (manifest.js) Reloading manifest with {"platform-version":"2.2","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"whitelisted-domains":["https://<%= iparam.freshdesk_domain %>.freshdesk.com"],"engines":{"node":"12.22.7","fdk":"7.1.0"}}. 2022-06-01 14:46:25.478 +0200 [debug] (manifest.js) Inferred db as features. 2022-06-01 14:46:25.481 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.1","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1654087057179}} 2022-06-01 14:46:25.505 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.1","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1654087057179}} 2022-06-01 14:46:29.037 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.1","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1654087057179}} 2022-06-01 14:46:33.704 +0200 [debug] (validate.js) asked to skip the following validations,  2022-06-01 14:46:33.705 +0200 [debug] (validate.js) running validator actions 2022-06-01 14:46:33.705 +0200 [debug] (validate.js) running validator app-dir 2022-06-01 14:46:33.707 +0200 [debug] (validate.js) running validator config-dir 2022-06-01 14:46:33.707 +0200 [debug] (config-dir.js) Checking to see if /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/config/ exists. 2022-06-01 14:46:33.707 +0200 [debug] (config-dir.js) Fetched the following config files iparams.json 2022-06-01 14:46:33.708 +0200 [debug] (validate.js) running validator custom-objects 2022-06-01 14:46:33.708 +0200 [debug] (validate.js) running validator event 2022-06-01 14:46:33.708 +0200 [debug] (validate.js) running validator iparam 2022-06-01 14:46:33.712 +0200 [debug] (validate.js) skipping validator lint 2022-06-01 14:46:33.713 +0200 [debug] (validate.js) running validator manifest 2022-06-01 14:46:33.713 +0200 [debug] (manifest.js) running manifest validation with type run_validation 2022-06-01 14:46:33.713 +0200 [debug] (validate.js) skipping validator manifest-dependency 2022-06-01 14:46:33.713 +0200 [debug] (validate.js) running validator oauth 2022-06-01 14:46:33.714 +0200 [debug] (validate.js) skipping validator pkgsize 2022-06-01 14:46:33.714 +0200 [debug] (validate.js) running validator schema 2022-06-01 14:46:33.714 +0200 [debug] (validate.js) running validator version-check 2022-06-01 14:46:33.749 +0200 [debug] (watcher.js) Preparing to watch the following files ./app,./config,./manifest.json 2022-06-01 14:46:33.757 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-06-01 14:46:33.757 +0200 [debug] (custom-objects.js) to force or not? false 2022-06-01 14:46:33.758 +0200 [debug] (custom-objects.js) beginning to re-sync db 2022-06-01 14:46:34.471 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/bigint-pivot.js" 2022-06-01 14:46:34.476 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field-choice.js" 2022-06-01 14:46:34.478 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field.js" 2022-06-01 14:46:34.481 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity.js" 2022-06-01 14:46:34.484 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/record.js" 2022-06-01 14:46:34.487 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/string-pivot.js" 2022-06-01 14:46:34.542 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-06-01 14:46:34.545 +0200 [debug] (custom-objects.js) updated local store with latest entity hash 2022-06-01 14:46:34.554 +0200 [info] Starting local testing server at http://*:10001/ Append 'dev=true' to your Freshdesk account URL to start testing e.g. https://domain.freshdesk.com/a/tickets/1?dev=true Quit the server with Control-C. 2022-06-01 14:46:34.556 +0200 [info] To test the installation page, visit - http://localhost:10001/custom_configs 2022-06-01 14:46:52.220 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-06-01 14:46:52.225 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-06-01 14:46:54.671 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-06-01 14:46:54.672 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-06-01 14:46:54.804 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-06-01 14:46:54.805 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-06-01 14:46:55.097 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-06-01 14:46:55.098 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-06-01 14:46:55.214 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-06-01 14:46:55.216 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-06-01 14:46:55.285 +0200 [debug] (iframe.js) Responding with contents of /template.html 2022-06-01 14:46:55.334 +0200 [debug] (iframe.js) Responding with contents of /app.js 2022-06-01 14:46:55.337 +0200 [debug] (coverage-util.js) Instrumenting /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/app/app.js 2022-06-01 14:46:55.937 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-06-01 14:46:55.938 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-06-01 14:46:56.070 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-06-01 14:46:56.070 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-06-01 14:46:56.276 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-06-01 14:46:56.277 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-06-01 14:46:56.527 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-06-01 14:46:56.528 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-06-01 14:46:56.649 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-06-01 14:46:56.650 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-06-01 14:46:57.227 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-06-01 14:46:57.228 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-06-01 14:47:08.716 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-06-01 14:47:08.717 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-06-01 14:47:10.526 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-06-01 14:47:10.527 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-06-01 14:47:10.688 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-06-01 14:47:10.689 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-06-01 14:47:10.862 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-06-01 14:47:10.863 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-06-01 14:47:11.002 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-06-01 14:47:11.003 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-06-01 14:47:11.062 +0200 [debug] (iframe.js) Responding with contents of /template.html 2022-06-01 14:47:11.112 +0200 [debug] (iframe.js) Responding with contents of /app.js 2022-06-01 14:47:11.114 +0200 [debug] (coverage-util.js) Instrumenting /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/app/app.js 2022-06-01 14:47:11.459 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-06-01 14:47:11.459 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-06-01 14:47:11.576 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-06-01 14:47:11.577 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-06-01 14:47:11.928 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-06-01 14:47:11.929 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-06-01 14:47:12.132 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-06-01 14:47:12.133 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-06-01 14:47:12.247 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-06-01 14:47:12.248 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-06-01 14:47:14.001 +0200 [debug] (coverage-util.js) Writing coverage. 2022-06-01 14:47:14.778 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-06-01 14:47:14.779 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-06-01 14:47:16.752 +0200 [debug] (coverage-util.js) Writing coverage. 2022-06-01 14:47:18.691 +0200 [debug] (data-pipe.js) received call for route "proxy" with action "execute" and body {"action":"execute","data":{"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/groups/","method":"get"}} 2022-06-01 14:47:18.693 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-06-01 14:47:18.729 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-06-01 14:47:18.729 +0200 [debug] (proxy.js) Substituing Templates {"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/groups/","method":"get"} with {"iparam":{"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"},"oauth_iparams":{}} 2022-06-01 14:47:18.735 +0200 [debug] (proxy.js) Parsed https://virtualdropstudio.freshdesk.com/api/v2/groups/ as {"protocol":"https:","slashes":true,"auth":null,"host":"virtualdropstudio.freshdesk.com","port":null,"hostname":"virtualdropstudio.freshdesk.com","hash":null,"search":null,"query":null,"pathname":"/api/v2/groups/","path":"/api/v2/groups/","href":"https://virtualdropstudio.freshdesk.com/api/v2/groups/"} 2022-06-01 14:47:18.746 +0200 [debug] (proxy.js) Checking if the request url is whitelisted in manifest 2022-06-01 14:47:18.747 +0200 [debug] (proxy.js) Matched "https://virtualdropstudio.freshdesk.com/api/v2/groups/" with https://virtualdropstudio.freshdesk.com 2022-06-01 14:47:18.747 +0200 [debug] (proxy.js) Making proxy call with options as {"headers":{"Content-Type":"application/json","Authorization":"Basic eXBsT0hra3gyejJhY1ZRS01DZGU6eA=="},"url":"https://virtualdropstudio.freshdesk.com/api/v2/groups/","method":"get","whitelistedDomains":["https://virtualdropstudio.freshdesk.com"],"maxAttempts":1,"retryDelay":0,"timeout":5000} 2022-06-01 14:47:18.817 +0200 [debug] (coverage-util.js) Writing coverage. 2022-06-01 14:47:19.300 +0200 [debug] (proxy.js) Proxy came back with error as null, body as "[{\"id\":101000251412,\"name\":\"Billing\",\"description\":\"Members of the Billing team belong to  2022-06-01 14:47:19.301 +0200 [debug] (proxy.js) Looking for "application/json" in application/json,application/xml,text/html,text/xml,application/jsonp,text/plain,application/javascript,application/vnd.api+json 2022-06-01 14:47:19.332 +0200 [debug] (data-pipe.js) received call for route "proxy" with action "execute" and body {"action":"execute","data":{"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get"}} 2022-06-01 14:47:19.334 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-06-01 14:47:19.335 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-06-01 14:47:19.336 +0200 [debug] (proxy.js) Substituing Templates {"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get"} with {"iparam":{"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"},"oauth_iparams":{}} 2022-06-01 14:47:19.338 +0200 [debug] (proxy.js) Parsed https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452 as {"protocol":"https:","slashes":true,"auth":null,"host":"virtualdropstudio.freshdesk.com","port":null,"hostname":"virtualdropstudio.freshdesk.com","hash":null,"search":null,"query":null,"pathname":"/api/v2/contacts/101026585452","path":"/api/v2/contacts/101026585452","href":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452"} 2022-06-01 14:47:19.339 +0200 [debug] (proxy.js) Checking if the request url is whitelisted in manifest 2022-06-01 14:47:19.339 +0200 [debug] (proxy.js) Matched "https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452" with https://virtualdropstudio.freshdesk.com 2022-06-01 14:47:19.340 +0200 [debug] (proxy.js) Making proxy call with options as {"headers":{"Content-Type":"application/json","Authorization":"Basic eXBsT0hra3gyejJhY1ZRS01DZGU6eA=="},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get","whitelistedDomains":["https://virtualdropstudio.freshdesk.com"],"maxAttempts":1,"retryDelay":0,"timeout":5000} 2022-06-01 14:47:19.797 +0200 [debug] (proxy.js) Proxy came back with error as null, body as "{\"active\":false,\"address\":null,\"description\":null,\"email\":\"loloic3@sfr.fr\",\"id\":1010265 2022-06-01 14:47:19.797 +0200 [debug] (proxy.js) Looking for "application/json" in application/json,application/xml,text/html,text/xml,application/jsonp,text/plain,application/javascript,application/vnd.api+json 2022-06-01 14:47:20.750 +0200 [debug] (coverage-util.js) Writing coverage. 2022-06-01 14:47:28.579 +0200 [debug] (data-pipe.js) received call for route "proxy" with action "execute" and body {"action":"execute","data":{"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/groups/","method":"get"}} 2022-06-01 14:47:28.581 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-06-01 14:47:28.582 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-06-01 14:47:28.582 +0200 [debug] (proxy.js) Substituing Templates {"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/groups/","method":"get"} with {"iparam":{"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"},"oauth_iparams":{}} 2022-06-01 14:47:28.584 +0200 [debug] (proxy.js) Parsed https://virtualdropstudio.freshdesk.com/api/v2/groups/ as {"protocol":"https:","slashes":true,"auth":null,"host":"virtualdropstudio.freshdesk.com","port":null,"hostname":"virtualdropstudio.freshdesk.com","hash":null,"search":null,"query":null,"pathname":"/api/v2/groups/","path":"/api/v2/groups/","href":"https://virtualdropstudio.freshdesk.com/api/v2/groups/"} 2022-06-01 14:47:28.585 +0200 [debug] (proxy.js) Checking if the request url is whitelisted in manifest 2022-06-01 14:47:28.588 +0200 [debug] (proxy.js) Matched "https://virtualdropstudio.freshdesk.com/api/v2/groups/" with https://virtualdropstudio.freshdesk.com 2022-06-01 14:47:28.589 +0200 [debug] (proxy.js) Making proxy call with options as {"headers":{"Content-Type":"application/json","Authorization":"Basic eXBsT0hra3gyejJhY1ZRS01DZGU6eA=="},"url":"https://virtualdropstudio.freshdesk.com/api/v2/groups/","method":"get","whitelistedDomains":["https://virtualdropstudio.freshdesk.com"],"maxAttempts":1,"retryDelay":0,"timeout":5000} 2022-06-01 14:47:28.760 +0200 [debug] (coverage-util.js) Writing coverage. 2022-06-01 14:47:29.020 +0200 [debug] (proxy.js) Proxy came back with error as null, body as "[{\"id\":101000251412,\"name\":\"Billing\",\"description\":\"Members of the Billing team belong to  2022-06-01 14:47:29.020 +0200 [debug] (proxy.js) Looking for "application/json" in application/json,application/xml,text/html,text/xml,application/jsonp,text/plain,application/javascript,application/vnd.api+json 2022-06-01 14:47:29.049 +0200 [debug] (data-pipe.js) received call for route "proxy" with action "execute" and body {"action":"execute","data":{"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get"}} 2022-06-01 14:47:29.051 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-06-01 14:47:29.052 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-06-01 14:47:29.052 +0200 [debug] (proxy.js) Substituing Templates {"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get"} with {"iparam":{"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"},"oauth_iparams":{}} 2022-06-01 14:47:29.054 +0200 [debug] (proxy.js) Parsed https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452 as {"protocol":"https:","slashes":true,"auth":null,"host":"virtualdropstudio.freshdesk.com","port":null,"hostname":"virtualdropstudio.freshdesk.com","hash":null,"search":null,"query":null,"pathname":"/api/v2/contacts/101026585452","path":"/api/v2/contacts/101026585452","href":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452"} 2022-06-01 14:47:29.055 +0200 [debug] (proxy.js) Checking if the request url is whitelisted in manifest 2022-06-01 14:47:29.055 +0200 [debug] (proxy.js) Matched "https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452" with https://virtualdropstudio.freshdesk.com 2022-06-01 14:47:29.056 +0200 [debug] (proxy.js) Making proxy call with options as {"headers":{"Content-Type":"application/json","Authorization":"Basic eXBsT0hra3gyejJhY1ZRS01DZGU6eA=="},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get","whitelistedDomains":["https://virtualdropstudio.freshdesk.com"],"maxAttempts":1,"retryDelay":0,"timeout":5000} 2022-06-01 14:47:29.532 +0200 [debug] (proxy.js) Proxy came back with error as null, body as "{\"active\":false,\"address\":null,\"description\":null,\"email\":\"loloic3@sfr.fr\",\"id\":1010265 2022-06-01 14:47:29.532 +0200 [debug] (proxy.js) Looking for "application/json" in application/json,application/xml,text/html,text/xml,application/jsonp,text/plain,application/javascript,application/vnd.api+json 2022-06-01 14:47:30.760 +0200 [debug] (coverage-util.js) Writing coverage. 2022-06-01 14:47:36.847 +0200 [debug] (data-pipe.js) received call for route "proxy" with action "execute" and body {"action":"execute","data":{"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/groups/","method":"get"}} 2022-06-01 14:47:36.849 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-06-01 14:47:36.851 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-06-01 14:47:36.851 +0200 [debug] (proxy.js) Substituing Templates {"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/groups/","method":"get"} with {"iparam":{"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"},"oauth_iparams":{}} 2022-06-01 14:47:36.855 +0200 [debug] (proxy.js) Parsed https://virtualdropstudio.freshdesk.com/api/v2/groups/ as {"protocol":"https:","slashes":true,"auth":null,"host":"virtualdropstudio.freshdesk.com","port":null,"hostname":"virtualdropstudio.freshdesk.com","hash":null,"search":null,"query":null,"pathname":"/api/v2/groups/","path":"/api/v2/groups/","href":"https://virtualdropstudio.freshdesk.com/api/v2/groups/"} 2022-06-01 14:47:36.866 +0200 [debug] (proxy.js) Checking if the request url is whitelisted in manifest 2022-06-01 14:47:36.867 +0200 [debug] (proxy.js) Matched "https://virtualdropstudio.freshdesk.com/api/v2/groups/" with https://virtualdropstudio.freshdesk.com 2022-06-01 14:47:36.867 +0200 [debug] (proxy.js) Making proxy call with options as {"headers":{"Content-Type":"application/json","Authorization":"Basic eXBsT0hra3gyejJhY1ZRS01DZGU6eA=="},"url":"https://virtualdropstudio.freshdesk.com/api/v2/groups/","method":"get","whitelistedDomains":["https://virtualdropstudio.freshdesk.com"],"maxAttempts":1,"retryDelay":0,"timeout":5000} 2022-06-01 14:47:37.319 +0200 [debug] (proxy.js) Proxy came back with error as null, body as "[{\"id\":101000251412,\"name\":\"Billing\",\"description\":\"Members of the Billing team belong to  2022-06-01 14:47:37.320 +0200 [debug] (proxy.js) Looking for "application/json" in application/json,application/xml,text/html,text/xml,application/jsonp,text/plain,application/javascript,application/vnd.api+json 2022-06-01 14:47:37.349 +0200 [debug] (data-pipe.js) received call for route "proxy" with action "execute" and body {"action":"execute","data":{"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get"}} 2022-06-01 14:47:37.351 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-06-01 14:47:37.353 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-06-01 14:47:37.353 +0200 [debug] (proxy.js) Substituing Templates {"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get"} with {"iparam":{"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"},"oauth_iparams":{}} 2022-06-01 14:47:37.355 +0200 [debug] (proxy.js) Parsed https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452 as {"protocol":"https:","slashes":true,"auth":null,"host":"virtualdropstudio.freshdesk.com","port":null,"hostname":"virtualdropstudio.freshdesk.com","hash":null,"search":null,"query":null,"pathname":"/api/v2/contacts/101026585452","path":"/api/v2/contacts/101026585452","href":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452"} 2022-06-01 14:47:37.356 +0200 [debug] (proxy.js) Checking if the request url is whitelisted in manifest 2022-06-01 14:47:37.356 +0200 [debug] (proxy.js) Matched "https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452" with https://virtualdropstudio.freshdesk.com 2022-06-01 14:47:37.357 +0200 [debug] (proxy.js) Making proxy call with options as {"headers":{"Content-Type":"application/json","Authorization":"Basic eXBsT0hra3gyejJhY1ZRS01DZGU6eA=="},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get","whitelistedDomains":["https://virtualdropstudio.freshdesk.com"],"maxAttempts":1,"retryDelay":0,"timeout":5000} 2022-06-01 14:47:37.827 +0200 [debug] (proxy.js) Proxy came back with error as null, body as "{\"active\":false,\"address\":null,\"description\":null,\"email\":\"loloic3@sfr.fr\",\"id\":1010265 2022-06-01 14:47:37.828 +0200 [debug] (proxy.js) Looking for "application/json" in application/json,application/xml,text/html,text/xml,application/jsonp,text/plain,application/javascript,application/vnd.api+json 2022-06-01 14:47:38.762 +0200 [debug] (coverage-util.js) Writing coverage. 2022-06-01 14:49:14.315 +0200 [info] NOTE: We recommend a coverage of 80% for apps that are to be published in the public marketplace. 2022-06-01 14:49:48.785 +0200 [debug] (logger.js) Starting FDK in node v12.22.7 on linux 2022-06-01 14:49:49.898 +0200 [debug] (sequelize.js) setting up sqilite at "/home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/.fdk/store.sqlite" 2022-06-01 14:49:51.163 +0200 [debug] (index.js) Running with args {"cmd":"run","gopts":{},"opts":{},"goptArg":{},"optArg":{},"args":[]} 2022-06-01 14:49:51.164 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.1","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1654087057179}} 2022-06-01 14:49:51.165 +0200 [debug] (updater.js) last check less than an day ago, not looking for updates 2022-06-01 14:49:51.791 +0200 [debug] (manifest.js) Reloading manifest with {"platform-version":"2.2","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"whitelisted-domains":["https://<%= iparam.freshdesk_domain %>.freshdesk.com"],"engines":{"node":"12.22.7","fdk":"7.1.0"}}. 2022-06-01 14:49:51.792 +0200 [debug] (manifest.js) Inferred db as features. 2022-06-01 14:49:51.798 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.1","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1654087057179}} 2022-06-01 14:49:51.840 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.1","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1654087057179}} 2022-06-01 14:49:54.995 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.1","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1654087057179}} 2022-06-01 14:49:59.460 +0200 [debug] (validate.js) asked to skip the following validations,  2022-06-01 14:49:59.461 +0200 [debug] (validate.js) running validator actions 2022-06-01 14:49:59.462 +0200 [debug] (validate.js) running validator app-dir 2022-06-01 14:49:59.464 +0200 [debug] (validate.js) running validator config-dir 2022-06-01 14:49:59.464 +0200 [debug] (config-dir.js) Checking to see if /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/config/ exists. 2022-06-01 14:49:59.465 +0200 [debug] (config-dir.js) Fetched the following config files iparams.json 2022-06-01 14:49:59.465 +0200 [debug] (validate.js) running validator custom-objects 2022-06-01 14:49:59.466 +0200 [debug] (validate.js) running validator event 2022-06-01 14:49:59.466 +0200 [debug] (validate.js) running validator iparam 2022-06-01 14:49:59.473 +0200 [debug] (validate.js) skipping validator lint 2022-06-01 14:49:59.473 +0200 [debug] (validate.js) running validator manifest 2022-06-01 14:49:59.473 +0200 [debug] (manifest.js) running manifest validation with type run_validation 2022-06-01 14:49:59.474 +0200 [debug] (validate.js) skipping validator manifest-dependency 2022-06-01 14:49:59.474 +0200 [debug] (validate.js) running validator oauth 2022-06-01 14:49:59.475 +0200 [debug] (validate.js) skipping validator pkgsize 2022-06-01 14:49:59.475 +0200 [debug] (validate.js) running validator schema 2022-06-01 14:49:59.475 +0200 [debug] (validate.js) running validator version-check 2022-06-01 14:49:59.482 +0200 [debug] (watcher.js) Preparing to watch the following files ./app,./config,./manifest.json 2022-06-01 14:49:59.491 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-06-01 14:49:59.492 +0200 [debug] (custom-objects.js) to force or not? false 2022-06-01 14:49:59.492 +0200 [debug] (custom-objects.js) beginning to re-sync db 2022-06-01 14:50:00.262 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/bigint-pivot.js" 2022-06-01 14:50:00.268 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field-choice.js" 2022-06-01 14:50:00.270 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field.js" 2022-06-01 14:50:00.274 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity.js" 2022-06-01 14:50:00.277 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/record.js" 2022-06-01 14:50:00.280 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/string-pivot.js" 2022-06-01 14:50:00.340 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-06-01 14:50:00.343 +0200 [debug] (custom-objects.js) updated local store with latest entity hash 2022-06-01 14:50:00.352 +0200 [info] Starting local testing server at http://*:10001/ Append 'dev=true' to your Freshdesk account URL to start testing e.g. https://domain.freshdesk.com/a/tickets/1?dev=true Quit the server with Control-C. 2022-06-01 14:50:00.354 +0200 [info] To test the installation page, visit - http://localhost:10001/custom_configs 2022-06-01 14:50:11.439 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-06-01 14:50:11.446 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-06-01 14:50:12.672 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-06-01 14:50:12.672 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-06-01 14:50:12.996 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-06-01 14:50:12.997 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-06-01 14:50:13.179 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-06-01 14:50:13.180 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-06-01 14:50:13.296 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-06-01 14:50:13.297 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-06-01 14:50:13.364 +0200 [debug] (iframe.js) Responding with contents of /template.html 2022-06-01 14:50:13.425 +0200 [debug] (iframe.js) Responding with contents of /app.js 2022-06-01 14:50:13.429 +0200 [debug] (coverage-util.js) Instrumenting /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/app/app.js 2022-06-01 14:50:13.792 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-06-01 14:50:13.792 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-06-01 14:50:13.882 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-06-01 14:50:13.882 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-06-01 14:50:14.016 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-06-01 14:50:14.016 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-06-01 14:50:14.313 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-06-01 14:50:14.314 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-06-01 14:50:14.512 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-06-01 14:50:14.513 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-06-01 14:50:15.153 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-06-01 14:50:15.153 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-06-01 14:50:16.778 +0200 [debug] (coverage-util.js) Writing coverage. 2022-06-01 14:50:18.416 +0200 [debug] (data-pipe.js) received call for route "proxy" with action "execute" and body {"action":"execute","data":{"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/groups/","method":"get"}} 2022-06-01 14:50:18.418 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-06-01 14:50:18.426 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-06-01 14:50:18.426 +0200 [debug] (proxy.js) Substituing Templates {"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/groups/","method":"get"} with {"iparam":{"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"},"oauth_iparams":{}} 2022-06-01 14:50:18.430 +0200 [debug] (proxy.js) Parsed https://virtualdropstudio.freshdesk.com/api/v2/groups/ as {"protocol":"https:","slashes":true,"auth":null,"host":"virtualdropstudio.freshdesk.com","port":null,"hostname":"virtualdropstudio.freshdesk.com","hash":null,"search":null,"query":null,"pathname":"/api/v2/groups/","path":"/api/v2/groups/","href":"https://virtualdropstudio.freshdesk.com/api/v2/groups/"} 2022-06-01 14:50:18.438 +0200 [debug] (proxy.js) Checking if the request url is whitelisted in manifest 2022-06-01 14:50:18.438 +0200 [debug] (proxy.js) Matched "https://virtualdropstudio.freshdesk.com/api/v2/groups/" with https://virtualdropstudio.freshdesk.com 2022-06-01 14:50:18.439 +0200 [debug] (proxy.js) Making proxy call with options as {"headers":{"Content-Type":"application/json","Authorization":"Basic eXBsT0hra3gyejJhY1ZRS01DZGU6eA=="},"url":"https://virtualdropstudio.freshdesk.com/api/v2/groups/","method":"get","whitelistedDomains":["https://virtualdropstudio.freshdesk.com"],"maxAttempts":1,"retryDelay":0,"timeout":5000} 2022-06-01 14:50:18.775 +0200 [debug] (coverage-util.js) Writing coverage. 2022-06-01 14:50:19.095 +0200 [debug] (proxy.js) Proxy came back with error as null, body as "[{\"id\":101000251412,\"name\":\"Billing\",\"description\":\"Members of the Billing team belong to  2022-06-01 14:50:19.096 +0200 [debug] (proxy.js) Looking for "application/json" in application/json,application/xml,text/html,text/xml,application/jsonp,text/plain,application/javascript,application/vnd.api+json 2022-06-01 14:50:20.758 +0200 [debug] (coverage-util.js) Writing coverage. 2022-06-01 14:50:24.820 +0200 [debug] (data-pipe.js) received call for route "proxy" with action "execute" and body {"action":"execute","data":{"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get"}} 2022-06-01 14:50:24.824 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-06-01 14:50:24.825 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-06-01 14:50:24.825 +0200 [debug] (proxy.js) Substituing Templates {"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get"} with {"iparam":{"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"},"oauth_iparams":{}} 2022-06-01 14:50:24.829 +0200 [debug] (proxy.js) Parsed https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452 as {"protocol":"https:","slashes":true,"auth":null,"host":"virtualdropstudio.freshdesk.com","port":null,"hostname":"virtualdropstudio.freshdesk.com","hash":null,"search":null,"query":null,"pathname":"/api/v2/contacts/101026585452","path":"/api/v2/contacts/101026585452","href":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452"} 2022-06-01 14:50:24.829 +0200 [debug] (proxy.js) Checking if the request url is whitelisted in manifest 2022-06-01 14:50:24.830 +0200 [debug] (proxy.js) Matched "https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452" with https://virtualdropstudio.freshdesk.com 2022-06-01 14:50:24.830 +0200 [debug] (proxy.js) Making proxy call with options as {"headers":{"Content-Type":"application/json","Authorization":"Basic eXBsT0hra3gyejJhY1ZRS01DZGU6eA=="},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get","whitelistedDomains":["https://virtualdropstudio.freshdesk.com"],"maxAttempts":1,"retryDelay":0,"timeout":5000} 2022-06-01 14:50:25.233 +0200 [debug] (proxy.js) Proxy came back with error as null, body as "{\"active\":false,\"address\":null,\"description\":null,\"email\":\"loloic3@sfr.fr\",\"id\":1010265 2022-06-01 14:50:25.233 +0200 [debug] (proxy.js) Looking for "application/json" in application/json,application/xml,text/html,text/xml,application/jsonp,text/plain,application/javascript,application/vnd.api+json 2022-06-01 14:50:26.762 +0200 [debug] (coverage-util.js) Writing coverage. 2022-06-01 14:54:11.873 +0200 [info] NOTE: We recommend a coverage of 80% for apps that are to be published in the public marketplace. 2022-06-01 14:54:14.318 +0200 [debug] (logger.js) Starting FDK in node v12.22.7 on linux 2022-06-01 14:54:15.794 +0200 [debug] (sequelize.js) setting up sqilite at "/home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/.fdk/store.sqlite" 2022-06-01 14:54:17.034 +0200 [debug] (index.js) Running with args {"cmd":"validate","gopts":{},"opts":{},"goptArg":{},"optArg":{},"args":[]} 2022-06-01 14:54:17.035 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.1","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1654087057179}} 2022-06-01 14:54:17.036 +0200 [debug] (updater.js) last check less than an day ago, not looking for updates 2022-06-01 14:54:17.073 +0200 [debug] (manifest.js) Reloading manifest with {"platform-version":"2.2","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"whitelisted-domains":["https://<%= iparam.freshdesk_domain %>.freshdesk.com"],"engines":{"node":"12.22.7","fdk":"7.1.0"}}. 2022-06-01 14:54:17.074 +0200 [debug] (manifest.js) Inferred db as features. 2022-06-01 14:54:17.076 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.1","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1654087057179}} 2022-06-01 14:54:20.967 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.1","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1654087057179}} 2022-06-01 14:54:25.087 +0200 [debug] (validate.js) asked to skip the following validations,  2022-06-01 14:54:25.088 +0200 [debug] (validate.js) running validator actions 2022-06-01 14:54:25.088 +0200 [debug] (validate.js) running validator app-dir 2022-06-01 14:54:25.090 +0200 [debug] (validate.js) running validator config-dir 2022-06-01 14:54:25.090 +0200 [debug] (config-dir.js) Checking to see if /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/config/ exists. 2022-06-01 14:54:25.090 +0200 [debug] (config-dir.js) Fetched the following config files iparams.json 2022-06-01 14:54:25.090 +0200 [debug] (validate.js) running validator custom-objects 2022-06-01 14:54:25.091 +0200 [debug] (validate.js) running validator event 2022-06-01 14:54:25.091 +0200 [debug] (validate.js) running validator iparam 2022-06-01 14:54:25.095 +0200 [debug] (validate.js) running validator lint 2022-06-01 14:54:25.096 +0200 [debug] (lint.js) passed fix flag: false 2022-06-01 14:54:25.097 +0200 [debug] (lint-util.js) Running the following lints on the file app/app.js : no-caller,no-process-env,complexity,max-nested-callbacks,handle-callback-err,no-eval,no-alert,no-debugger,no-unreachable,no-unlisted-url,no-unhandled-promise,no-logging-rejections,no-non-client-request-model,no-cross-scope-assign,no-empty-function,no-unused-vars 2022-06-01 14:54:25.256 +0200 [debug] (validate.js) running validator manifest 2022-06-01 14:54:25.257 +0200 [debug] (manifest.js) running manifest validation with type pre_pkg_validation 2022-06-01 14:54:25.257 +0200 [debug] (validate.js) running validator manifest-dependency 2022-06-01 14:54:25.258 +0200 [debug] (validate.js) running validator oauth 2022-06-01 14:54:25.258 +0200 [debug] (validate.js) skipping validator pkgsize 2022-06-01 14:54:25.259 +0200 [debug] (validate.js) skipping validator schema 2022-06-01 14:54:25.259 +0200 [debug] (validate.js) running validator version-check 2022-06-01 14:54:25.266 +0200 [warn] Please ensure that the following are addressed for quick review process. 2022-06-01 14:54:25.268 +0200 [warn] [WARN] app/app.js::9: 'errorMessage' declared and assigned in different scopes. Possible asynchronous race condition. 2022-06-01 14:54:25.269 +0200 [warn] [WARN] app/app.js::14: Expected rejection to be handled. 2022-06-01 14:54:25.270 +0200 [warn] [WARN] app/app.js::38: 'errorMessage' declared and assigned in different scopes. Possible asynchronous race condition. 2022-06-01 14:54:25.271 +0200 [warn] [WARN] app/app.js::41: 'errorMessage' declared and assigned in different scopes. Possible asynchronous race condition. 2022-06-01 14:54:25.273 +0200 [warn] [WARN] app/app.js::54: 'groupNames' declared and assigned in different scopes. Possible asynchronous race condition. 2022-06-01 14:54:25.274 +0200 [warn] [WARN] app/app.js::144: 'groupIds' declared and assigned in different scopes. Possible asynchronous race condition. 2022-06-01 14:54:25.275 +0200 [warn] [WARN] app/app.js::145: 'groupsInfo' declared and assigned in different scopes. Possible asynchronous race condition. 2022-06-01 14:54:25.276 +0200 [error] 2022-06-01 14:54:25.277 +0200 [info] Validation Successful 2022-06-01 14:54:31.506 +0200 [debug] (logger.js) Starting FDK in node v12.22.7 on linux 2022-06-01 14:54:32.966 +0200 [debug] (sequelize.js) setting up sqilite at "/home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/.fdk/store.sqlite" 2022-06-01 14:54:34.285 +0200 [debug] (index.js) Running with args {"cmd":"pack","gopts":{},"opts":{},"goptArg":{},"optArg":{},"args":[]} 2022-06-01 14:54:34.286 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.1","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1654087057179}} 2022-06-01 14:54:34.287 +0200 [debug] (updater.js) last check less than an day ago, not looking for updates 2022-06-01 14:54:36.295 +0200 [debug] (manifest.js) Reloading manifest with {"platform-version":"2.2","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"whitelisted-domains":["https://<%= iparam.freshdesk_domain %>.freshdesk.com"],"engines":{"node":"12.22.7","fdk":"7.1.0"}}. 2022-06-01 14:54:36.296 +0200 [debug] (manifest.js) Inferred db as features. 2022-06-01 14:54:36.299 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.1","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1654087057179}} 2022-06-01 14:54:39.866 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.1","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1654087057179}} 2022-06-01 14:54:43.953 +0200 [debug] (pack.js) 'pack' called with {} 2022-06-01 14:54:43.954 +0200 [debug] (validate.js) asked to skip the following validations,  2022-06-01 14:54:43.955 +0200 [debug] (validate.js) running validator actions 2022-06-01 14:54:43.955 +0200 [debug] (validate.js) running validator app-dir 2022-06-01 14:54:43.958 +0200 [debug] (validate.js) running validator config-dir 2022-06-01 14:54:43.959 +0200 [debug] (config-dir.js) Checking to see if /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/config/ exists. 2022-06-01 14:54:43.959 +0200 [debug] (config-dir.js) Fetched the following config files iparams.json 2022-06-01 14:54:43.960 +0200 [debug] (validate.js) running validator custom-objects 2022-06-01 14:54:43.961 +0200 [debug] (validate.js) running validator event 2022-06-01 14:54:43.961 +0200 [debug] (validate.js) running validator iparam 2022-06-01 14:54:43.972 +0200 [debug] (validate.js) running validator lint 2022-06-01 14:54:43.973 +0200 [debug] (lint.js) passed fix flag: undefined 2022-06-01 14:54:43.976 +0200 [debug] (lint-util.js) Running the following lints on the file app/app.js : no-caller,no-process-env,complexity,max-nested-callbacks,handle-callback-err,no-eval,no-alert,no-debugger,no-unreachable,no-unlisted-url,no-unhandled-promise,no-logging-rejections,no-non-client-request-model,no-cross-scope-assign,no-empty-function,no-unused-vars 2022-06-01 14:54:44.213 +0200 [debug] (validate.js) running validator manifest 2022-06-01 14:54:44.213 +0200 [debug] (manifest.js) running manifest validation with type pre_pkg_validation 2022-06-01 14:54:44.214 +0200 [debug] (validate.js) running validator manifest-dependency 2022-06-01 14:54:44.215 +0200 [debug] (validate.js) running validator oauth 2022-06-01 14:54:44.216 +0200 [debug] (validate.js) skipping validator pkgsize 2022-06-01 14:54:44.216 +0200 [debug] (validate.js) skipping validator schema 2022-06-01 14:54:44.217 +0200 [debug] (validate.js) running validator version-check 2022-06-01 14:54:44.227 +0200 [warn] Please ensure that the following are addressed for quick review process. 2022-06-01 14:54:44.229 +0200 [warn] [WARN] app/app.js::9: 'errorMessage' declared and assigned in different scopes. Possible asynchronous race condition. 2022-06-01 14:54:44.231 +0200 [warn] [WARN] app/app.js::14: Expected rejection to be handled. 2022-06-01 14:54:44.232 +0200 [warn] [WARN] app/app.js::38: 'errorMessage' declared and assigned in different scopes. Possible asynchronous race condition. 2022-06-01 14:54:44.234 +0200 [warn] [WARN] app/app.js::41: 'errorMessage' declared and assigned in different scopes. Possible asynchronous race condition. 2022-06-01 14:54:44.235 +0200 [warn] [WARN] app/app.js::54: 'groupNames' declared and assigned in different scopes. Possible asynchronous race condition. 2022-06-01 14:54:44.237 +0200 [warn] [WARN] app/app.js::144: 'groupIds' declared and assigned in different scopes. Possible asynchronous race condition. 2022-06-01 14:54:44.239 +0200 [warn] [WARN] app/app.js::145: 'groupsInfo' declared and assigned in different scopes. Possible asynchronous race condition. 2022-06-01 14:54:44.240 +0200 [error] 2022-06-01 14:54:44.248 +0200 [info] App being packed in Node v12.22.7 using FDK 7.4.0 2022-06-01 14:54:44.286 +0200 [debug] (pack.js) Cannot find './src' directory while packing. 2022-06-01 14:54:44.287 +0200 [debug] (pack.js) Cannot find './server' directory while packing. 2022-06-01 14:54:44.293 +0200 [debug] (file-util.js) Computing digest for app/app.js,app/template.html,manifest.json. 2022-06-01 14:54:44.298 +0200 [debug] (pack.js) Packing ./app/app.js 2022-06-01 14:54:44.300 +0200 [debug] (pack.js) Packing ./app/template.html 2022-06-01 14:54:44.300 +0200 [debug] (pack.js) Packing ./config/iparams.json 2022-06-01 14:54:44.301 +0200 [debug] (pack.js) Packing ./manifest.json 2022-06-01 14:54:44.301 +0200 [debug] (pack.js) Packing ./.report.json 2022-06-01 14:54:44.301 +0200 [debug] (pack.js) Packing ./README.md 2022-06-01 14:54:44.301 +0200 [debug] (pack.js) Packing ./digest.md5 2022-06-01 14:54:44.404 +0200 [debug] (validate.js) asked to skip the following validations,  2022-06-01 14:54:44.405 +0200 [debug] (validate.js) skipping validator actions 2022-06-01 14:54:44.405 +0200 [debug] (validate.js) skipping validator app-dir 2022-06-01 14:54:44.405 +0200 [debug] (validate.js) skipping validator config-dir 2022-06-01 14:54:44.406 +0200 [debug] (validate.js) skipping validator custom-objects 2022-06-01 14:54:44.406 +0200 [debug] (validate.js) skipping validator event 2022-06-01 14:54:44.407 +0200 [debug] (validate.js) skipping validator iparam 2022-06-01 14:54:44.407 +0200 [debug] (validate.js) skipping validator lint 2022-06-01 14:54:44.407 +0200 [debug] (validate.js) skipping validator manifest 2022-06-01 14:54:44.407 +0200 [debug] (validate.js) skipping validator manifest-dependency 2022-06-01 14:54:44.407 +0200 [debug] (validate.js) skipping validator oauth 2022-06-01 14:54:44.408 +0200 [debug] (validate.js) running validator pkgsize 2022-06-01 14:54:44.408 +0200 [debug] (validate.js) skipping validator schema 2022-06-01 14:54:44.408 +0200 [debug] (validate.js) skipping validator version-check 2022-06-01 14:54:44.409 +0200 [info] App packed successfully at /dist/tickets_close_interceptor.zip 2022-06-01 14:54:44.410 +0200 [info] Upload this file to the marketplace by following the instructions at https://developer.freshdesk.com/v2/docs/freshdesk-apps/ 2022-06-01 14:54:44.411 +0200 [debug] (file-util.js) Deleting digest. 2022-06-01 15:01:03.466 +0200 [debug] (logger.js) Starting FDK in node v12.22.7 on linux 2022-06-01 15:01:04.523 +0200 [debug] (sequelize.js) setting up sqilite at "/home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/.fdk/store.sqlite" 2022-06-01 15:01:05.981 +0200 [debug] (index.js) Running with args {"cmd":"run","gopts":{},"opts":{},"goptArg":{},"optArg":{},"args":[]} 2022-06-01 15:01:05.983 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.1","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1654087057179}} 2022-06-01 15:01:05.983 +0200 [debug] (updater.js) last check less than an day ago, not looking for updates 2022-06-01 15:01:06.619 +0200 [debug] (manifest.js) Reloading manifest with {"platform-version":"2.2","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"whitelisted-domains":["https://<%= iparam.freshdesk_domain %>.freshdesk.com"],"engines":{"node":"12.22.7","fdk":"7.1.0"}}. 2022-06-01 15:01:06.620 +0200 [debug] (manifest.js) Inferred db as features. 2022-06-01 15:01:06.625 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.1","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1654087057179}} 2022-06-01 15:01:06.662 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.1","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1654087057179}} 2022-06-01 15:01:10.443 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.1","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1654087057179}} 2022-06-01 15:01:14.991 +0200 [debug] (validate.js) asked to skip the following validations,  2022-06-01 15:01:14.992 +0200 [debug] (validate.js) running validator actions 2022-06-01 15:01:14.993 +0200 [debug] (validate.js) running validator app-dir 2022-06-01 15:01:14.995 +0200 [debug] (validate.js) running validator config-dir 2022-06-01 15:01:14.996 +0200 [debug] (config-dir.js) Checking to see if /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/config/ exists. 2022-06-01 15:01:14.996 +0200 [debug] (config-dir.js) Fetched the following config files iparams.json 2022-06-01 15:01:14.996 +0200 [debug] (validate.js) running validator custom-objects 2022-06-01 15:01:14.997 +0200 [debug] (validate.js) running validator event 2022-06-01 15:01:14.997 +0200 [debug] (validate.js) running validator iparam 2022-06-01 15:01:15.005 +0200 [debug] (validate.js) skipping validator lint 2022-06-01 15:01:15.006 +0200 [debug] (validate.js) running validator manifest 2022-06-01 15:01:15.006 +0200 [debug] (manifest.js) running manifest validation with type run_validation 2022-06-01 15:01:15.007 +0200 [debug] (validate.js) skipping validator manifest-dependency 2022-06-01 15:01:15.007 +0200 [debug] (validate.js) running validator oauth 2022-06-01 15:01:15.008 +0200 [debug] (validate.js) skipping validator pkgsize 2022-06-01 15:01:15.008 +0200 [debug] (validate.js) running validator schema 2022-06-01 15:01:15.009 +0200 [debug] (validate.js) running validator version-check 2022-06-01 15:01:15.015 +0200 [debug] (watcher.js) Preparing to watch the following files ./app,./config,./manifest.json 2022-06-01 15:01:15.024 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-06-01 15:01:15.024 +0200 [debug] (custom-objects.js) to force or not? false 2022-06-01 15:01:15.025 +0200 [debug] (custom-objects.js) beginning to re-sync db 2022-06-01 15:01:15.966 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/bigint-pivot.js" 2022-06-01 15:01:15.975 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field-choice.js" 2022-06-01 15:01:15.980 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field.js" 2022-06-01 15:01:15.983 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity.js" 2022-06-01 15:01:15.987 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/record.js" 2022-06-01 15:01:15.992 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/string-pivot.js" 2022-06-01 15:01:16.075 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-06-01 15:01:16.079 +0200 [debug] (custom-objects.js) updated local store with latest entity hash 2022-06-01 15:01:16.089 +0200 [info] Starting local testing server at http://*:10001/ Append 'dev=true' to your Freshdesk account URL to start testing e.g. https://domain.freshdesk.com/a/tickets/1?dev=true Quit the server with Control-C. 2022-06-01 15:01:16.092 +0200 [info] To test the installation page, visit - http://localhost:10001/custom_configs 2022-06-01 15:03:44.420 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-06-01 15:03:44.426 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-06-01 15:03:44.553 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-06-01 15:04:04.613 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-06-01 15:04:04.825 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-06-01 15:13:30.791 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-06-01 15:14:31.405 +0200 [info] NOTE: We recommend a coverage of 80% for apps that are to be published in the public marketplace. 2022-06-01 15:14:34.556 +0200 [debug] (logger.js) Starting FDK in node v12.22.7 on linux 2022-06-01 15:14:35.732 +0200 [debug] (sequelize.js) setting up sqilite at "/home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/.fdk/store.sqlite" 2022-06-01 15:14:37.106 +0200 [debug] (index.js) Running with args {"cmd":"run","gopts":{},"opts":{},"goptArg":{},"optArg":{},"args":[]} 2022-06-01 15:14:37.107 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.1","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1654087057179}} 2022-06-01 15:14:37.107 +0200 [debug] (updater.js) last check less than an day ago, not looking for updates 2022-06-01 15:14:37.631 +0200 [debug] (manifest.js) Reloading manifest with {"platform-version":"2.2","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"whitelisted-domains":["https://<%= iparam.freshdesk_domain %>.freshdesk.com"],"engines":{"node":"12.22.7","fdk":"7.1.0"}}. 2022-06-01 15:14:37.632 +0200 [debug] (manifest.js) Inferred db as features. 2022-06-01 15:14:37.638 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.1","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1654087057179}} 2022-06-01 15:14:37.681 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.1","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1654087057179}} 2022-06-01 15:14:41.023 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.1","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1654087057179}} 2022-06-01 15:14:45.602 +0200 [debug] (validate.js) asked to skip the following validations,  2022-06-01 15:14:45.603 +0200 [debug] (validate.js) running validator actions 2022-06-01 15:14:45.604 +0200 [debug] (validate.js) running validator app-dir 2022-06-01 15:14:45.605 +0200 [debug] (validate.js) running validator config-dir 2022-06-01 15:14:45.605 +0200 [debug] (config-dir.js) Checking to see if /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/config/ exists. 2022-06-01 15:14:45.606 +0200 [debug] (config-dir.js) Fetched the following config files iparams.json 2022-06-01 15:14:45.606 +0200 [debug] (validate.js) running validator custom-objects 2022-06-01 15:14:45.606 +0200 [debug] (validate.js) running validator event 2022-06-01 15:14:45.606 +0200 [debug] (validate.js) running validator iparam 2022-06-01 15:14:45.611 +0200 [debug] (validate.js) skipping validator lint 2022-06-01 15:14:45.611 +0200 [debug] (validate.js) running validator manifest 2022-06-01 15:14:45.611 +0200 [debug] (manifest.js) running manifest validation with type run_validation 2022-06-01 15:14:45.612 +0200 [debug] (validate.js) skipping validator manifest-dependency 2022-06-01 15:14:45.612 +0200 [debug] (validate.js) running validator oauth 2022-06-01 15:14:45.612 +0200 [debug] (validate.js) skipping validator pkgsize 2022-06-01 15:14:45.613 +0200 [debug] (validate.js) running validator schema 2022-06-01 15:14:45.613 +0200 [debug] (validate.js) running validator version-check 2022-06-01 15:14:45.621 +0200 [debug] (watcher.js) Preparing to watch the following files ./app,./config,./manifest.json 2022-06-01 15:14:45.630 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-06-01 15:14:45.631 +0200 [debug] (custom-objects.js) to force or not? false 2022-06-01 15:14:45.631 +0200 [debug] (custom-objects.js) beginning to re-sync db 2022-06-01 15:14:46.436 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/bigint-pivot.js" 2022-06-01 15:14:46.446 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field-choice.js" 2022-06-01 15:14:46.451 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field.js" 2022-06-01 15:14:46.456 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity.js" 2022-06-01 15:14:46.461 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/record.js" 2022-06-01 15:14:46.466 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/string-pivot.js" 2022-06-01 15:14:46.549 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-06-01 15:14:46.553 +0200 [debug] (custom-objects.js) updated local store with latest entity hash 2022-06-01 15:14:46.566 +0200 [info] Starting local testing server at http://*:10001/ Append 'dev=true' to your Freshdesk account URL to start testing e.g. https://domain.freshdesk.com/a/tickets/1?dev=true Quit the server with Control-C. 2022-06-01 15:14:46.568 +0200 [info] To test the installation page, visit - http://localhost:10001/custom_configs 2022-06-01 15:15:05.740 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-06-01 15:15:05.745 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-06-01 15:15:05.844 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-06-01 15:15:09.091 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-06-01 15:15:24.220 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-06-01 15:15:24.222 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-06-01 15:15:26.424 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-06-01 15:15:26.426 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-06-01 15:15:26.536 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-06-01 15:15:26.538 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-06-01 15:15:26.719 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-06-01 15:15:26.721 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-06-01 15:15:26.861 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-06-01 15:15:26.862 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-06-01 15:15:26.926 +0200 [debug] (iframe.js) Responding with contents of /template.html 2022-06-01 15:15:27.020 +0200 [debug] (iframe.js) Responding with contents of /app.js 2022-06-01 15:15:27.026 +0200 [debug] (coverage-util.js) Instrumenting /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/app/app.js 2022-06-01 15:15:27.479 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-06-01 15:15:27.480 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-06-01 15:15:27.593 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-06-01 15:15:27.593 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-06-01 15:15:27.708 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-06-01 15:15:27.709 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-06-01 15:15:27.843 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-06-01 15:15:27.844 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-06-01 15:15:27.973 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-06-01 15:15:27.974 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-06-01 15:15:28.574 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-06-01 15:15:28.576 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-06-01 15:15:30.754 +0200 [debug] (coverage-util.js) Writing coverage. 2022-06-01 15:15:34.040 +0200 [debug] (data-pipe.js) received call for route "proxy" with action "execute" and body {"action":"execute","data":{"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get"}} 2022-06-01 15:15:34.042 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-06-01 15:15:34.057 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-06-01 15:15:34.057 +0200 [debug] (proxy.js) Substituing Templates {"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get"} with {"iparam":{"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"},"oauth_iparams":{}} 2022-06-01 15:15:34.060 +0200 [debug] (proxy.js) Parsed https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452 as {"protocol":"https:","slashes":true,"auth":null,"host":"virtualdropstudio.freshdesk.com","port":null,"hostname":"virtualdropstudio.freshdesk.com","hash":null,"search":null,"query":null,"pathname":"/api/v2/contacts/101026585452","path":"/api/v2/contacts/101026585452","href":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452"} 2022-06-01 15:15:34.067 +0200 [debug] (proxy.js) Checking if the request url is whitelisted in manifest 2022-06-01 15:15:34.068 +0200 [debug] (proxy.js) Matched "https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452" with https://virtualdropstudio.freshdesk.com 2022-06-01 15:15:34.068 +0200 [debug] (proxy.js) Making proxy call with options as {"headers":{"Content-Type":"application/json","Authorization":"Basic eXBsT0hra3gyejJhY1ZRS01DZGU6eA=="},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get","whitelistedDomains":["https://virtualdropstudio.freshdesk.com"],"maxAttempts":1,"retryDelay":0,"timeout":5000} 2022-06-01 15:15:34.715 +0200 [debug] (proxy.js) Proxy came back with error as null, body as "{\"active\":false,\"address\":null,\"description\":null,\"email\":\"loloic3@sfr.fr\",\"id\":1010265 2022-06-01 15:15:34.715 +0200 [debug] (proxy.js) Looking for "application/json" in application/json,application/xml,text/html,text/xml,application/jsonp,text/plain,application/javascript,application/vnd.api+json 2022-06-01 15:15:34.760 +0200 [debug] (coverage-util.js) Writing coverage. 2022-06-01 15:15:39.743 +0200 [debug] (data-pipe.js) received call for route "proxy" with action "execute" and body {"action":"execute","data":{"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get"}} 2022-06-01 15:15:39.744 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-06-01 15:15:39.745 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-06-01 15:15:39.745 +0200 [debug] (proxy.js) Substituing Templates {"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get"} with {"iparam":{"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"},"oauth_iparams":{}} 2022-06-01 15:15:39.747 +0200 [debug] (proxy.js) Parsed https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452 as {"protocol":"https:","slashes":true,"auth":null,"host":"virtualdropstudio.freshdesk.com","port":null,"hostname":"virtualdropstudio.freshdesk.com","hash":null,"search":null,"query":null,"pathname":"/api/v2/contacts/101026585452","path":"/api/v2/contacts/101026585452","href":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452"} 2022-06-01 15:15:39.747 +0200 [debug] (proxy.js) Checking if the request url is whitelisted in manifest 2022-06-01 15:15:39.747 +0200 [debug] (proxy.js) Matched "https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452" with https://virtualdropstudio.freshdesk.com 2022-06-01 15:15:39.747 +0200 [debug] (proxy.js) Making proxy call with options as {"headers":{"Content-Type":"application/json","Authorization":"Basic eXBsT0hra3gyejJhY1ZRS01DZGU6eA=="},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get","whitelistedDomains":["https://virtualdropstudio.freshdesk.com"],"maxAttempts":1,"retryDelay":0,"timeout":5000} 2022-06-01 15:15:40.141 +0200 [debug] (proxy.js) Proxy came back with error as null, body as "{\"active\":false,\"address\":null,\"description\":null,\"email\":\"loloic3@sfr.fr\",\"id\":1010265 2022-06-01 15:15:40.141 +0200 [debug] (proxy.js) Looking for "application/json" in application/json,application/xml,text/html,text/xml,application/jsonp,text/plain,application/javascript,application/vnd.api+json 2022-06-01 15:15:40.759 +0200 [debug] (coverage-util.js) Writing coverage. 2022-06-01 15:22:22.133 +0200 [debug] (data-pipe.js) received call for route "proxy" with action "execute" and body {"action":"execute","data":{"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get"}} 2022-06-01 15:22:22.136 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-06-01 15:22:22.138 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-06-01 15:22:22.138 +0200 [debug] (proxy.js) Substituing Templates {"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get"} with {"iparam":{"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"},"oauth_iparams":{}} 2022-06-01 15:22:22.141 +0200 [debug] (proxy.js) Parsed https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452 as {"protocol":"https:","slashes":true,"auth":null,"host":"virtualdropstudio.freshdesk.com","port":null,"hostname":"virtualdropstudio.freshdesk.com","hash":null,"search":null,"query":null,"pathname":"/api/v2/contacts/101026585452","path":"/api/v2/contacts/101026585452","href":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452"} 2022-06-01 15:22:22.148 +0200 [debug] (proxy.js) Checking if the request url is whitelisted in manifest 2022-06-01 15:22:22.148 +0200 [debug] (proxy.js) Matched "https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452" with https://virtualdropstudio.freshdesk.com 2022-06-01 15:22:22.148 +0200 [debug] (proxy.js) Making proxy call with options as {"headers":{"Content-Type":"application/json","Authorization":"Basic eXBsT0hra3gyejJhY1ZRS01DZGU6eA=="},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get","whitelistedDomains":["https://virtualdropstudio.freshdesk.com"],"maxAttempts":1,"retryDelay":0,"timeout":5000} 2022-06-01 15:22:22.607 +0200 [debug] (proxy.js) Proxy came back with error as null, body as "{\"active\":false,\"address\":null,\"description\":null,\"email\":\"loloic3@sfr.fr\",\"id\":1010265 2022-06-01 15:22:22.608 +0200 [debug] (proxy.js) Looking for "application/json" in application/json,application/xml,text/html,text/xml,application/jsonp,text/plain,application/javascript,application/vnd.api+json 2022-06-01 15:22:22.765 +0200 [debug] (coverage-util.js) Writing coverage. 2022-06-01 15:22:40.307 +0200 [debug] (data-pipe.js) received call for route "proxy" with action "execute" and body {"action":"execute","data":{"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get"}} 2022-06-01 15:22:40.309 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-06-01 15:22:40.312 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-06-01 15:22:40.313 +0200 [debug] (proxy.js) Substituing Templates {"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get"} with {"iparam":{"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"},"oauth_iparams":{}} 2022-06-01 15:22:40.317 +0200 [debug] (proxy.js) Parsed https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452 as {"protocol":"https:","slashes":true,"auth":null,"host":"virtualdropstudio.freshdesk.com","port":null,"hostname":"virtualdropstudio.freshdesk.com","hash":null,"search":null,"query":null,"pathname":"/api/v2/contacts/101026585452","path":"/api/v2/contacts/101026585452","href":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452"} 2022-06-01 15:22:40.317 +0200 [debug] (proxy.js) Checking if the request url is whitelisted in manifest 2022-06-01 15:22:40.318 +0200 [debug] (proxy.js) Matched "https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452" with https://virtualdropstudio.freshdesk.com 2022-06-01 15:22:40.318 +0200 [debug] (proxy.js) Making proxy call with options as {"headers":{"Content-Type":"application/json","Authorization":"Basic eXBsT0hra3gyejJhY1ZRS01DZGU6eA=="},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get","whitelistedDomains":["https://virtualdropstudio.freshdesk.com"],"maxAttempts":1,"retryDelay":0,"timeout":5000} 2022-06-01 15:22:40.720 +0200 [debug] (proxy.js) Proxy came back with error as null, body as "{\"active\":false,\"address\":null,\"description\":null,\"email\":\"loloic3@sfr.fr\",\"id\":1010265 2022-06-01 15:22:40.721 +0200 [debug] (proxy.js) Looking for "application/json" in application/json,application/xml,text/html,text/xml,application/jsonp,text/plain,application/javascript,application/vnd.api+json 2022-06-01 15:22:40.756 +0200 [debug] (coverage-util.js) Writing coverage. 2022-06-01 15:23:30.029 +0200 [debug] (data-pipe.js) received call for route "proxy" with action "execute" and body {"action":"execute","data":{"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get"}} 2022-06-01 15:23:30.031 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-06-01 15:23:30.033 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-06-01 15:23:30.033 +0200 [debug] (proxy.js) Substituing Templates {"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get"} with {"iparam":{"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"},"oauth_iparams":{}} 2022-06-01 15:23:30.037 +0200 [debug] (proxy.js) Parsed https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452 as {"protocol":"https:","slashes":true,"auth":null,"host":"virtualdropstudio.freshdesk.com","port":null,"hostname":"virtualdropstudio.freshdesk.com","hash":null,"search":null,"query":null,"pathname":"/api/v2/contacts/101026585452","path":"/api/v2/contacts/101026585452","href":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452"} 2022-06-01 15:23:30.037 +0200 [debug] (proxy.js) Checking if the request url is whitelisted in manifest 2022-06-01 15:23:30.038 +0200 [debug] (proxy.js) Matched "https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452" with https://virtualdropstudio.freshdesk.com 2022-06-01 15:23:30.038 +0200 [debug] (proxy.js) Making proxy call with options as {"headers":{"Content-Type":"application/json","Authorization":"Basic eXBsT0hra3gyejJhY1ZRS01DZGU6eA=="},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get","whitelistedDomains":["https://virtualdropstudio.freshdesk.com"],"maxAttempts":1,"retryDelay":0,"timeout":5000} 2022-06-01 15:23:30.476 +0200 [debug] (proxy.js) Proxy came back with error as null, body as "{\"active\":false,\"address\":null,\"description\":null,\"email\":\"loloic3@sfr.fr\",\"id\":1010265 2022-06-01 15:23:30.476 +0200 [debug] (proxy.js) Looking for "application/json" in application/json,application/xml,text/html,text/xml,application/jsonp,text/plain,application/javascript,application/vnd.api+json 2022-06-01 15:23:30.765 +0200 [debug] (coverage-util.js) Writing coverage. 2022-06-01 15:23:39.148 +0200 [debug] (data-pipe.js) received call for route "proxy" with action "execute" and body {"action":"execute","data":{"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/groups/","method":"get"}} 2022-06-01 15:23:39.150 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-06-01 15:23:39.152 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-06-01 15:23:39.152 +0200 [debug] (proxy.js) Substituing Templates {"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/groups/","method":"get"} with {"iparam":{"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"},"oauth_iparams":{}} 2022-06-01 15:23:39.155 +0200 [debug] (proxy.js) Parsed https://virtualdropstudio.freshdesk.com/api/v2/groups/ as {"protocol":"https:","slashes":true,"auth":null,"host":"virtualdropstudio.freshdesk.com","port":null,"hostname":"virtualdropstudio.freshdesk.com","hash":null,"search":null,"query":null,"pathname":"/api/v2/groups/","path":"/api/v2/groups/","href":"https://virtualdropstudio.freshdesk.com/api/v2/groups/"} 2022-06-01 15:23:39.156 +0200 [debug] (proxy.js) Checking if the request url is whitelisted in manifest 2022-06-01 15:23:39.157 +0200 [debug] (proxy.js) Matched "https://virtualdropstudio.freshdesk.com/api/v2/groups/" with https://virtualdropstudio.freshdesk.com 2022-06-01 15:23:39.159 +0200 [debug] (proxy.js) Making proxy call with options as {"headers":{"Content-Type":"application/json","Authorization":"Basic eXBsT0hra3gyejJhY1ZRS01DZGU6eA=="},"url":"https://virtualdropstudio.freshdesk.com/api/v2/groups/","method":"get","whitelistedDomains":["https://virtualdropstudio.freshdesk.com"],"maxAttempts":1,"retryDelay":0,"timeout":5000} 2022-06-01 15:23:39.532 +0200 [debug] (proxy.js) Proxy came back with error as null, body as "[{\"id\":101000251412,\"name\":\"Billing\",\"description\":\"Members of the Billing team belong to  2022-06-01 15:23:39.533 +0200 [debug] (proxy.js) Looking for "application/json" in application/json,application/xml,text/html,text/xml,application/jsonp,text/plain,application/javascript,application/vnd.api+json 2022-06-01 15:23:40.756 +0200 [debug] (coverage-util.js) Writing coverage. 2022-06-01 15:23:51.266 +0200 [debug] (data-pipe.js) received call for route "proxy" with action "execute" and body {"action":"execute","data":{"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/groups/","method":"get"}} 2022-06-01 15:23:51.268 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-06-01 15:23:51.270 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-06-01 15:23:51.271 +0200 [debug] (proxy.js) Substituing Templates {"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/groups/","method":"get"} with {"iparam":{"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"},"oauth_iparams":{}} 2022-06-01 15:23:51.284 +0200 [debug] (proxy.js) Parsed https://virtualdropstudio.freshdesk.com/api/v2/groups/ as {"protocol":"https:","slashes":true,"auth":null,"host":"virtualdropstudio.freshdesk.com","port":null,"hostname":"virtualdropstudio.freshdesk.com","hash":null,"search":null,"query":null,"pathname":"/api/v2/groups/","path":"/api/v2/groups/","href":"https://virtualdropstudio.freshdesk.com/api/v2/groups/"} 2022-06-01 15:23:51.284 +0200 [debug] (proxy.js) Checking if the request url is whitelisted in manifest 2022-06-01 15:23:51.285 +0200 [debug] (proxy.js) Matched "https://virtualdropstudio.freshdesk.com/api/v2/groups/" with https://virtualdropstudio.freshdesk.com 2022-06-01 15:23:51.285 +0200 [debug] (proxy.js) Making proxy call with options as {"headers":{"Content-Type":"application/json","Authorization":"Basic eXBsT0hra3gyejJhY1ZRS01DZGU6eA=="},"url":"https://virtualdropstudio.freshdesk.com/api/v2/groups/","method":"get","whitelistedDomains":["https://virtualdropstudio.freshdesk.com"],"maxAttempts":1,"retryDelay":0,"timeout":5000} 2022-06-01 15:23:51.621 +0200 [debug] (proxy.js) Proxy came back with error as null, body as "[{\"id\":101000251412,\"name\":\"Billing\",\"description\":\"Members of the Billing team belong to  2022-06-01 15:23:51.623 +0200 [debug] (proxy.js) Looking for "application/json" in application/json,application/xml,text/html,text/xml,application/jsonp,text/plain,application/javascript,application/vnd.api+json 2022-06-01 15:23:51.654 +0200 [debug] (data-pipe.js) received call for route "proxy" with action "execute" and body {"action":"execute","data":{"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get"}} 2022-06-01 15:23:51.656 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-06-01 15:23:51.658 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-06-01 15:23:51.658 +0200 [debug] (proxy.js) Substituing Templates {"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get"} with {"iparam":{"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"},"oauth_iparams":{}} 2022-06-01 15:23:51.660 +0200 [debug] (proxy.js) Parsed https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452 as {"protocol":"https:","slashes":true,"auth":null,"host":"virtualdropstudio.freshdesk.com","port":null,"hostname":"virtualdropstudio.freshdesk.com","hash":null,"search":null,"query":null,"pathname":"/api/v2/contacts/101026585452","path":"/api/v2/contacts/101026585452","href":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452"} 2022-06-01 15:23:51.661 +0200 [debug] (proxy.js) Checking if the request url is whitelisted in manifest 2022-06-01 15:23:51.661 +0200 [debug] (proxy.js) Matched "https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452" with https://virtualdropstudio.freshdesk.com 2022-06-01 15:23:51.662 +0200 [debug] (proxy.js) Making proxy call with options as {"headers":{"Content-Type":"application/json","Authorization":"Basic eXBsT0hra3gyejJhY1ZRS01DZGU6eA=="},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get","whitelistedDomains":["https://virtualdropstudio.freshdesk.com"],"maxAttempts":1,"retryDelay":0,"timeout":5000} 2022-06-01 15:23:52.058 +0200 [debug] (proxy.js) Proxy came back with error as null, body as "{\"active\":false,\"address\":null,\"description\":null,\"email\":\"loloic3@sfr.fr\",\"id\":1010265 2022-06-01 15:23:52.059 +0200 [debug] (proxy.js) Looking for "application/json" in application/json,application/xml,text/html,text/xml,application/jsonp,text/plain,application/javascript,application/vnd.api+json 2022-06-01 15:23:52.768 +0200 [debug] (coverage-util.js) Writing coverage. 2022-06-01 15:24:10.769 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-06-01 15:24:10.772 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-06-01 15:24:10.907 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-06-01 15:29:14.989 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-06-01 15:43:58.865 +0200 [info] NOTE: We recommend a coverage of 80% for apps that are to be published in the public marketplace. 2022-06-14 13:48:33.984 +0200 [debug] (logger.js) Starting FDK in node v12.22.7 on linux 2022-06-14 13:48:34.584 +0200 [debug] (sequelize.js) setting up sqilite at "/home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/.fdk/store.sqlite" 2022-06-14 13:48:35.478 +0200 [debug] (index.js) Running with args {"cmd":"run","gopts":{},"opts":{},"goptArg":{},"optArg":{},"args":[]} 2022-06-14 13:48:35.479 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.3","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1655192985391}} 2022-06-14 13:48:35.479 +0200 [debug] (updater.js) last check less than an day ago, not looking for updates 2022-06-14 13:48:35.678 +0200 [debug] (manifest.js) Reloading manifest with {"platform-version":"2.2","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"whitelisted-domains":["https://<%= iparam.freshdesk_domain %>.freshdesk.com"],"engines":{"node":"12.22.7","fdk":"7.1.0"}}. 2022-06-14 13:48:35.679 +0200 [debug] (manifest.js) Inferred db as features. 2022-06-14 13:48:35.680 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.3","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1655192985391}} 2022-06-14 13:48:35.690 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.3","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1655192985391}} 2022-06-14 13:48:36.685 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.3","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1655192985391}} 2022-06-14 13:48:39.321 +0200 [debug] (validate.js) asked to skip the following validations,  2022-06-14 13:48:39.321 +0200 [debug] (validate.js) running validator actions 2022-06-14 13:48:39.321 +0200 [debug] (validate.js) running validator app-dir 2022-06-14 13:48:39.322 +0200 [debug] (validate.js) running validator config-dir 2022-06-14 13:48:39.322 +0200 [debug] (config-dir.js) Checking to see if /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/config/ exists. 2022-06-14 13:48:39.323 +0200 [debug] (config-dir.js) Fetched the following config files iparams.json 2022-06-14 13:48:39.323 +0200 [debug] (validate.js) running validator custom-objects 2022-06-14 13:48:39.323 +0200 [debug] (validate.js) running validator event 2022-06-14 13:48:39.323 +0200 [debug] (validate.js) running validator iparam 2022-06-14 13:48:39.325 +0200 [debug] (validate.js) skipping validator lint 2022-06-14 13:48:39.326 +0200 [debug] (validate.js) running validator manifest 2022-06-14 13:48:39.326 +0200 [debug] (manifest.js) running manifest validation with type run_validation 2022-06-14 13:48:39.326 +0200 [debug] (validate.js) skipping validator manifest-dependency 2022-06-14 13:48:39.326 +0200 [debug] (validate.js) running validator oauth 2022-06-14 13:48:39.326 +0200 [debug] (validate.js) skipping validator pkgsize 2022-06-14 13:48:39.326 +0200 [debug] (validate.js) running validator schema 2022-06-14 13:48:39.326 +0200 [debug] (validate.js) running validator version-check 2022-06-14 13:48:39.329 +0200 [debug] (watcher.js) Preparing to watch the following files ./app,./config,./manifest.json 2022-06-14 13:48:39.333 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-06-14 13:48:39.333 +0200 [debug] (custom-objects.js) to force or not? false 2022-06-14 13:48:39.333 +0200 [debug] (custom-objects.js) beginning to re-sync db 2022-06-14 13:48:39.578 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/bigint-pivot.js" 2022-06-14 13:48:39.579 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field-choice.js" 2022-06-14 13:48:39.580 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field.js" 2022-06-14 13:48:39.581 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity.js" 2022-06-14 13:48:39.582 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/record.js" 2022-06-14 13:48:39.582 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/string-pivot.js" 2022-06-14 13:48:39.597 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-06-14 13:48:39.598 +0200 [debug] (custom-objects.js) updated local store with latest entity hash 2022-06-14 13:48:39.600 +0200 [info] Starting local testing server at http://*:10001/ Append 'dev=true' to your Freshdesk account URL to start testing e.g. https://domain.freshdesk.com/a/tickets/1?dev=true Quit the server with Control-C. 2022-06-14 13:48:39.601 +0200 [info] To test the installation page, visit - http://localhost:10001/custom_configs 2022-06-14 13:50:10.155 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-06-14 13:50:10.157 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-06-14 13:50:10.200 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-06-14 13:50:10.200 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-06-14 13:50:10.251 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-06-14 13:50:10.251 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-06-14 13:50:10.303 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-06-14 13:50:10.304 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-06-14 13:50:10.326 +0200 [debug] (iframe.js) Responding with contents of /template.html 2022-06-14 13:50:10.343 +0200 [debug] (iframe.js) Responding with contents of /app.js 2022-06-14 13:50:10.344 +0200 [debug] (coverage-util.js) Instrumenting /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/app/app.js 2022-06-14 13:50:10.531 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-06-14 13:50:10.532 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-06-14 13:50:10.579 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-06-14 13:50:10.579 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-06-14 13:50:10.619 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-06-14 13:50:10.619 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-06-14 13:50:13.334 +0200 [debug] (coverage-util.js) Error Cannot read property 'length' of undefined while merging coverage stats. 2022-06-14 13:50:13.334 +0200 [debug] (coverage-util.js) Flushing coverage. 2022-06-14 13:50:13.334 +0200 [debug] (coverage-util.js) Writing coverage. 2022-06-14 13:50:24.506 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-06-14 13:50:24.507 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-06-14 13:50:24.533 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-06-14 13:50:44.384 +0200 [debug] (data-pipe.js) received call for route "proxy" with action "execute" and body {"action":"execute","data":{"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get"}} 2022-06-14 13:50:44.385 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-06-14 13:50:44.387 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-06-14 13:50:44.387 +0200 [debug] (proxy.js) Substituing Templates {"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get"} with {"iparam":{"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"},"oauth_iparams":{}} 2022-06-14 13:50:44.388 +0200 [debug] (proxy.js) Parsed https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452 as {"protocol":"https:","slashes":true,"auth":null,"host":"virtualdropstudio.freshdesk.com","port":null,"hostname":"virtualdropstudio.freshdesk.com","hash":null,"search":null,"query":null,"pathname":"/api/v2/contacts/101026585452","path":"/api/v2/contacts/101026585452","href":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452"} 2022-06-14 13:50:44.391 +0200 [debug] (proxy.js) Checking if the request url is whitelisted in manifest 2022-06-14 13:50:44.391 +0200 [debug] (proxy.js) Matched "https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452" with https://virtualdropstudio.freshdesk.com 2022-06-14 13:50:44.392 +0200 [debug] (proxy.js) Making proxy call with options as {"headers":{"Content-Type":"application/json","Authorization":"Basic eXBsT0hra3gyejJhY1ZRS01DZGU6eA=="},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get","whitelistedDomains":["https://virtualdropstudio.freshdesk.com"],"maxAttempts":1,"retryDelay":0,"timeout":5000} 2022-06-14 13:50:44.660 +0200 [debug] (proxy.js) Proxy came back with error as null, body as "{\"active\":false,\"address\":null,\"description\":null,\"email\":\"loloic3@sfr.fr\",\"id\":1010265 2022-06-14 13:50:44.660 +0200 [debug] (proxy.js) Looking for "application/json" in application/json,application/xml,text/html,text/xml,application/jsonp,text/plain,application/javascript,application/vnd.api+json 2022-06-14 13:50:45.321 +0200 [debug] (coverage-util.js) Writing coverage. 2022-06-14 13:51:01.705 +0200 [debug] (data-pipe.js) received call for route "proxy" with action "execute" and body {"action":"execute","data":{"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get"}} 2022-06-14 13:51:01.706 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-06-14 13:51:01.706 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-06-14 13:51:01.706 +0200 [debug] (proxy.js) Substituing Templates {"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get"} with {"iparam":{"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"},"oauth_iparams":{}} 2022-06-14 13:51:01.707 +0200 [debug] (proxy.js) Parsed https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452 as {"protocol":"https:","slashes":true,"auth":null,"host":"virtualdropstudio.freshdesk.com","port":null,"hostname":"virtualdropstudio.freshdesk.com","hash":null,"search":null,"query":null,"pathname":"/api/v2/contacts/101026585452","path":"/api/v2/contacts/101026585452","href":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452"} 2022-06-14 13:51:01.707 +0200 [debug] (proxy.js) Checking if the request url is whitelisted in manifest 2022-06-14 13:51:01.707 +0200 [debug] (proxy.js) Matched "https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452" with https://virtualdropstudio.freshdesk.com 2022-06-14 13:51:01.707 +0200 [debug] (proxy.js) Making proxy call with options as {"headers":{"Content-Type":"application/json","Authorization":"Basic eXBsT0hra3gyejJhY1ZRS01DZGU6eA=="},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get","whitelistedDomains":["https://virtualdropstudio.freshdesk.com"],"maxAttempts":1,"retryDelay":0,"timeout":5000} 2022-06-14 13:51:01.892 +0200 [debug] (proxy.js) Proxy came back with error as null, body as "{\"active\":false,\"address\":null,\"description\":null,\"email\":\"loloic3@sfr.fr\",\"id\":1010265 2022-06-14 13:51:01.892 +0200 [debug] (proxy.js) Looking for "application/json" in application/json,application/xml,text/html,text/xml,application/jsonp,text/plain,application/javascript,application/vnd.api+json 2022-06-14 13:51:03.310 +0200 [debug] (coverage-util.js) Writing coverage. 2022-06-14 13:51:18.088 +0200 [debug] (data-pipe.js) received call for route "proxy" with action "execute" and body {"action":"execute","data":{"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get"}} 2022-06-14 13:51:18.089 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-06-14 13:51:18.090 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-06-14 13:51:18.090 +0200 [debug] (proxy.js) Substituing Templates {"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get"} with {"iparam":{"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"},"oauth_iparams":{}} 2022-06-14 13:51:18.090 +0200 [debug] (proxy.js) Parsed https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452 as {"protocol":"https:","slashes":true,"auth":null,"host":"virtualdropstudio.freshdesk.com","port":null,"hostname":"virtualdropstudio.freshdesk.com","hash":null,"search":null,"query":null,"pathname":"/api/v2/contacts/101026585452","path":"/api/v2/contacts/101026585452","href":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452"} 2022-06-14 13:51:18.091 +0200 [debug] (proxy.js) Checking if the request url is whitelisted in manifest 2022-06-14 13:51:18.091 +0200 [debug] (proxy.js) Matched "https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452" with https://virtualdropstudio.freshdesk.com 2022-06-14 13:51:18.091 +0200 [debug] (proxy.js) Making proxy call with options as {"headers":{"Content-Type":"application/json","Authorization":"Basic eXBsT0hra3gyejJhY1ZRS01DZGU6eA=="},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get","whitelistedDomains":["https://virtualdropstudio.freshdesk.com"],"maxAttempts":1,"retryDelay":0,"timeout":5000} 2022-06-14 13:51:18.311 +0200 [debug] (proxy.js) Proxy came back with error as null, body as "{\"active\":false,\"address\":null,\"description\":null,\"email\":\"loloic3@sfr.fr\",\"id\":1010265 2022-06-14 13:51:18.311 +0200 [debug] (proxy.js) Looking for "application/json" in application/json,application/xml,text/html,text/xml,application/jsonp,text/plain,application/javascript,application/vnd.api+json 2022-06-14 13:51:19.317 +0200 [debug] (coverage-util.js) Writing coverage. 2022-06-14 13:51:49.106 +0200 [debug] (data-pipe.js) received call for route "proxy" with action "execute" and body {"action":"execute","data":{"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get"}} 2022-06-14 13:51:49.107 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-06-14 13:51:49.107 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-06-14 13:51:49.107 +0200 [debug] (proxy.js) Substituing Templates {"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get"} with {"iparam":{"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"},"oauth_iparams":{}} 2022-06-14 13:51:49.108 +0200 [debug] (proxy.js) Parsed https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452 as {"protocol":"https:","slashes":true,"auth":null,"host":"virtualdropstudio.freshdesk.com","port":null,"hostname":"virtualdropstudio.freshdesk.com","hash":null,"search":null,"query":null,"pathname":"/api/v2/contacts/101026585452","path":"/api/v2/contacts/101026585452","href":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452"} 2022-06-14 13:51:49.108 +0200 [debug] (proxy.js) Checking if the request url is whitelisted in manifest 2022-06-14 13:51:49.109 +0200 [debug] (proxy.js) Matched "https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452" with https://virtualdropstudio.freshdesk.com 2022-06-14 13:51:49.109 +0200 [debug] (proxy.js) Making proxy call with options as {"headers":{"Content-Type":"application/json","Authorization":"Basic eXBsT0hra3gyejJhY1ZRS01DZGU6eA=="},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get","whitelistedDomains":["https://virtualdropstudio.freshdesk.com"],"maxAttempts":1,"retryDelay":0,"timeout":5000} 2022-06-14 13:51:49.289 +0200 [debug] (proxy.js) Proxy came back with error as null, body as "{\"active\":false,\"address\":null,\"description\":null,\"email\":\"loloic3@sfr.fr\",\"id\":1010265 2022-06-14 13:51:49.289 +0200 [debug] (proxy.js) Looking for "application/json" in application/json,application/xml,text/html,text/xml,application/jsonp,text/plain,application/javascript,application/vnd.api+json 2022-06-14 13:51:49.313 +0200 [debug] (coverage-util.js) Writing coverage. 2022-06-14 13:53:43.699 +0200 [info] NOTE: We recommend a coverage of 80% for apps that are to be published in the public marketplace. 2022-06-14 13:53:44.622 +0200 [debug] (logger.js) Starting FDK in node v12.22.7 on linux 2022-06-14 13:53:45.194 +0200 [debug] (sequelize.js) setting up sqilite at "/home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/.fdk/store.sqlite" 2022-06-14 13:53:46.086 +0200 [debug] (index.js) Running with args {"cmd":"run","gopts":{},"opts":{},"goptArg":{},"optArg":{},"args":[]} 2022-06-14 13:53:46.087 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.3","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1655192985391}} 2022-06-14 13:53:46.087 +0200 [debug] (updater.js) last check less than an day ago, not looking for updates 2022-06-14 13:53:46.284 +0200 [debug] (manifest.js) Reloading manifest with {"platform-version":"2.2","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"whitelisted-domains":["https://<%= iparam.freshdesk_domain %>.freshdesk.com"],"engines":{"node":"12.22.7","fdk":"7.1.0"}}. 2022-06-14 13:53:46.284 +0200 [debug] (manifest.js) Inferred db as features. 2022-06-14 13:53:46.286 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.3","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1655192985391}} 2022-06-14 13:53:46.296 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.3","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1655192985391}} 2022-06-14 13:53:47.242 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.3","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1655192985391}} 2022-06-14 13:53:49.857 +0200 [debug] (validate.js) asked to skip the following validations,  2022-06-14 13:53:49.857 +0200 [debug] (validate.js) running validator actions 2022-06-14 13:53:49.857 +0200 [debug] (validate.js) running validator app-dir 2022-06-14 13:53:49.858 +0200 [debug] (validate.js) running validator config-dir 2022-06-14 13:53:49.858 +0200 [debug] (config-dir.js) Checking to see if /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/config/ exists. 2022-06-14 13:53:49.858 +0200 [debug] (config-dir.js) Fetched the following config files iparams.json 2022-06-14 13:53:49.859 +0200 [debug] (validate.js) running validator custom-objects 2022-06-14 13:53:49.859 +0200 [debug] (validate.js) running validator event 2022-06-14 13:53:49.859 +0200 [debug] (validate.js) running validator iparam 2022-06-14 13:53:49.861 +0200 [debug] (validate.js) skipping validator lint 2022-06-14 13:53:49.861 +0200 [debug] (validate.js) running validator manifest 2022-06-14 13:53:49.861 +0200 [debug] (manifest.js) running manifest validation with type run_validation 2022-06-14 13:53:49.862 +0200 [debug] (validate.js) skipping validator manifest-dependency 2022-06-14 13:53:49.862 +0200 [debug] (validate.js) running validator oauth 2022-06-14 13:53:49.862 +0200 [debug] (validate.js) skipping validator pkgsize 2022-06-14 13:53:49.862 +0200 [debug] (validate.js) running validator schema 2022-06-14 13:53:49.862 +0200 [debug] (validate.js) running validator version-check 2022-06-14 13:53:49.865 +0200 [debug] (watcher.js) Preparing to watch the following files ./app,./config,./manifest.json 2022-06-14 13:53:49.867 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-06-14 13:53:49.868 +0200 [debug] (custom-objects.js) to force or not? false 2022-06-14 13:53:49.868 +0200 [debug] (custom-objects.js) beginning to re-sync db 2022-06-14 13:53:50.100 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/bigint-pivot.js" 2022-06-14 13:53:50.102 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field-choice.js" 2022-06-14 13:53:50.102 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field.js" 2022-06-14 13:53:50.103 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity.js" 2022-06-14 13:53:50.104 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/record.js" 2022-06-14 13:53:50.105 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/string-pivot.js" 2022-06-14 13:53:50.120 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-06-14 13:53:50.121 +0200 [debug] (custom-objects.js) updated local store with latest entity hash 2022-06-14 13:53:50.124 +0200 [info] Starting local testing server at http://*:10001/ Append 'dev=true' to your Freshdesk account URL to start testing e.g. https://domain.freshdesk.com/a/tickets/1?dev=true Quit the server with Control-C. 2022-06-14 13:53:50.125 +0200 [info] To test the installation page, visit - http://localhost:10001/custom_configs 2022-06-14 13:54:11.125 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-06-14 13:54:11.126 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-06-14 13:54:11.193 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-06-14 13:54:11.193 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-06-14 13:54:11.248 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-06-14 13:54:11.248 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-06-14 13:54:11.338 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-06-14 13:54:11.338 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-06-14 13:54:11.355 +0200 [debug] (iframe.js) Responding with contents of /template.html 2022-06-14 13:54:11.367 +0200 [debug] (iframe.js) Responding with contents of /app.js 2022-06-14 13:54:11.367 +0200 [debug] (coverage-util.js) Instrumenting /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/app/app.js 2022-06-14 13:54:11.511 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-06-14 13:54:11.511 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-06-14 13:54:11.549 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-06-14 13:54:11.549 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-06-14 13:54:11.588 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-06-14 13:54:11.588 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-06-14 13:54:14.322 +0200 [debug] (coverage-util.js) Writing coverage. 2022-06-14 13:54:25.799 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-06-14 13:54:25.799 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-06-14 13:54:25.838 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-06-14 13:54:25.838 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-06-14 13:54:25.886 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-06-14 13:54:25.886 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-06-14 13:54:25.930 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-06-14 13:54:25.931 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-06-14 13:54:25.948 +0200 [debug] (iframe.js) Responding with contents of /template.html 2022-06-14 13:54:25.962 +0200 [debug] (iframe.js) Responding with contents of /app.js 2022-06-14 13:54:25.962 +0200 [debug] (coverage-util.js) Instrumenting /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/app/app.js 2022-06-14 13:54:26.071 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-06-14 13:54:26.071 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-06-14 13:54:26.123 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-06-14 13:54:26.123 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-06-14 13:54:26.160 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-06-14 13:54:26.160 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-06-14 13:54:29.320 +0200 [debug] (coverage-util.js) Writing coverage. 2022-06-14 13:54:29.714 +0200 [debug] (data-pipe.js) received call for route "proxy" with action "execute" and body {"action":"execute","data":{"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get"}} 2022-06-14 13:54:29.715 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-06-14 13:54:29.717 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-06-14 13:54:29.717 +0200 [debug] (proxy.js) Substituing Templates {"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get"} with {"iparam":{"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"},"oauth_iparams":{}} 2022-06-14 13:54:29.721 +0200 [debug] (proxy.js) Parsed https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452 as {"protocol":"https:","slashes":true,"auth":null,"host":"virtualdropstudio.freshdesk.com","port":null,"hostname":"virtualdropstudio.freshdesk.com","hash":null,"search":null,"query":null,"pathname":"/api/v2/contacts/101026585452","path":"/api/v2/contacts/101026585452","href":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452"} 2022-06-14 13:54:29.724 +0200 [debug] (proxy.js) Checking if the request url is whitelisted in manifest 2022-06-14 13:54:29.725 +0200 [debug] (proxy.js) Matched "https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452" with https://virtualdropstudio.freshdesk.com 2022-06-14 13:54:29.725 +0200 [debug] (proxy.js) Making proxy call with options as {"headers":{"Content-Type":"application/json","Authorization":"Basic eXBsT0hra3gyejJhY1ZRS01DZGU6eA=="},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get","whitelistedDomains":["https://virtualdropstudio.freshdesk.com"],"maxAttempts":1,"retryDelay":0,"timeout":5000} 2022-06-14 13:54:30.006 +0200 [debug] (proxy.js) Proxy came back with error as null, body as "{\"active\":false,\"address\":null,\"description\":null,\"email\":\"loloic3@sfr.fr\",\"id\":1010265 2022-06-14 13:54:30.006 +0200 [debug] (proxy.js) Looking for "application/json" in application/json,application/xml,text/html,text/xml,application/jsonp,text/plain,application/javascript,application/vnd.api+json 2022-06-14 13:54:31.312 +0200 [debug] (coverage-util.js) Writing coverage. 2022-06-14 13:54:41.943 +0200 [debug] (data-pipe.js) received call for route "proxy" with action "execute" and body {"action":"execute","data":{"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get"}} 2022-06-14 13:54:41.943 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-06-14 13:54:41.944 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-06-14 13:54:41.944 +0200 [debug] (proxy.js) Substituing Templates {"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get"} with {"iparam":{"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"},"oauth_iparams":{}} 2022-06-14 13:54:41.944 +0200 [debug] (proxy.js) Parsed https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452 as {"protocol":"https:","slashes":true,"auth":null,"host":"virtualdropstudio.freshdesk.com","port":null,"hostname":"virtualdropstudio.freshdesk.com","hash":null,"search":null,"query":null,"pathname":"/api/v2/contacts/101026585452","path":"/api/v2/contacts/101026585452","href":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452"} 2022-06-14 13:54:41.944 +0200 [debug] (proxy.js) Checking if the request url is whitelisted in manifest 2022-06-14 13:54:41.945 +0200 [debug] (proxy.js) Matched "https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452" with https://virtualdropstudio.freshdesk.com 2022-06-14 13:54:41.945 +0200 [debug] (proxy.js) Making proxy call with options as {"headers":{"Content-Type":"application/json","Authorization":"Basic eXBsT0hra3gyejJhY1ZRS01DZGU6eA=="},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get","whitelistedDomains":["https://virtualdropstudio.freshdesk.com"],"maxAttempts":1,"retryDelay":0,"timeout":5000} 2022-06-14 13:54:42.137 +0200 [debug] (proxy.js) Proxy came back with error as null, body as "{\"active\":false,\"address\":null,\"description\":null,\"email\":\"loloic3@sfr.fr\",\"id\":1010265 2022-06-14 13:54:42.138 +0200 [debug] (proxy.js) Looking for "application/json" in application/json,application/xml,text/html,text/xml,application/jsonp,text/plain,application/javascript,application/vnd.api+json 2022-06-14 13:54:43.319 +0200 [debug] (coverage-util.js) Writing coverage. 2022-06-14 13:55:11.464 +0200 [debug] (data-pipe.js) received call for route "proxy" with action "execute" and body {"action":"execute","data":{"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get"}} 2022-06-14 13:55:11.465 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-06-14 13:55:11.465 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-06-14 13:55:11.465 +0200 [debug] (proxy.js) Substituing Templates {"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get"} with {"iparam":{"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"},"oauth_iparams":{}} 2022-06-14 13:55:11.466 +0200 [debug] (proxy.js) Parsed https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452 as {"protocol":"https:","slashes":true,"auth":null,"host":"virtualdropstudio.freshdesk.com","port":null,"hostname":"virtualdropstudio.freshdesk.com","hash":null,"search":null,"query":null,"pathname":"/api/v2/contacts/101026585452","path":"/api/v2/contacts/101026585452","href":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452"} 2022-06-14 13:55:11.466 +0200 [debug] (proxy.js) Checking if the request url is whitelisted in manifest 2022-06-14 13:55:11.467 +0200 [debug] (proxy.js) Matched "https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452" with https://virtualdropstudio.freshdesk.com 2022-06-14 13:55:11.467 +0200 [debug] (proxy.js) Making proxy call with options as {"headers":{"Content-Type":"application/json","Authorization":"Basic eXBsT0hra3gyejJhY1ZRS01DZGU6eA=="},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get","whitelistedDomains":["https://virtualdropstudio.freshdesk.com"],"maxAttempts":1,"retryDelay":0,"timeout":5000} 2022-06-14 13:55:11.668 +0200 [debug] (proxy.js) Proxy came back with error as null, body as "{\"active\":false,\"address\":null,\"description\":null,\"email\":\"loloic3@sfr.fr\",\"id\":1010265 2022-06-14 13:55:11.668 +0200 [debug] (proxy.js) Looking for "application/json" in application/json,application/xml,text/html,text/xml,application/jsonp,text/plain,application/javascript,application/vnd.api+json 2022-06-14 13:57:17.091 +0200 [info] NOTE: We recommend a coverage of 80% for apps that are to be published in the public marketplace. 2022-06-14 13:57:23.978 +0200 [debug] (logger.js) Starting FDK in node v12.22.7 on linux 2022-06-14 13:57:24.549 +0200 [debug] (sequelize.js) setting up sqilite at "/home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/.fdk/store.sqlite" 2022-06-14 13:57:25.448 +0200 [debug] (index.js) Running with args {"cmd":"validate","gopts":{},"opts":{},"goptArg":{},"optArg":{},"args":[]} 2022-06-14 13:57:25.449 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.3","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1655192985391}} 2022-06-14 13:57:25.449 +0200 [debug] (updater.js) last check less than an day ago, not looking for updates 2022-06-14 13:57:25.462 +0200 [debug] (manifest.js) Reloading manifest with {"platform-version":"2.2","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"whitelisted-domains":["https://<%= iparam.freshdesk_domain %>.freshdesk.com"],"engines":{"node":"12.22.7","fdk":"7.1.0"}}. 2022-06-14 13:57:25.462 +0200 [debug] (manifest.js) Inferred db as features. 2022-06-14 13:57:25.462 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.3","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1655192985391}} 2022-06-14 13:57:26.459 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.3","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1655192985391}} 2022-06-14 13:57:28.909 +0200 [debug] (validate.js) asked to skip the following validations,  2022-06-14 13:57:28.909 +0200 [debug] (validate.js) running validator actions 2022-06-14 13:57:28.909 +0200 [debug] (validate.js) running validator app-dir 2022-06-14 13:57:28.910 +0200 [debug] (validate.js) running validator config-dir 2022-06-14 13:57:28.910 +0200 [debug] (config-dir.js) Checking to see if /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/config/ exists. 2022-06-14 13:57:28.910 +0200 [debug] (config-dir.js) Fetched the following config files iparams.json 2022-06-14 13:57:28.911 +0200 [debug] (validate.js) running validator custom-objects 2022-06-14 13:57:28.911 +0200 [debug] (validate.js) running validator event 2022-06-14 13:57:28.911 +0200 [debug] (validate.js) running validator iparam 2022-06-14 13:57:28.913 +0200 [debug] (validate.js) running validator lint 2022-06-14 13:57:28.914 +0200 [debug] (lint.js) passed fix flag: false 2022-06-14 13:57:28.915 +0200 [debug] (lint-util.js) Running the following lints on the file app/app.js : no-caller,no-process-env,complexity,max-nested-callbacks,handle-callback-err,no-eval,no-alert,no-debugger,no-unreachable,no-unlisted-url,no-unhandled-promise,no-logging-rejections,no-non-client-request-model,no-cross-scope-assign,no-empty-function,no-unused-vars 2022-06-14 13:57:29.062 +0200 [debug] (validate.js) running validator manifest 2022-06-14 13:57:29.062 +0200 [debug] (manifest.js) running manifest validation with type pre_pkg_validation 2022-06-14 13:57:29.063 +0200 [debug] (validate.js) running validator manifest-dependency 2022-06-14 13:57:29.063 +0200 [debug] (validate.js) running validator oauth 2022-06-14 13:57:29.063 +0200 [debug] (validate.js) skipping validator pkgsize 2022-06-14 13:57:29.063 +0200 [debug] (validate.js) skipping validator schema 2022-06-14 13:57:29.063 +0200 [debug] (validate.js) running validator version-check 2022-06-14 13:57:29.066 +0200 [warn] Please ensure that the following are addressed for quick review process. 2022-06-14 13:57:29.067 +0200 [warn] [WARN] app/app.js::9: 'errorMessage' declared and assigned in different scopes. Possible asynchronous race condition. 2022-06-14 13:57:29.067 +0200 [warn] [WARN] app/app.js::14: Expected rejection to be handled. 2022-06-14 13:57:29.068 +0200 [warn] [WARN] app/app.js::37: 'errorMessage' declared and assigned in different scopes. Possible asynchronous race condition. 2022-06-14 13:57:29.068 +0200 [warn] [WARN] app/app.js::40: Expected rejection to be handled. 2022-06-14 13:57:29.069 +0200 [error] 2022-06-14 13:57:29.069 +0200 [info] Validation Successful 2022-06-14 13:57:35.968 +0200 [debug] (logger.js) Starting FDK in node v12.22.7 on linux 2022-06-14 13:57:36.531 +0200 [debug] (sequelize.js) setting up sqilite at "/home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/.fdk/store.sqlite" 2022-06-14 13:57:37.426 +0200 [debug] (index.js) Running with args {"cmd":"pack","gopts":{},"opts":{},"goptArg":{},"optArg":{},"args":[]} 2022-06-14 13:57:37.426 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.3","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1655192985391}} 2022-06-14 13:57:37.427 +0200 [debug] (updater.js) last check less than an day ago, not looking for updates 2022-06-14 13:57:38.041 +0200 [debug] (manifest.js) Reloading manifest with {"platform-version":"2.2","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"whitelisted-domains":["https://<%= iparam.freshdesk_domain %>.freshdesk.com"],"engines":{"node":"12.22.7","fdk":"7.1.0"}}. 2022-06-14 13:57:38.041 +0200 [debug] (manifest.js) Inferred db as features. 2022-06-14 13:57:38.042 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.3","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1655192985391}} 2022-06-14 13:57:39.041 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.3","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1655192985391}} 2022-06-14 13:57:41.521 +0200 [debug] (pack.js) 'pack' called with {} 2022-06-14 13:57:41.522 +0200 [debug] (validate.js) asked to skip the following validations,  2022-06-14 13:57:41.522 +0200 [debug] (validate.js) running validator actions 2022-06-14 13:57:41.522 +0200 [debug] (validate.js) running validator app-dir 2022-06-14 13:57:41.523 +0200 [debug] (validate.js) running validator config-dir 2022-06-14 13:57:41.523 +0200 [debug] (config-dir.js) Checking to see if /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/config/ exists. 2022-06-14 13:57:41.523 +0200 [debug] (config-dir.js) Fetched the following config files iparams.json 2022-06-14 13:57:41.524 +0200 [debug] (validate.js) running validator custom-objects 2022-06-14 13:57:41.524 +0200 [debug] (validate.js) running validator event 2022-06-14 13:57:41.524 +0200 [debug] (validate.js) running validator iparam 2022-06-14 13:57:41.527 +0200 [debug] (validate.js) running validator lint 2022-06-14 13:57:41.527 +0200 [debug] (lint.js) passed fix flag: undefined 2022-06-14 13:57:41.528 +0200 [debug] (lint-util.js) Running the following lints on the file app/app.js : no-caller,no-process-env,complexity,max-nested-callbacks,handle-callback-err,no-eval,no-alert,no-debugger,no-unreachable,no-unlisted-url,no-unhandled-promise,no-logging-rejections,no-non-client-request-model,no-cross-scope-assign,no-empty-function,no-unused-vars 2022-06-14 13:57:41.585 +0200 [debug] (validate.js) running validator manifest 2022-06-14 13:57:41.585 +0200 [debug] (manifest.js) running manifest validation with type pre_pkg_validation 2022-06-14 13:57:41.585 +0200 [debug] (validate.js) running validator manifest-dependency 2022-06-14 13:57:41.586 +0200 [debug] (validate.js) running validator oauth 2022-06-14 13:57:41.586 +0200 [debug] (validate.js) skipping validator pkgsize 2022-06-14 13:57:41.586 +0200 [debug] (validate.js) skipping validator schema 2022-06-14 13:57:41.586 +0200 [debug] (validate.js) running validator version-check 2022-06-14 13:57:41.589 +0200 [warn] Please ensure that the following are addressed for quick review process. 2022-06-14 13:57:41.589 +0200 [warn] [WARN] app/app.js::9: 'errorMessage' declared and assigned in different scopes. Possible asynchronous race condition. 2022-06-14 13:57:41.590 +0200 [warn] [WARN] app/app.js::14: Expected rejection to be handled. 2022-06-14 13:57:41.590 +0200 [warn] [WARN] app/app.js::37: 'errorMessage' declared and assigned in different scopes. Possible asynchronous race condition. 2022-06-14 13:57:41.591 +0200 [warn] [WARN] app/app.js::40: Expected rejection to be handled. 2022-06-14 13:57:41.591 +0200 [error] 2022-06-14 13:57:41.592 +0200 [info] App being packed in Node v12.22.7 using FDK 7.4.0 2022-06-14 13:57:41.602 +0200 [debug] (pack.js) Cannot find './src' directory while packing. 2022-06-14 13:57:41.602 +0200 [debug] (pack.js) Cannot find './server' directory while packing. 2022-06-14 13:57:41.605 +0200 [debug] (file-util.js) Computing digest for app/app.js,app/template.html,manifest.json. 2022-06-14 13:57:41.607 +0200 [debug] (pack.js) Packing ./app/app.js 2022-06-14 13:57:41.607 +0200 [debug] (pack.js) Packing ./app/template.html 2022-06-14 13:57:41.608 +0200 [debug] (pack.js) Packing ./config/iparams.json 2022-06-14 13:57:41.608 +0200 [debug] (pack.js) Packing ./manifest.json 2022-06-14 13:57:41.608 +0200 [debug] (pack.js) Packing ./.report.json 2022-06-14 13:57:41.608 +0200 [debug] (pack.js) Packing ./README.md 2022-06-14 13:57:41.608 +0200 [debug] (pack.js) Packing ./digest.md5 2022-06-14 13:57:41.644 +0200 [debug] (validate.js) asked to skip the following validations,  2022-06-14 13:57:41.644 +0200 [debug] (validate.js) skipping validator actions 2022-06-14 13:57:41.645 +0200 [debug] (validate.js) skipping validator app-dir 2022-06-14 13:57:41.645 +0200 [debug] (validate.js) skipping validator config-dir 2022-06-14 13:57:41.645 +0200 [debug] (validate.js) skipping validator custom-objects 2022-06-14 13:57:41.645 +0200 [debug] (validate.js) skipping validator event 2022-06-14 13:57:41.645 +0200 [debug] (validate.js) skipping validator iparam 2022-06-14 13:57:41.645 +0200 [debug] (validate.js) skipping validator lint 2022-06-14 13:57:41.645 +0200 [debug] (validate.js) skipping validator manifest 2022-06-14 13:57:41.645 +0200 [debug] (validate.js) skipping validator manifest-dependency 2022-06-14 13:57:41.645 +0200 [debug] (validate.js) skipping validator oauth 2022-06-14 13:57:41.645 +0200 [debug] (validate.js) running validator pkgsize 2022-06-14 13:57:41.645 +0200 [debug] (validate.js) skipping validator schema 2022-06-14 13:57:41.645 +0200 [debug] (validate.js) skipping validator version-check 2022-06-14 13:57:41.646 +0200 [info] App packed successfully at /dist/tickets_close_interceptor.zip 2022-06-14 13:57:41.647 +0200 [info] Upload this file to the marketplace by following the instructions at https://developer.freshdesk.com/v2/docs/freshdesk-apps/ 2022-06-14 13:57:41.648 +0200 [debug] (file-util.js) Deleting digest. 2022-06-14 14:37:11.033 +0200 [debug] (logger.js) Starting FDK in node v12.22.7 on linux 2022-06-14 14:37:12.025 +0200 [debug] (sequelize.js) setting up sqilite at "/home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/.fdk/store.sqlite" 2022-06-14 14:37:13.001 +0200 [debug] (index.js) Running with args {"cmd":"run","gopts":{},"opts":{},"goptArg":{},"optArg":{},"args":[]} 2022-06-14 14:37:13.001 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.3","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1655192985391}} 2022-06-14 14:37:13.002 +0200 [debug] (updater.js) last check less than an day ago, not looking for updates 2022-06-14 14:37:13.294 +0200 [debug] (manifest.js) Reloading manifest with {"platform-version":"2.2","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"whitelisted-domains":["https://<%= iparam.freshdesk_domain %>.freshdesk.com"],"engines":{"node":"12.22.7","fdk":"7.1.0"}}. 2022-06-14 14:37:13.295 +0200 [debug] (manifest.js) Inferred db as features. 2022-06-14 14:37:13.297 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.3","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1655192985391}} 2022-06-14 14:37:13.311 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.3","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1655192985391}} 2022-06-14 14:37:14.797 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.3","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1655192985391}} 2022-06-14 14:37:17.790 +0200 [debug] (validate.js) asked to skip the following validations,  2022-06-14 14:37:17.790 +0200 [debug] (validate.js) running validator actions 2022-06-14 14:37:17.790 +0200 [debug] (validate.js) running validator app-dir 2022-06-14 14:37:17.791 +0200 [debug] (validate.js) running validator config-dir 2022-06-14 14:37:17.792 +0200 [debug] (config-dir.js) Checking to see if /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/config/ exists. 2022-06-14 14:37:17.792 +0200 [debug] (config-dir.js) Fetched the following config files iparams.json 2022-06-14 14:37:17.792 +0200 [debug] (validate.js) running validator custom-objects 2022-06-14 14:37:17.793 +0200 [debug] (validate.js) running validator event 2022-06-14 14:37:17.793 +0200 [debug] (validate.js) running validator iparam 2022-06-14 14:37:17.795 +0200 [debug] (validate.js) skipping validator lint 2022-06-14 14:37:17.796 +0200 [debug] (validate.js) running validator manifest 2022-06-14 14:37:17.796 +0200 [debug] (manifest.js) running manifest validation with type run_validation 2022-06-14 14:37:17.796 +0200 [debug] (validate.js) skipping validator manifest-dependency 2022-06-14 14:37:17.796 +0200 [debug] (validate.js) running validator oauth 2022-06-14 14:37:17.796 +0200 [debug] (validate.js) skipping validator pkgsize 2022-06-14 14:37:17.796 +0200 [debug] (validate.js) running validator schema 2022-06-14 14:37:17.796 +0200 [debug] (validate.js) running validator version-check 2022-06-14 14:37:17.799 +0200 [debug] (watcher.js) Preparing to watch the following files ./app,./config,./manifest.json 2022-06-14 14:37:17.801 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-06-14 14:37:17.802 +0200 [debug] (custom-objects.js) to force or not? false 2022-06-14 14:37:17.802 +0200 [debug] (custom-objects.js) beginning to re-sync db 2022-06-14 14:37:18.225 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/bigint-pivot.js" 2022-06-14 14:37:18.227 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field-choice.js" 2022-06-14 14:37:18.228 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity-field.js" 2022-06-14 14:37:18.229 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/entity.js" 2022-06-14 14:37:18.230 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/record.js" 2022-06-14 14:37:18.231 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v12.22.7/lib/node_modules/fdk/lib/models/string-pivot.js" 2022-06-14 14:37:18.246 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-06-14 14:37:18.247 +0200 [debug] (custom-objects.js) updated local store with latest entity hash 2022-06-14 14:37:18.249 +0200 [info] Starting local testing server at http://*:10001/ Append 'dev=true' to your Freshdesk account URL to start testing e.g. https://domain.freshdesk.com/a/tickets/1?dev=true Quit the server with Control-C. 2022-06-14 14:37:18.249 +0200 [info] To test the installation page, visit - http://localhost:10001/custom_configs 2022-06-14 14:37:41.202 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-06-14 14:37:41.203 +0200 [debug] (iframe.js) Responding to product with {"configs":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-06-14 14:37:41.234 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-06-14 14:38:23.754 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-06-14 14:38:24.363 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-06-14 14:39:04.827 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-06-14 14:39:05.051 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-06-14 14:39:16.285 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-06-14 14:39:16.462 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-06-14 14:39:25.374 +0200 [info] NOTE: We recommend a coverage of 80% for apps that are to be published in the public marketplace. 2022-06-14 16:41:13.819 +0200 [debug] (configs.js) loaded default configs as "{"updates":{"manifest_url":"https://ws.freshdev.io/cli/updates.json","period":24},"log":{"level":"info"},"javascript":{"ecma_version":2020}}" 2022-06-14 16:41:13.821 +0200 [debug] (file-util.js) Error while requiring /home/lobose/.fdk/configs.json: Cannot find module '/home/lobose/.fdk/configs.json' Require stack: - /home/lobose/.nvm/versions/node/v14.19.3/lib/node_modules/fdk/lib/utils/file-util.js - /home/lobose/.nvm/versions/node/v14.19.3/lib/node_modules/fdk/lib/configs.js - /home/lobose/.nvm/versions/node/v14.19.3/lib/node_modules/fdk/lib/logger.js - /home/lobose/.nvm/versions/node/v14.19.3/lib/node_modules/fdk/index.js 2022-06-14 16:41:13.821 +0200 [debug] (configs.js) loaded global configs as "{}" 2022-06-14 16:41:13.821 +0200 [debug] (file-util.js) Error while requiring /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/.fdk/configs.json: Cannot find module '/home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/.fdk/configs.json' Require stack: - /home/lobose/.nvm/versions/node/v14.19.3/lib/node_modules/fdk/lib/utils/file-util.js - /home/lobose/.nvm/versions/node/v14.19.3/lib/node_modules/fdk/lib/configs.js - /home/lobose/.nvm/versions/node/v14.19.3/lib/node_modules/fdk/lib/logger.js - /home/lobose/.nvm/versions/node/v14.19.3/lib/node_modules/fdk/index.js 2022-06-14 16:41:13.821 +0200 [debug] (configs.js) loaded local configs as "{}" 2022-06-14 16:41:13.821 +0200 [debug] (configs.js) loaded env configs as "{"updates":{},"log":{},"javascript":{}}" 2022-06-14 16:41:13.822 +0200 [debug] (configs.js) loaded resolved configs as "{"updates":{"manifest_url":"https://ws.freshdev.io/cli/updates.json","period":24},"log":{"level":"info"},"javascript":{"ecma_version":2020}}" 2022-06-14 16:41:13.822 +0200 [debug] (logger.js) Starting FDK in node v14.19.3 on linux 2022-06-14 16:41:13.822 +0200 [debug] (sequelize.js) setting up sqilite at "/home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/.fdk/store.sqlite" 2022-06-14 16:41:13.822 +0200 [debug] (index.js) Running with args {"cmd":"run","gopts":{},"opts":{},"goptArg":{},"optArg":{},"args":[]} 2022-06-14 16:41:13.822 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.3","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1655192985391}} 2022-06-14 16:41:13.822 +0200 [debug] (updater.js) last check less than 24 hours ago, not looking for updates 2022-06-14 16:41:15.121 +0200 [debug] (manifest.js) Reloading manifest with {"platform-version":"2.2","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"whitelisted-domains":["https://<%= iparam.freshdesk_domain %>.freshdesk.com"],"engines":{"node":"12.22.7","fdk":"7.1.0"}}. 2022-06-14 16:41:15.122 +0200 [debug] (manifest.js) Inferred db as features. 2022-06-14 16:41:15.136 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.3","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1655192985391}} 2022-06-14 16:41:15.311 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.3","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1655192985391}} 2022-06-14 16:41:23.364 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.3","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1655192985391}} 2022-06-14 16:41:32.220 +0200 [debug] (validate.js) asked to skip the following validations,  2022-06-14 16:41:32.221 +0200 [debug] (validate.js) running validator actions 2022-06-14 16:41:32.221 +0200 [debug] (validate.js) running validator app-dir 2022-06-14 16:41:32.223 +0200 [debug] (validate.js) running validator config-dir 2022-06-14 16:41:32.223 +0200 [debug] (config-dir.js) Checking to see if /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/config/ exists. 2022-06-14 16:41:32.223 +0200 [debug] (config-dir.js) Fetched the following config files iparams.json 2022-06-14 16:41:32.223 +0200 [debug] (validate.js) running validator custom-objects 2022-06-14 16:41:32.223 +0200 [debug] (validate.js) running validator event 2022-06-14 16:41:32.224 +0200 [debug] (validate.js) running validator iparam 2022-06-14 16:41:32.227 +0200 [debug] (validate.js) skipping validator lint 2022-06-14 16:41:32.227 +0200 [debug] (validate.js) running validator manifest 2022-06-14 16:41:32.227 +0200 [debug] (manifest.js) running manifest validation with type run_validation 2022-06-14 16:41:32.227 +0200 [debug] (validate.js) skipping validator manifest-dependency 2022-06-14 16:41:32.228 +0200 [debug] (validate.js) running validator oauth 2022-06-14 16:41:32.228 +0200 [debug] (validate.js) skipping validator pkgsize 2022-06-14 16:41:32.228 +0200 [debug] (validate.js) running validator schema 2022-06-14 16:41:32.228 +0200 [debug] (validate.js) running validator version-check 2022-06-14 16:41:32.230 +0200 [warn] [WARN] App was developed in Node.js runtime 12.22.7, and is currently being executed in v14.19.3 2022-06-14 16:42:20.312 +0200 [debug] (version-check.js) Deleting coverage folder 2022-06-14 16:42:20.331 +0200 [debug] (version-check.js) Deleting node_modules folder 2022-06-14 16:42:20.332 +0200 [debug] (version-check.js) Modifying Node.js version in manifest 2022-06-14 16:42:20.340 +0200 [debug] (manifest.js) Reloading manifest with {"platform-version":"2.2","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"whitelisted-domains":["https://<%= iparam.freshdesk_domain %>.freshdesk.com"],"engines":{"node":"14.19.3","fdk":"8.3.3"}}. 2022-06-14 16:42:20.340 +0200 [debug] (manifest.js) Inferred db as features. 2022-06-14 16:42:20.342 +0200 [debug] (watcher.js) Preparing to watch the following files ./app,./config,./manifest.json 2022-06-14 16:42:20.346 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-06-14 16:42:20.346 +0200 [debug] (custom-objects.js) to force or not? false 2022-06-14 16:42:20.346 +0200 [debug] (custom-objects.js) beginning to re-sync db 2022-06-14 16:42:20.898 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v14.19.3/lib/node_modules/fdk/lib/models/bigint-pivot.js" 2022-06-14 16:42:20.910 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v14.19.3/lib/node_modules/fdk/lib/models/entity-field-choice.js" 2022-06-14 16:42:20.917 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v14.19.3/lib/node_modules/fdk/lib/models/entity-field.js" 2022-06-14 16:42:20.923 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v14.19.3/lib/node_modules/fdk/lib/models/entity.js" 2022-06-14 16:42:20.931 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v14.19.3/lib/node_modules/fdk/lib/models/record.js" 2022-06-14 16:42:20.938 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v14.19.3/lib/node_modules/fdk/lib/models/string-pivot.js" 2022-06-14 16:42:20.965 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-06-14 16:42:20.965 +0200 [debug] (custom-objects.js) updated local store with latest entity hash 2022-06-14 16:42:20.968 +0200 [info] Starting local testing server at http://*:10001/ Append 'dev=true' to your Freshdesk account URL to start testing e.g. https://domain.freshdesk.com/a/tickets/1?dev=true Quit the server with Control-C. 2022-06-14 16:42:20.969 +0200 [info] To test the installation page, visit - http://localhost:10001/custom_configs 2022-06-14 16:42:54.785 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-06-14 16:42:54.788 +0200 [debug] (iframe.js) Responding to product with {"configs":{"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"agent/template.html","icon":"agent/undefined"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-06-14 16:42:54.820 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-06-14 16:46:03.301 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-06-14 16:56:14.375 +0200 [info] NOTE: We recommend a coverage of 80% for apps that are to be published in the public marketplace. 2022-06-14 16:57:18.049 +0200 [debug] (configs.js) loaded default configs as "{"updates":{"manifest_url":"https://ws.freshdev.io/cli/updates.json","period":24},"log":{"level":"info"},"javascript":{"ecma_version":2020}}" 2022-06-14 16:57:18.050 +0200 [debug] (file-util.js) Error while requiring /home/lobose/.fdk/configs.json: Cannot find module '/home/lobose/.fdk/configs.json' Require stack: - /home/lobose/.nvm/versions/node/v14.19.3/lib/node_modules/fdk/lib/utils/file-util.js - /home/lobose/.nvm/versions/node/v14.19.3/lib/node_modules/fdk/lib/configs.js - /home/lobose/.nvm/versions/node/v14.19.3/lib/node_modules/fdk/lib/logger.js - /home/lobose/.nvm/versions/node/v14.19.3/lib/node_modules/fdk/index.js 2022-06-14 16:57:18.050 +0200 [debug] (configs.js) loaded global configs as "{}" 2022-06-14 16:57:18.051 +0200 [debug] (file-util.js) Error while requiring /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/.fdk/configs.json: Cannot find module '/home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/.fdk/configs.json' Require stack: - /home/lobose/.nvm/versions/node/v14.19.3/lib/node_modules/fdk/lib/utils/file-util.js - /home/lobose/.nvm/versions/node/v14.19.3/lib/node_modules/fdk/lib/configs.js - /home/lobose/.nvm/versions/node/v14.19.3/lib/node_modules/fdk/lib/logger.js - /home/lobose/.nvm/versions/node/v14.19.3/lib/node_modules/fdk/index.js 2022-06-14 16:57:18.051 +0200 [debug] (configs.js) loaded local configs as "{}" 2022-06-14 16:57:18.051 +0200 [debug] (configs.js) loaded env configs as "{"updates":{},"log":{},"javascript":{}}" 2022-06-14 16:57:18.051 +0200 [debug] (configs.js) loaded resolved configs as "{"updates":{"manifest_url":"https://ws.freshdev.io/cli/updates.json","period":24},"log":{"level":"info"},"javascript":{"ecma_version":2020}}" 2022-06-14 16:57:18.051 +0200 [debug] (logger.js) Starting FDK in node v14.19.3 on linux 2022-06-14 16:57:18.051 +0200 [debug] (sequelize.js) setting up sqilite at "/home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/.fdk/store.sqlite" 2022-06-14 16:57:18.051 +0200 [debug] (index.js) Running with args {"cmd":"run","gopts":{},"opts":{},"goptArg":{},"optArg":{},"args":[]} 2022-06-14 16:57:18.051 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.3","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1655192985391}} 2022-06-14 16:57:18.051 +0200 [debug] (updater.js) last check less than 24 hours ago, not looking for updates 2022-06-14 16:57:18.243 +0200 [debug] (manifest.js) Reloading manifest with {"platform-version":"2.2","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"whitelisted-domains":["https://<%= iparam.freshdesk_domain %>.freshdesk.com"],"engines":{"node":"14.19.3","fdk":"8.3.3"}}. 2022-06-14 16:57:18.243 +0200 [debug] (manifest.js) Inferred db as features. 2022-06-14 16:57:18.245 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.3","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1655192985391}} 2022-06-14 16:57:18.261 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.3","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1655192985391}} 2022-06-14 16:57:19.205 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.3","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1655192985391}} 2022-06-14 16:57:22.923 +0200 [debug] (validate.js) asked to skip the following validations,  2022-06-14 16:57:22.924 +0200 [debug] (validate.js) running validator actions 2022-06-14 16:57:22.924 +0200 [debug] (validate.js) running validator app-dir 2022-06-14 16:57:22.925 +0200 [debug] (validate.js) running validator config-dir 2022-06-14 16:57:22.925 +0200 [debug] (config-dir.js) Checking to see if /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/config/ exists. 2022-06-14 16:57:22.925 +0200 [debug] (config-dir.js) Fetched the following config files iparams.json 2022-06-14 16:57:22.926 +0200 [debug] (validate.js) running validator custom-objects 2022-06-14 16:57:22.926 +0200 [debug] (validate.js) running validator event 2022-06-14 16:57:22.926 +0200 [debug] (validate.js) running validator iparam 2022-06-14 16:57:22.929 +0200 [debug] (validate.js) skipping validator lint 2022-06-14 16:57:22.929 +0200 [debug] (validate.js) running validator manifest 2022-06-14 16:57:22.929 +0200 [debug] (manifest.js) running manifest validation with type run_validation 2022-06-14 16:57:22.929 +0200 [debug] (validate.js) skipping validator manifest-dependency 2022-06-14 16:57:22.930 +0200 [debug] (validate.js) running validator oauth 2022-06-14 16:57:22.930 +0200 [debug] (validate.js) skipping validator pkgsize 2022-06-14 16:57:22.930 +0200 [debug] (validate.js) running validator schema 2022-06-14 16:57:22.930 +0200 [debug] (validate.js) running validator version-check 2022-06-14 16:57:22.932 +0200 [debug] (watcher.js) Preparing to watch the following files ./app,./config,./manifest.json 2022-06-14 16:57:22.937 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-06-14 16:57:22.937 +0200 [debug] (custom-objects.js) to force or not? false 2022-06-14 16:57:22.937 +0200 [debug] (custom-objects.js) beginning to re-sync db 2022-06-14 16:57:23.369 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v14.19.3/lib/node_modules/fdk/lib/models/bigint-pivot.js" 2022-06-14 16:57:23.370 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v14.19.3/lib/node_modules/fdk/lib/models/entity-field-choice.js" 2022-06-14 16:57:23.371 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v14.19.3/lib/node_modules/fdk/lib/models/entity-field.js" 2022-06-14 16:57:23.372 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v14.19.3/lib/node_modules/fdk/lib/models/entity.js" 2022-06-14 16:57:23.372 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v14.19.3/lib/node_modules/fdk/lib/models/record.js" 2022-06-14 16:57:23.373 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v14.19.3/lib/node_modules/fdk/lib/models/string-pivot.js" 2022-06-14 16:57:23.390 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-06-14 16:57:23.391 +0200 [debug] (custom-objects.js) updated local store with latest entity hash 2022-06-14 16:57:23.394 +0200 [info] Starting local testing server at http://*:10001/ Append 'dev=true' to your Freshdesk account URL to start testing e.g. https://domain.freshdesk.com/a/tickets/1?dev=true Quit the server with Control-C. 2022-06-14 16:57:23.395 +0200 [info] To test the installation page, visit - http://localhost:10001/custom_configs 2022-06-14 16:57:35.161 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-06-14 16:57:35.163 +0200 [debug] (iframe.js) Responding to product with {"configs":{"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"agent/template.html","icon":"agent/undefined"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-06-14 16:57:35.214 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-06-14 16:57:35.214 +0200 [debug] (iframe.js) Responding to product with {"configs":{"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"agent/template.html","icon":"agent/undefined"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-06-14 16:57:35.268 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-06-14 16:57:35.269 +0200 [debug] (iframe.js) Responding to product with {"configs":{"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"agent/template.html","icon":"agent/undefined"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-06-14 16:57:35.311 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-06-14 16:57:35.311 +0200 [debug] (iframe.js) Responding to product with {"configs":{"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"agent/template.html","icon":"agent/undefined"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-06-14 16:57:35.327 +0200 [debug] (iframe.js) Responding with contents of /template.html 2022-06-14 16:57:35.341 +0200 [debug] (iframe.js) Responding with contents of /app.js 2022-06-14 16:57:35.342 +0200 [debug] (coverage-util.js) Instrumenting /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/app/app.js 2022-06-14 16:57:35.484 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-06-14 16:57:35.485 +0200 [debug] (iframe.js) Responding to product with {"configs":{"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"agent/template.html","icon":"agent/undefined"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-06-14 16:57:35.523 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-06-14 16:57:35.524 +0200 [debug] (iframe.js) Responding to product with {"configs":{"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"agent/template.html","icon":"agent/undefined"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-06-14 16:57:35.561 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-06-14 16:57:35.561 +0200 [debug] (iframe.js) Responding to product with {"configs":{"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"agent/template.html","icon":"agent/undefined"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-06-14 16:57:38.416 +0200 [debug] (coverage-util.js) Writing coverage. 2022-06-14 16:57:46.318 +0200 [debug] (coverage-util.js) Writing coverage. 2022-06-14 16:58:00.207 +0200 [debug] (data-pipe.js) received call for route "proxy" with action "execute" and body {"action":"execute","data":{"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get"}} 2022-06-14 16:58:00.208 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-06-14 16:58:00.219 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-06-14 16:58:00.220 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-06-14 16:58:00.220 +0200 [debug] (proxy.js) Substituing Templates {"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get"} with {"iparam":{"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"},"oauth_iparams":{}} 2022-06-14 16:58:00.223 +0200 [debug] (proxy.js) Parsed https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452 as {"protocol":"https:","slashes":true,"auth":null,"host":"virtualdropstudio.freshdesk.com","port":null,"hostname":"virtualdropstudio.freshdesk.com","hash":null,"search":null,"query":null,"pathname":"/api/v2/contacts/101026585452","path":"/api/v2/contacts/101026585452","href":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452"} 2022-06-14 16:58:00.228 +0200 [debug] (proxy.js) Checking if the request url is whitelisted in manifest 2022-06-14 16:58:00.228 +0200 [debug] (proxy.js) Matched "https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452" with https://virtualdropstudio.freshdesk.com 2022-06-14 16:58:00.228 +0200 [debug] (proxy.js) Making proxy call with options as {"headers":{"Content-Type":"application/json","Authorization":"Basic eXBsT0hra3gyejJhY1ZRS01DZGU6eA=="},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get","whitelistedDomains":["https://virtualdropstudio.freshdesk.com"],"maxAttempts":1,"retryDelay":0,"timeout":5000} 2022-06-14 16:58:00.314 +0200 [debug] (coverage-util.js) Writing coverage. 2022-06-14 16:58:00.509 +0200 [debug] (proxy.js) Proxy came back with error as null, body as "{\"active\":false,\"address\":null,\"description\":null,\"email\":\"loloic3@sfr.fr\",\"id\":1010265 2022-06-14 16:58:00.509 +0200 [debug] (proxy.js) Looking for "application/json" in application/json,application/xml,text/html,text/xml,application/jsonp,text/plain,application/javascript,application/vnd.api+json 2022-06-14 16:58:02.313 +0200 [debug] (coverage-util.js) Writing coverage. 2022-06-14 16:58:08.607 +0200 [debug] (data-pipe.js) received call for route "proxy" with action "execute" and body {"action":"execute","data":{"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get"}} 2022-06-14 16:58:08.607 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-06-14 16:58:08.608 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-06-14 16:58:08.608 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-06-14 16:58:08.608 +0200 [debug] (proxy.js) Substituing Templates {"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get"} with {"iparam":{"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"},"oauth_iparams":{}} 2022-06-14 16:58:08.609 +0200 [debug] (proxy.js) Parsed https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452 as {"protocol":"https:","slashes":true,"auth":null,"host":"virtualdropstudio.freshdesk.com","port":null,"hostname":"virtualdropstudio.freshdesk.com","hash":null,"search":null,"query":null,"pathname":"/api/v2/contacts/101026585452","path":"/api/v2/contacts/101026585452","href":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452"} 2022-06-14 16:58:08.610 +0200 [debug] (proxy.js) Checking if the request url is whitelisted in manifest 2022-06-14 16:58:08.611 +0200 [debug] (proxy.js) Matched "https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452" with https://virtualdropstudio.freshdesk.com 2022-06-14 16:58:08.611 +0200 [debug] (proxy.js) Making proxy call with options as {"headers":{"Content-Type":"application/json","Authorization":"Basic eXBsT0hra3gyejJhY1ZRS01DZGU6eA=="},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get","whitelistedDomains":["https://virtualdropstudio.freshdesk.com"],"maxAttempts":1,"retryDelay":0,"timeout":5000} 2022-06-14 16:58:08.810 +0200 [debug] (proxy.js) Proxy came back with error as null, body as "{\"active\":false,\"address\":null,\"description\":null,\"email\":\"loloic3@sfr.fr\",\"id\":1010265 2022-06-14 16:58:08.811 +0200 [debug] (proxy.js) Looking for "application/json" in application/json,application/xml,text/html,text/xml,application/jsonp,text/plain,application/javascript,application/vnd.api+json 2022-06-14 16:58:10.313 +0200 [debug] (coverage-util.js) Writing coverage. 2022-06-14 16:58:20.993 +0200 [debug] (data-pipe.js) received call for route "proxy" with action "execute" and body {"action":"execute","data":{"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get"}} 2022-06-14 16:58:20.994 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-06-14 16:58:20.994 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-06-14 16:58:20.995 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-06-14 16:58:20.995 +0200 [debug] (proxy.js) Substituing Templates {"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get"} with {"iparam":{"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"},"oauth_iparams":{}} 2022-06-14 16:58:20.995 +0200 [debug] (proxy.js) Parsed https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452 as {"protocol":"https:","slashes":true,"auth":null,"host":"virtualdropstudio.freshdesk.com","port":null,"hostname":"virtualdropstudio.freshdesk.com","hash":null,"search":null,"query":null,"pathname":"/api/v2/contacts/101026585452","path":"/api/v2/contacts/101026585452","href":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452"} 2022-06-14 16:58:20.995 +0200 [debug] (proxy.js) Checking if the request url is whitelisted in manifest 2022-06-14 16:58:20.996 +0200 [debug] (proxy.js) Matched "https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452" with https://virtualdropstudio.freshdesk.com 2022-06-14 16:58:20.996 +0200 [debug] (proxy.js) Making proxy call with options as {"headers":{"Content-Type":"application/json","Authorization":"Basic eXBsT0hra3gyejJhY1ZRS01DZGU6eA=="},"url":"https://virtualdropstudio.freshdesk.com/api/v2/contacts/101026585452","method":"get","whitelistedDomains":["https://virtualdropstudio.freshdesk.com"],"maxAttempts":1,"retryDelay":0,"timeout":5000} 2022-06-14 16:58:21.216 +0200 [debug] (proxy.js) Proxy came back with error as null, body as "{\"active\":false,\"address\":null,\"description\":null,\"email\":\"loloic3@sfr.fr\",\"id\":1010265 2022-06-14 16:58:21.217 +0200 [debug] (proxy.js) Looking for "application/json" in application/json,application/xml,text/html,text/xml,application/jsonp,text/plain,application/javascript,application/vnd.api+json 2022-06-14 16:58:54.465 +0200 [info] NOTE: We recommend a coverage of 80% for apps that are to be published in the public marketplace. 2022-06-14 16:59:06.183 +0200 [debug] (configs.js) loaded default configs as "{"updates":{"manifest_url":"https://ws.freshdev.io/cli/updates.json","period":24},"log":{"level":"info"},"javascript":{"ecma_version":2020}}" 2022-06-14 16:59:06.184 +0200 [debug] (file-util.js) Error while requiring /home/lobose/.fdk/configs.json: Cannot find module '/home/lobose/.fdk/configs.json' Require stack: - /home/lobose/.nvm/versions/node/v14.19.3/lib/node_modules/fdk/lib/utils/file-util.js - /home/lobose/.nvm/versions/node/v14.19.3/lib/node_modules/fdk/lib/configs.js - /home/lobose/.nvm/versions/node/v14.19.3/lib/node_modules/fdk/lib/logger.js - /home/lobose/.nvm/versions/node/v14.19.3/lib/node_modules/fdk/index.js 2022-06-14 16:59:06.185 +0200 [debug] (configs.js) loaded global configs as "{}" 2022-06-14 16:59:06.185 +0200 [debug] (file-util.js) Error while requiring /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/.fdk/configs.json: Cannot find module '/home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/.fdk/configs.json' Require stack: - /home/lobose/.nvm/versions/node/v14.19.3/lib/node_modules/fdk/lib/utils/file-util.js - /home/lobose/.nvm/versions/node/v14.19.3/lib/node_modules/fdk/lib/configs.js - /home/lobose/.nvm/versions/node/v14.19.3/lib/node_modules/fdk/lib/logger.js - /home/lobose/.nvm/versions/node/v14.19.3/lib/node_modules/fdk/index.js 2022-06-14 16:59:06.185 +0200 [debug] (configs.js) loaded local configs as "{}" 2022-06-14 16:59:06.185 +0200 [debug] (configs.js) loaded env configs as "{"updates":{},"log":{},"javascript":{}}" 2022-06-14 16:59:06.185 +0200 [debug] (configs.js) loaded resolved configs as "{"updates":{"manifest_url":"https://ws.freshdev.io/cli/updates.json","period":24},"log":{"level":"info"},"javascript":{"ecma_version":2020}}" 2022-06-14 16:59:06.185 +0200 [debug] (logger.js) Starting FDK in node v14.19.3 on linux 2022-06-14 16:59:06.185 +0200 [debug] (sequelize.js) setting up sqilite at "/home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/.fdk/store.sqlite" 2022-06-14 16:59:06.186 +0200 [debug] (index.js) Running with args {"cmd":"validate","gopts":{},"opts":{},"goptArg":{},"optArg":{},"args":[]} 2022-06-14 16:59:06.186 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.3","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1655192985391}} 2022-06-14 16:59:06.186 +0200 [debug] (updater.js) last check less than 24 hours ago, not looking for updates 2022-06-14 16:59:06.200 +0200 [debug] (manifest.js) Reloading manifest with {"platform-version":"2.2","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"whitelisted-domains":["https://<%= iparam.freshdesk_domain %>.freshdesk.com"],"engines":{"node":"14.19.3","fdk":"8.3.3"}}. 2022-06-14 16:59:06.200 +0200 [debug] (manifest.js) Inferred db as features. 2022-06-14 16:59:06.201 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.3","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1655192985391}} 2022-06-14 16:59:07.114 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.3","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1655192985391}} 2022-06-14 16:59:10.641 +0200 [debug] (validate.js) asked to skip the following validations,  2022-06-14 16:59:10.642 +0200 [debug] (validate.js) running validator actions 2022-06-14 16:59:10.643 +0200 [debug] (validate.js) running validator app-dir 2022-06-14 16:59:10.644 +0200 [debug] (validate.js) running validator config-dir 2022-06-14 16:59:10.644 +0200 [debug] (config-dir.js) Checking to see if /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/config/ exists. 2022-06-14 16:59:10.644 +0200 [debug] (config-dir.js) Fetched the following config files iparams.json 2022-06-14 16:59:10.644 +0200 [debug] (validate.js) running validator custom-objects 2022-06-14 16:59:10.645 +0200 [debug] (validate.js) running validator event 2022-06-14 16:59:10.645 +0200 [debug] (validate.js) running validator iparam 2022-06-14 16:59:10.648 +0200 [debug] (validate.js) running validator lint 2022-06-14 16:59:10.648 +0200 [debug] (lint.js) passed fix flag: false 2022-06-14 16:59:10.649 +0200 [debug] (lint-util.js) Running the following lints on the file app/app.js : no-caller,no-process-env,complexity,max-nested-callbacks,handle-callback-err,no-eval,no-alert,no-debugger,no-unreachable,no-unlisted-url,no-unhandled-promise,no-logging-rejections,no-non-client-request-model,no-cross-scope-assign,no-empty-function,no-unused-vars 2022-06-14 16:59:10.799 +0200 [debug] (validate.js) running validator manifest 2022-06-14 16:59:10.800 +0200 [debug] (manifest.js) running manifest validation with type pre_pkg_validation 2022-06-14 16:59:10.800 +0200 [debug] (validate.js) running validator manifest-dependency 2022-06-14 16:59:10.800 +0200 [debug] (validate.js) running validator oauth 2022-06-14 16:59:10.800 +0200 [debug] (validate.js) skipping validator pkgsize 2022-06-14 16:59:10.800 +0200 [debug] (validate.js) skipping validator schema 2022-06-14 16:59:10.800 +0200 [debug] (validate.js) running validator version-check 2022-06-14 16:59:10.803 +0200 [warn] Please ensure that the following are addressed for quick review process. 2022-06-14 16:59:10.804 +0200 [warn] [WARN] app/app.js::9: 'errorMessage' declared and assigned in different scopes. Possible asynchronous race condition. 2022-06-14 16:59:10.804 +0200 [warn] [WARN] app/app.js::14: Expected rejection to be handled. 2022-06-14 16:59:10.805 +0200 [warn] [WARN] app/app.js::36: 'errorMessage' declared and assigned in different scopes. Possible asynchronous race condition. 2022-06-14 16:59:10.806 +0200 [warn] [WARN] app/app.js::39: Expected rejection to be handled. 2022-06-14 16:59:10.806 +0200 [error] 2022-06-14 16:59:10.807 +0200 [info] Validation Successful 2022-06-14 16:59:23.434 +0200 [debug] (configs.js) loaded default configs as "{"updates":{"manifest_url":"https://ws.freshdev.io/cli/updates.json","period":24},"log":{"level":"info"},"javascript":{"ecma_version":2020}}" 2022-06-14 16:59:23.436 +0200 [debug] (file-util.js) Error while requiring /home/lobose/.fdk/configs.json: Cannot find module '/home/lobose/.fdk/configs.json' Require stack: - /home/lobose/.nvm/versions/node/v14.19.3/lib/node_modules/fdk/lib/utils/file-util.js - /home/lobose/.nvm/versions/node/v14.19.3/lib/node_modules/fdk/lib/configs.js - /home/lobose/.nvm/versions/node/v14.19.3/lib/node_modules/fdk/lib/logger.js - /home/lobose/.nvm/versions/node/v14.19.3/lib/node_modules/fdk/index.js 2022-06-14 16:59:23.436 +0200 [debug] (configs.js) loaded global configs as "{}" 2022-06-14 16:59:23.436 +0200 [debug] (file-util.js) Error while requiring /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/.fdk/configs.json: Cannot find module '/home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/.fdk/configs.json' Require stack: - /home/lobose/.nvm/versions/node/v14.19.3/lib/node_modules/fdk/lib/utils/file-util.js - /home/lobose/.nvm/versions/node/v14.19.3/lib/node_modules/fdk/lib/configs.js - /home/lobose/.nvm/versions/node/v14.19.3/lib/node_modules/fdk/lib/logger.js - /home/lobose/.nvm/versions/node/v14.19.3/lib/node_modules/fdk/index.js 2022-06-14 16:59:23.436 +0200 [debug] (configs.js) loaded local configs as "{}" 2022-06-14 16:59:23.436 +0200 [debug] (configs.js) loaded env configs as "{"updates":{},"log":{},"javascript":{}}" 2022-06-14 16:59:23.437 +0200 [debug] (configs.js) loaded resolved configs as "{"updates":{"manifest_url":"https://ws.freshdev.io/cli/updates.json","period":24},"log":{"level":"info"},"javascript":{"ecma_version":2020}}" 2022-06-14 16:59:23.437 +0200 [debug] (logger.js) Starting FDK in node v14.19.3 on linux 2022-06-14 16:59:23.437 +0200 [debug] (sequelize.js) setting up sqilite at "/home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/.fdk/store.sqlite" 2022-06-14 16:59:23.437 +0200 [debug] (index.js) Running with args {"cmd":"pack","gopts":{},"opts":{},"goptArg":{},"optArg":{},"args":[]} 2022-06-14 16:59:23.437 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.3","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1655192985391}} 2022-06-14 16:59:23.437 +0200 [debug] (updater.js) last check less than 24 hours ago, not looking for updates 2022-06-14 16:59:23.981 +0200 [debug] (manifest.js) Reloading manifest with {"platform-version":"2.2","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"whitelisted-domains":["https://<%= iparam.freshdesk_domain %>.freshdesk.com"],"engines":{"node":"14.19.3","fdk":"8.3.3"}}. 2022-06-14 16:59:23.981 +0200 [debug] (manifest.js) Inferred db as features. 2022-06-14 16:59:23.982 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.3","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1655192985391}} 2022-06-14 16:59:24.900 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.3","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1655192985391}} 2022-06-14 16:59:28.443 +0200 [debug] (pack.js) 'pack' called with {} 2022-06-14 16:59:28.444 +0200 [debug] (validate.js) asked to skip the following validations,  2022-06-14 16:59:28.444 +0200 [debug] (validate.js) running validator actions 2022-06-14 16:59:28.445 +0200 [debug] (validate.js) running validator app-dir 2022-06-14 16:59:28.446 +0200 [debug] (validate.js) running validator config-dir 2022-06-14 16:59:28.446 +0200 [debug] (config-dir.js) Checking to see if /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/config/ exists. 2022-06-14 16:59:28.446 +0200 [debug] (config-dir.js) Fetched the following config files iparams.json 2022-06-14 16:59:28.446 +0200 [debug] (validate.js) running validator custom-objects 2022-06-14 16:59:28.446 +0200 [debug] (validate.js) running validator event 2022-06-14 16:59:28.446 +0200 [debug] (validate.js) running validator iparam 2022-06-14 16:59:28.450 +0200 [debug] (validate.js) running validator lint 2022-06-14 16:59:28.450 +0200 [debug] (lint.js) passed fix flag: undefined 2022-06-14 16:59:28.451 +0200 [debug] (lint-util.js) Running the following lints on the file app/app.js : no-caller,no-process-env,complexity,max-nested-callbacks,handle-callback-err,no-eval,no-alert,no-debugger,no-unreachable,no-unlisted-url,no-unhandled-promise,no-logging-rejections,no-non-client-request-model,no-cross-scope-assign,no-empty-function,no-unused-vars 2022-06-14 16:59:28.520 +0200 [debug] (validate.js) running validator manifest 2022-06-14 16:59:28.520 +0200 [debug] (manifest.js) running manifest validation with type pre_pkg_validation 2022-06-14 16:59:28.520 +0200 [debug] (validate.js) running validator manifest-dependency 2022-06-14 16:59:28.520 +0200 [debug] (validate.js) running validator oauth 2022-06-14 16:59:28.521 +0200 [debug] (validate.js) skipping validator pkgsize 2022-06-14 16:59:28.521 +0200 [debug] (validate.js) skipping validator schema 2022-06-14 16:59:28.521 +0200 [debug] (validate.js) running validator version-check 2022-06-14 16:59:28.524 +0200 [warn] Please ensure that the following are addressed for quick review process. 2022-06-14 16:59:28.524 +0200 [warn] [WARN] app/app.js::9: 'errorMessage' declared and assigned in different scopes. Possible asynchronous race condition. 2022-06-14 16:59:28.525 +0200 [warn] [WARN] app/app.js::14: Expected rejection to be handled. 2022-06-14 16:59:28.525 +0200 [warn] [WARN] app/app.js::36: 'errorMessage' declared and assigned in different scopes. Possible asynchronous race condition. 2022-06-14 16:59:28.526 +0200 [warn] [WARN] app/app.js::39: Expected rejection to be handled. 2022-06-14 16:59:28.526 +0200 [error] 2022-06-14 16:59:28.527 +0200 [info] App being packed in Node v14.19.3 using FDK 8.3.3 2022-06-14 16:59:28.537 +0200 [debug] (pack.js) Cannot find './visitor-app' directory while packing. 2022-06-14 16:59:28.537 +0200 [debug] (pack.js) Cannot find './src' directory while packing. 2022-06-14 16:59:28.537 +0200 [debug] (pack.js) Cannot find './server' directory while packing. 2022-06-14 16:59:28.541 +0200 [debug] (file-util.js) Computing digest for app/app.js,app/template.html,manifest.json. 2022-06-14 16:59:28.544 +0200 [debug] (pack.js) Packing ./app/app.js 2022-06-14 16:59:28.544 +0200 [debug] (pack.js) Packing ./app/template.html 2022-06-14 16:59:28.545 +0200 [debug] (pack.js) Packing ./config/iparams.json 2022-06-14 16:59:28.545 +0200 [debug] (pack.js) Packing ./manifest.json 2022-06-14 16:59:28.545 +0200 [debug] (pack.js) Packing ./.report.json 2022-06-14 16:59:28.545 +0200 [debug] (pack.js) Packing ./README.md 2022-06-14 16:59:28.545 +0200 [debug] (pack.js) Packing ./digest.md5 2022-06-14 16:59:28.584 +0200 [debug] (validate.js) asked to skip the following validations,  2022-06-14 16:59:28.584 +0200 [debug] (validate.js) skipping validator actions 2022-06-14 16:59:28.584 +0200 [debug] (validate.js) skipping validator app-dir 2022-06-14 16:59:28.584 +0200 [debug] (validate.js) skipping validator config-dir 2022-06-14 16:59:28.584 +0200 [debug] (validate.js) skipping validator custom-objects 2022-06-14 16:59:28.584 +0200 [debug] (validate.js) skipping validator event 2022-06-14 16:59:28.584 +0200 [debug] (validate.js) skipping validator iparam 2022-06-14 16:59:28.584 +0200 [debug] (validate.js) skipping validator lint 2022-06-14 16:59:28.585 +0200 [debug] (validate.js) skipping validator manifest 2022-06-14 16:59:28.585 +0200 [debug] (validate.js) skipping validator manifest-dependency 2022-06-14 16:59:28.585 +0200 [debug] (validate.js) skipping validator oauth 2022-06-14 16:59:28.585 +0200 [debug] (validate.js) running validator pkgsize 2022-06-14 16:59:28.585 +0200 [debug] (validate.js) skipping validator schema 2022-06-14 16:59:28.585 +0200 [debug] (validate.js) skipping validator version-check 2022-06-14 16:59:28.586 +0200 [info] App packed successfully at /dist/tickets_close_interceptor.zip 2022-06-14 16:59:28.586 +0200 [info] Upload this file to the marketplace by following the instructions at https://developer.freshdesk.com/v2/docs/freshdesk-apps/ 2022-06-14 16:59:28.586 +0200 [debug] (file-util.js) Deleting digest. 2022-07-05 16:28:14.259 +0200 [debug] (configs.js) loaded default configs as "{"updates":{"manifest_url":"https://ws.freshdev.io/cli/updates.json","period":24},"log":{"level":"info"},"javascript":{"ecma_version":2020}}" 2022-07-05 16:28:14.269 +0200 [debug] (file-util.js) Error while requiring /home/lobose/.fdk/configs.json: Cannot find module '/home/lobose/.fdk/configs.json' Require stack: - /home/lobose/.nvm/versions/node/v14.19.3/lib/node_modules/fdk/lib/utils/file-util.js - /home/lobose/.nvm/versions/node/v14.19.3/lib/node_modules/fdk/lib/configs.js - /home/lobose/.nvm/versions/node/v14.19.3/lib/node_modules/fdk/lib/logger.js - /home/lobose/.nvm/versions/node/v14.19.3/lib/node_modules/fdk/index.js 2022-07-05 16:28:14.269 +0200 [debug] (configs.js) loaded global configs as "{}" 2022-07-05 16:28:14.269 +0200 [debug] (file-util.js) Error while requiring /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/.fdk/configs.json: Cannot find module '/home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/.fdk/configs.json' Require stack: - /home/lobose/.nvm/versions/node/v14.19.3/lib/node_modules/fdk/lib/utils/file-util.js - /home/lobose/.nvm/versions/node/v14.19.3/lib/node_modules/fdk/lib/configs.js - /home/lobose/.nvm/versions/node/v14.19.3/lib/node_modules/fdk/lib/logger.js - /home/lobose/.nvm/versions/node/v14.19.3/lib/node_modules/fdk/index.js 2022-07-05 16:28:14.269 +0200 [debug] (configs.js) loaded local configs as "{}" 2022-07-05 16:28:14.269 +0200 [debug] (configs.js) loaded env configs as "{"updates":{},"log":{},"javascript":{}}" 2022-07-05 16:28:14.269 +0200 [debug] (configs.js) loaded resolved configs as "{"updates":{"manifest_url":"https://ws.freshdev.io/cli/updates.json","period":24},"log":{"level":"info"},"javascript":{"ecma_version":2020}}" 2022-07-05 16:28:14.269 +0200 [debug] (logger.js) Starting FDK in node v14.19.3 on linux 2022-07-05 16:28:14.270 +0200 [debug] (sequelize.js) setting up sqilite at "/home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/.fdk/store.sqlite" 2022-07-05 16:28:14.270 +0200 [debug] (index.js) Running with args {"cmd":"run","gopts":{},"opts":{},"goptArg":{},"optArg":{},"args":[]} 2022-07-05 16:28:14.270 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.3","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1655192985391}} 2022-07-05 16:28:14.270 +0200 [debug] (updater.js) last check more than 24 hours ago, looking for updates again 2022-07-05 16:28:14.481 +0200 [debug] (updater.js) downloaded update manifest as {"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.4.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}} 2022-07-05 16:28:14.482 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.3","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1655192985391}} 2022-07-05 16:28:14.482 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.3.3","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1655192985391}} 2022-07-05 16:28:14.488 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.4.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1655192985391}} 2022-07-05 16:28:18.946 +0200 [debug] (updater.js) user responded to update prompt with "true" 2022-07-05 16:28:27.756 +0200 [debug] (index.js) Error: Update to version 8.4.0 failed with error "Command failed: npm install https://dl.freshdev.io/cli/fdk.tgz -g" at executeUpdateCommand (/home/lobose/.nvm/versions/node/v14.19.3/lib/node_modules/fdk/lib/updater.js:94:11) at updateCLI (/home/lobose/.nvm/versions/node/v14.19.3/lib/node_modules/fdk/lib/updater.js:122:14) at processTicksAndRejections (internal/process/task_queues.js:95:5) 2022-07-05 16:28:27.758 +0200 [error] Update to version 8.4.0 failed with error "Command failed: npm install https://dl.freshdev.io/cli/fdk.tgz -g" 2022-07-05 16:28:28.952 +0200 [debug] (manifest.js) Reloading manifest with {"platform-version":"2.2","product":{"freshdesk":{"location":{"ticket_background":{"url":"template.html"}}}},"whitelisted-domains":["https://<%= iparam.freshdesk_domain %>.freshdesk.com"],"engines":{"node":"14.19.3","fdk":"8.3.3"}}. 2022-07-05 16:28:28.952 +0200 [debug] (manifest.js) Inferred db as features. 2022-07-05 16:28:28.972 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.4.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1657031294483}} 2022-07-05 16:28:29.146 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.4.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1657031294483}} 2022-07-05 16:28:37.590 +0200 [debug] (data-util.js) Read {"version_details":{"cli":{"deprecated":{"version":"<8","message":"This FDK version will be deprecated by August 31, 2022. There will be no further feature updates to this version. For a seamless app building experience, ensure to move to the latest FDK version. For more information, see https://community.developers.freshworks.com/t/5433."},"forced":{"version":"7.0.0","command":"npm install https://dl.freshdev.io/cli/fdk-7.0.0.tgz -g","message":"Your FDK version has been forced updated to v7.0.0, please visit https://community.developers.freshworks.com/t/fdk-v7-0-announcing-node-js-v12-and-es6-support/3606 to know more"},"latest":{"version":"8.4.0","command":"npm install https://dl.freshdev.io/cli/fdk.tgz -g","message":""}},"addon":{"version":"1.10.2","url":"https://dl.freshdev.io/cli-addon/addon-1.10.2.zip"}},"last_updated":{"time_stamp":1657031294483}} 2022-07-05 16:28:45.838 +0200 [debug] (validate.js) asked to skip the following validations,  2022-07-05 16:28:45.839 +0200 [debug] (validate.js) running validator actions 2022-07-05 16:28:45.839 +0200 [debug] (validate.js) running validator app-dir 2022-07-05 16:28:45.840 +0200 [debug] (validate.js) running validator config-dir 2022-07-05 16:28:45.840 +0200 [debug] (config-dir.js) Checking to see if /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/config/ exists. 2022-07-05 16:28:45.841 +0200 [debug] (config-dir.js) Fetched the following config files iparams.json 2022-07-05 16:28:45.841 +0200 [debug] (validate.js) running validator custom-objects 2022-07-05 16:28:45.841 +0200 [debug] (validate.js) running validator event 2022-07-05 16:28:45.841 +0200 [debug] (validate.js) running validator iparam 2022-07-05 16:28:45.849 +0200 [debug] (validate.js) skipping validator lint 2022-07-05 16:28:45.849 +0200 [debug] (validate.js) running validator manifest 2022-07-05 16:28:45.849 +0200 [debug] (manifest.js) running manifest validation with type run_validation 2022-07-05 16:28:45.849 +0200 [debug] (validate.js) skipping validator manifest-dependency 2022-07-05 16:28:45.849 +0200 [debug] (validate.js) running validator oauth 2022-07-05 16:28:45.849 +0200 [debug] (validate.js) skipping validator pkgsize 2022-07-05 16:28:45.849 +0200 [debug] (validate.js) running validator schema 2022-07-05 16:28:45.850 +0200 [debug] (validate.js) running validator version-check 2022-07-05 16:28:45.852 +0200 [debug] (watcher.js) Preparing to watch the following files ./app,./config,./manifest.json 2022-07-05 16:28:45.860 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-07-05 16:28:45.860 +0200 [debug] (custom-objects.js) to force or not? false 2022-07-05 16:28:45.860 +0200 [debug] (custom-objects.js) beginning to re-sync db 2022-07-05 16:28:46.376 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v14.19.3/lib/node_modules/fdk/lib/models/bigint-pivot.js" 2022-07-05 16:28:46.389 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v14.19.3/lib/node_modules/fdk/lib/models/entity-field-choice.js" 2022-07-05 16:28:46.396 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v14.19.3/lib/node_modules/fdk/lib/models/entity-field.js" 2022-07-05 16:28:46.403 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v14.19.3/lib/node_modules/fdk/lib/models/entity.js" 2022-07-05 16:28:46.410 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v14.19.3/lib/node_modules/fdk/lib/models/record.js" 2022-07-05 16:28:46.417 +0200 [debug] (index.js) loading model at "/home/lobose/.nvm/versions/node/v14.19.3/lib/node_modules/fdk/lib/models/string-pivot.js" 2022-07-05 16:28:46.439 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-07-05 16:28:46.440 +0200 [debug] (custom-objects.js) updated local store with latest entity hash 2022-07-05 16:28:46.443 +0200 [info] Starting local testing server at http://*:10001/ Append 'dev=true' to your Freshdesk account URL to start testing e.g. https://domain.freshdesk.com/a/tickets/1?dev=true Quit the server with Control-C. 2022-07-05 16:28:46.444 +0200 [info] To test the installation page, visit - http://localhost:10001/custom_configs 2022-07-05 16:28:58.193 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-07-05 16:28:58.195 +0200 [debug] (iframe.js) Responding to product with {"configs":{"freshdesk_domain":"virtualdropstudio","client_field":"prioritaire","groups_locked":"Billing\nSales"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"agent/template.html","icon":"agent/undefined"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-07-05 16:28:58.224 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-07-05 16:29:36.098 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"virtualdropstudio","freshdesk_key":"yplOHkkx2z2acVQKMCde","client_field":"prioritaire","groups_locked":"Billing\nSales"}}} 2022-07-05 16:29:57.887 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"testotka","freshdesk_key":"tzLuj9EIq5kPFXjFmww","client_field":"prioritaire","groups_locked":"Billing\n"}}} 2022-07-05 16:29:57.887 +0200 [debug] (iframe.js) Responding to product with {"configs":{"freshdesk_domain":"testotka","client_field":"prioritaire","groups_locked":"Billing\n"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"agent/template.html","icon":"agent/undefined"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-07-05 16:29:57.928 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"testotka","freshdesk_key":"tzLuj9EIq5kPFXjFmww","client_field":"prioritaire","groups_locked":"Billing\n"}}} 2022-07-05 16:29:57.928 +0200 [debug] (iframe.js) Responding to product with {"configs":{"freshdesk_domain":"testotka","client_field":"prioritaire","groups_locked":"Billing\n"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"agent/template.html","icon":"agent/undefined"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-07-05 16:29:57.978 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"testotka","freshdesk_key":"tzLuj9EIq5kPFXjFmww","client_field":"prioritaire","groups_locked":"Billing\n"}}} 2022-07-05 16:29:57.978 +0200 [debug] (iframe.js) Responding to product with {"configs":{"freshdesk_domain":"testotka","client_field":"prioritaire","groups_locked":"Billing\n"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"agent/template.html","icon":"agent/undefined"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-07-05 16:29:58.019 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"testotka","freshdesk_key":"tzLuj9EIq5kPFXjFmww","client_field":"prioritaire","groups_locked":"Billing\n"}}} 2022-07-05 16:29:58.019 +0200 [debug] (iframe.js) Responding to product with {"configs":{"freshdesk_domain":"testotka","client_field":"prioritaire","groups_locked":"Billing\n"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"agent/template.html","icon":"agent/undefined"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-07-05 16:29:58.040 +0200 [debug] (iframe.js) Responding with contents of /template.html 2022-07-05 16:29:58.057 +0200 [debug] (iframe.js) Responding with contents of /app.js 2022-07-05 16:29:58.059 +0200 [debug] (coverage-util.js) Instrumenting /home/lobose/FreshdeskGit/marketplace-sample-apps/Freshworks-Samples/Freshdesk/tickets_close_interceptor/app/app.js 2022-07-05 16:29:58.254 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"testotka","freshdesk_key":"tzLuj9EIq5kPFXjFmww","client_field":"prioritaire","groups_locked":"Billing\n"}}} 2022-07-05 16:29:58.255 +0200 [debug] (iframe.js) Responding to product with {"configs":{"freshdesk_domain":"testotka","client_field":"prioritaire","groups_locked":"Billing\n"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"agent/template.html","icon":"agent/undefined"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-07-05 16:29:58.294 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"testotka","freshdesk_key":"tzLuj9EIq5kPFXjFmww","client_field":"prioritaire","groups_locked":"Billing\n"}}} 2022-07-05 16:29:58.294 +0200 [debug] (iframe.js) Responding to product with {"configs":{"freshdesk_domain":"testotka","client_field":"prioritaire","groups_locked":"Billing\n"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"agent/template.html","icon":"agent/undefined"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-07-05 16:29:58.361 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"testotka","freshdesk_key":"tzLuj9EIq5kPFXjFmww","client_field":"prioritaire","groups_locked":"Billing\n"}}} 2022-07-05 16:29:58.362 +0200 [debug] (iframe.js) Responding to product with {"configs":{"freshdesk_domain":"testotka","client_field":"prioritaire","groups_locked":"Billing\n"},"displayName":"tickets_close_interceptor","product":{"freshdesk":{"location":{"ticket_background":{"url":"agent/template.html","icon":"agent/undefined"}}}},"features":["db"],"actions":false,"omni":false,"products":["freshdesk"],"platform":"2.2","v2":[]} 2022-07-05 16:30:00.704 +0200 [debug] (coverage-util.js) Writing coverage. 2022-07-05 16:30:02.689 +0200 [debug] (data-pipe.js) received call for route "proxy" with action "execute" and body {"action":"execute","data":{"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://testotka.freshdesk.com/api/v2/contacts/101053119765","method":"get"}} 2022-07-05 16:30:02.690 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"testotka","freshdesk_key":"tzLuj9EIq5kPFXjFmww","client_field":"prioritaire","groups_locked":"Billing\n"}}} 2022-07-05 16:30:02.709 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"testotka","freshdesk_key":"tzLuj9EIq5kPFXjFmww","client_field":"prioritaire","groups_locked":"Billing\n"}}} 2022-07-05 16:30:02.710 +0200 [debug] (data-util.js) Read {"ticket_101_101_freshdesk":{"ticket_101_101_custom_iparams":{"__meta":{"secure":["freshdesk_key"]},"freshdesk_domain":"testotka","freshdesk_key":"tzLuj9EIq5kPFXjFmww","client_field":"prioritaire","groups_locked":"Billing\n"}}} 2022-07-05 16:30:02.710 +0200 [debug] (proxy.js) Substituing Templates {"headers":{"Content-Type":"application/json","Authorization":"Basic <%= encode(iparam.freshdesk_key + ':x') %>"},"url":"https://testotka.freshdesk.com/api/v2/contacts/101053119765","method":"get"} with {"iparam":{"freshdesk_domain":"testotka","freshdesk_key":"tzLuj9EIq5kPFXjFmww","client_field":"prioritaire","groups_locked":"Billing\n"},"oauth_iparams":{}} 2022-07-05 16:30:02.713 +0200 [debug] (proxy.js) Parsed https://testotka.freshdesk.com/api/v2/contacts/101053119765 as {"protocol":"https:","slashes":true,"auth":null,"host":"testotka.freshdesk.com","port":null,"hostname":"testotka.freshdesk.com","hash":null,"search":null,"query":null,"pathname":"/api/v2/contacts/101053119765","path":"/api/v2/contacts/101053119765","href":"https://testotka.freshdesk.com/api/v2/contacts/101053119765"} 2022-07-05 16:30:02.719 +0200 [debug] (proxy.js) Checking if the request url is whitelisted in manifest 2022-07-05 16:30:02.719 +0200 [debug] (proxy.js) Matched "https://testotka.freshdesk.com/api/v2/contacts/101053119765" with https://testotka.freshdesk.com 2022-07-05 16:30:02.720 +0200 [debug] (proxy.js) Making proxy call with options as {"headers":{"Content-Type":"application/json","Authorization":"Basic dHpMdWo5RUlxNWtQRlhqRm13dzp4"},"url":"https://testotka.freshdesk.com/api/v2/contacts/101053119765","method":"get","whitelistedDomains":["https://testotka.freshdesk.com"],"maxAttempts":1,"retryDelay":0,"timeout":5000} 2022-07-05 16:30:02.727 +0200 [debug] (coverage-util.js) Writing coverage. 2022-07-05 16:30:03.208 +0200 [debug] (proxy.js) Proxy came back with error as null, body as "{\"active\":true,\"address\":\"7, Stone Hill, W 240 St, NY\",\"description\":null,\"email\":\"bob.t 2022-07-05 16:30:03.208 +0200 [debug] (proxy.js) Looking for "application/json" in application/json,application/xml,text/html,text/xml,application/jsonp,text/plain,application/javascript,application/vnd.api+json 2022-07-05 16:30:04.700 +0200 [debug] (coverage-util.js) Writing coverage.