Alexa找不到我的技能 [英] Alexa not finding my Skill

查看:164
本文介绍了Alexa找不到我的技能的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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

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. 我的Echo与我在AWS上的开发人员帐户注册的帐户相同

  2. 我在Amazon开发人员控制台上配置了我的技能

  3. 我将控制台中的应用程序ID放入了我的应用程序代码中

  4. 我上传了我的代码到AWS Lambda服务(按照指示设置为N. Virginia)

  5. 我测试了服务,并返回了预期的JSON

  6. 我输入了ARN作为开发者控制台中的终结点

  7. 在控制台的下一步中,它告诉我说 Alexa,询问HelloWorld,以测试Echo的技能。

  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".

当我这样做时,她回答与请求的应用程序通信时出现问题。在Echo应用中,它说:

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


意外的通讯问题HelloWorld请求标识符:
amzn1.echo-api.request.e2d17280- 592a-474f-a6b1-d1a9d8ff816d与请求的应用程序通信时出现
a问题

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。我花了一个小时,以防它只需要时间在某个地方传播,但是仍然给出相同的响应。

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?

推荐答案

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

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

添加Alexa技能工具包事件源

将Alexa Skills Kit事件源添加到函数中将为Alexa授予函数所需的调用权限。

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.

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

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

谢谢!

这篇关于Alexa找不到我的技能的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆