Alexa 找不到我的技能

Alexa not finding my Skill

我根据 Alexa Skills Kit 中提供的示例之一将我的 Alexa Skill 创建为 AWS Lambda Node.js 应用程序。我遵循了所有说明:

  1. 我的 Echo 注册的账户与我在 AWS 上的开发者账户相同
  2. 我在亚马逊开发者控制台上配置了我的技能
  3. 我将控制台中的应用程序 ID 放入我的应用程序代码中
  4. 我已将我的代码上传到 AWS Lambda 服务(按照说明设置为弗吉尼亚北部)
  5. 我测试了我的服务,它返回了预期的 JSON
  6. 我在开发者控制台中输入了我的 ARN 作为端点
  7. 在控制台的下一步中,它告诉我通过说 "Alexa, ask HelloWorld" 来测试 Echo 的技能。

当我这样做时,她回复 "There was a problem communicating with the requested application." 在 Echo 应用程序中它说:

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

我可以从我的 AWS Lambda 函数列表中看到没有请求到达该服务。我重新启动了 Echo。我给了它一个小时,以防它只需要时间在某个地方传播,但它仍然给出相同的响应。

所以这是一个非常模棱两可的死胡同。有人 运行 参与其中吗?有什么想法可以尝试吗?

我注意到您没有提到设置事件源。这是文档 here.

中的片段

添加 Alexa Skills Kit 事件源

将 Alexa Skills Kit 事件源添加到您的函数会授予 Alexa 必要的函数调用权限。

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.

此外,请随时查看 Alexa Skills Kit 知识库子论坛以获取常见问答列表 here

谢谢!