Hi all,
I'm trying to automate my existing Alexa skill deployment using ASK CLI. I started with sample skill.json, tweaking it according to validation errors given by "ask deploy". However now I am stuck with the error:
"The trigger setting for the Lambda <my lambda ARN> is invalid."
I found a hint on this forum suggesting to check that Skill ID in Lambda trigger matches ID of the deployed skill, but it does. What might be related is that I deploy Lambda separately via Cloudformation template and not with ASK CLI.
Any ideas?
My skill.json looks like this:
{ "manifest": { "publishingInformation": { "locales": { "en-US": { "summary": "Sample Short Description", "examplePhrases": [ "Alexa open hello world", "Alexa tell hello world hello", "Alexa ask hello world say hello" ], "name": "ask-test-skill", "description": "Sample Full Description" } }, "isAvailableWorldwide": true, "testingInstructions": "Sample Testing Instructions.", "category": "EDUCATION_AND_REFERENCE", "distributionCountries": [] }, "apis": { "custom": { "endpoint": { "uri": "<my Lambda ARN>" } } }, "manifestVersion": "1.0", "permissions": [ { "name": "alexa::devices:all:address:full:read" } ], "privacyAndCompliance": { "allowsPurchases": false, "usesPersonalInfo": false, "isChildDirected": false, "isExportCompliant": true, "containsAds": false, "locales": { "en-US": { "privacyPolicyUrl": "http://www.myprivacypolicy.sampleskill.com", "termsOfUseUrl": "http://www.termsofuse.sampleskill.com" } } }, "events": { "endpoint": { "uri": "<my Lambda ARN>" }, "subscriptions": [ { "eventName": "SKILL_ENABLED" }, { "eventName": "SKILL_DISABLED" }, { "eventName": "SKILL_PERMISSION_ACCEPTED" }, { "eventName": "SKILL_PERMISSION_CHANGED" }, { "eventName": "SKILL_ACCOUNT_LINKED" } ], "regions": { "NA": { "endpoint": { "uri": "<my Lambda ARN>" } } } } } }
Thanks in advance!
Richard.