Alexa Skill not recognized when testing on Echo

I did one of the tutorials (HelloWorld) to make a skill for Echo, and I followed the directions. When I tested the skill using a service simulator, I typed

Alexa, tell Greeter to say hello 

and he returned the following JSON response:

 { "version": "1.0", "response": { "outputSpeech": { "type": "PlainText", "text": "Hello World!" }, "card": { "content": "Hello World!", "title": "Greeter", "type": "Simple" }, "shouldEndSession": true }, "sessionAttributes": {} } 

I think this is the right conclusion. However, when I tried to test my echo skill, Alexa replied, "Sorry, I have no question for you." I continued the story, and Alexa interpreted my team as "alexa say welcome to say hello." Doesn't Alex seem to recognize mastery?

I use Amazon Lambda to execute code, so I checked the logs and the code was not executed when I said the command above.

I replaced the app_id in the javascript file with one that matches my skill. I also set the Amazon skill set as a trigger.

I also tried other tutorials (ChemistryFlashCards and HistoryBuff), and Alexa replies, "I'm not sure what you meant by that."

Not sure whats going on! Any guidance appreciated!

+12
aws-lambda amazon-echo alexa-skills-kit alexa-skill
source share
4 answers

In order for your Echo / Dot / Tap device to properly trigger your user skill, the language of your interaction model must correspond to the region in which your lambda resource is located. I had this problem since I deployed lambda to EU-West1 (Ireland), but the default for Interaction model is English (US). In the interaction model, I added a new language in English (UK) and copied my intentions and statements, then deleted the US English, and my Echo Dot now correctly applied my own skill intentions

+41
source share

Have you turned on testing your device for your skill?

enter image description here

Once you turn it on, you can check if it is connected correctly to your device by going to the "Skills" section of the Alexa app and clicking "Your Skills" to see a list of the skills that your Echo recognizes. You should see your mastery with the little green dev tag on it.

+5
source share

The language of your device and the language you use in the developer account to create custom skills must be the same. If your device is registered in English in India, you need to add English in accordance with your own skills.

Check the language in the settings of your application alexa → Echo device → Language

+2
source share

I developed the default American default language in Northern Virginia (for the Lambda function), but was founded in India. I even tried using the US address in the Alexa app, but that didn't work.

In the end, I added all the English languages ​​(en-IN, en-CA, en-GB, en-EU) and copied the JSON model file that was created for en-US. Build each of them individually and fill out Description → Skill Preview for each of them. It worked.

+1
source share

All Articles