question

m19brandon avatar image
m19brandon asked

Skill Error "Unable to call remote endpoint or the response is invalid"

Hi All, I have created a AWS lambda Alexa funcation (node.js) and it work great in the console. No errors and the response is good but when I go to the developer portal, configure skill with my ARN and then go to the Service Simulator I get this error when I call my function, "Unable to call remote endpoint or the response is invalid" Any ideas?
alexa skills kitsubmission testing certification
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

jjaquinta avatar image
jjaquinta answered
Check your Event Sources tab. Make sure you set it to Alexa. Then check your Monitoring tab. Click through to View logs in CloudWatch. Check there for anything funny.
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

m19brandon avatar image
m19brandon answered
I was missing the Event Sources. Added the Alexa event in the Event Sources tab and all works in the Service Simulator as expected. Thanks @jjaquinta
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.