Alexa not finding my Skill

偶尔善良 提交于 2019-12-21 04:24:32

问题


I created my Alexa Skill as an AWS Lambda Node.js app based on one of the provided examples in the Alexa Skills Kit. I followed all the instructions:

  1. My Echo is registered with the same account as my developer account on AWS
  2. I configured my Skill on the Amazon developer console
  3. I put my application ID from the console into my application code
  4. I uploaded my code to the AWS Lambda service (set to N. Virginia, as instructed)
  5. I tested my service and it returned the expected JSON
  6. I entered my ARN as the endpoint back in the developer console
  7. On the next step in the console it tells me to test the skill with Echo by saying "Alexa, ask HelloWorld".

When I do this, she replies "There was a problem communicating with the requested application." In the Echo app it says:

Unexpected Communication Issue HelloWorld Request Identifier: amzn1.echo-api.request.e2d17280-592a-474f-a6b1-d1a9d8ff816d There was a problem communicating with the requested application

I can see from my AWS Lambda functions list that no requests have reached the service. I restarted Echo. I gave it an hour in case it just needed time to propagate somewhere, but it still gives the same response.

So this is a pretty ambiguous dead end. Has anyone ran into this? Any ideas what to try?


回答1:


I noticed you didn't mention setting your Event Source. Here's the snippet from the documentation here.

Add the Alexa Skills Kit Event Source

Adding the Alexa Skills Kit event source to your function grants Alexa the necessary invocation permissions for your function.

Log in to the AWS Management Console and navigate to AWS Lambda.
Select your function in the list.
Click Actions and then select Add event source.
Select Alexa Skills Kit from the Event source type.
Click Submit.

Additionally, feel free to check out the Alexa Skills Kit Knowledge Base sub-forum for a list of common Q&A here.

Thanks!



来源:https://stackoverflow.com/questions/31125326/alexa-not-finding-my-skill

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!