问题描述
我在js.do中遇到错误
I am getting an error in js.do that reads
第22行读取
exports.handler = function (event, context) {
当我在developer.amazon的服务模拟器中对其进行测试时,它会响应
When I test it in the service simulator on developer.amazon, it responds
这是什么意思,我该怎么解决?
What does this mean, and what can I do to fix it?
推荐答案
我之前创建Alexa Skills时也遇到了这个问题。
I have also come into this issue when creating Alexa Skills previously.
我发现,在文本模拟器上输入语音后(并得到错误);如果我复制标头并切换JSON模拟器,然后将请求粘贴到此处,它将可以正常工作。
I have found that after I enter the utterance on the text simulator (and get the error); if I copy the headers and switch the the JSON simulator and paste the request in there now it will work.
如果您有绿色勾号,则说明服务正在运行,这是Amazon Service Simulator的错误。
If you have the green tick your service is working and this is a bug with Amazon Service Simulator.
这篇关于需要帮助修复Alexa技能的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!