Am trying to invoke SMI from a custom installation page.
https://developers.freshservice.com/docs/server-method-invocation/
When adding the functions
"freshservice": {
"events": {
"onAppInstall": {
"handler": "onAppInstallCallback"
},
"onScheduledEvent": {
"handler": "onScheduledEventHandler"
}
},
"location": {
"full_page_app": {
"url": "index.html",
"icon": "icon.svg"
}
},
"functions": {
"getRolesForAccount": {
"timeout": 20
}
}
},
I am getting this error when try to “fdk run”
[ERROR] Invalid product(s) mentioned in manifest.json: dependencies,whitelisted-domains,engines
fdk version : 8.6.7 (did notice a previous error when a developer needed to update to fdk version 7.0 or later)
node version: 14.0.0
Moreover, am calling this not from app.js, calling it from config/assets/iparams.js in an react scaffolded app.
So what am I missing?