I am creating an Alexa skill using JOVO framework. I have completed the following steps on Amazon Alexa
console:
Lambda arn
.Local setup:
$ jovo new WeatherService
$ cd WeatherService
$ code .
$ ask init
selected ask defualt
. Logged in through IAM console in browser
$ jovo build --platform alexaSkill
Up to this everything works fine. So I went on to deploy the skill by the following command:
$ jovo deploy
When the Lambda was trying to deploy, I get the following message:
The trigger setting for the Lambda arn:aws:lambda:us-east-1:880731272882:function:MyWeatherTeller is invalid
Out of curiosity, I ran the same command $jovo deploy
and this time it is a different error message:
askApiUpdateSkill:Resource not found
What I am doing wrong?
Below are screenshots of the console setup:
In a newly created Jovo project, the $ jovo deploy
command creates a new Alexa Skill project.
This new project has a different Skill ID than the Skill project you've created by hand. This is why your trigger (which only accepts 1 Skill ID if verification is enabled) is complaining.
If you don't want to create a new Skill project with the deploy command, you can also add the current Skill ID to your project.js
(learn more here) file:
alexaSkill: {
nlu: 'alexa',
skillId: 'yourSkillId',
},
Then run the two commands again:
$ jovo build
$ jovo deploy