skill-sample-nodejs-fact: The remote endpoint could not be called, or the response it returned was invalid.

I am very new at developing with alexa. I followed to tutorial but when I get into the testing section it gives me an error: The remote endpoint could not be called, or the response it returned was invalid. Don’t know what I did wrong - the arn is copied correctly. I’m following the tutorial here: https://developer.amazon.com/alexa-skills-kit/tutorials/fact-skill-4

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Reactions: 3
  • Comments: 41 (4 by maintainers)

Most upvoted comments

Hi - I was getting this error but it was because the name that I gave my intent in the skills builder did not match the js example for lambda. Namely, GetNewFactIntent – you must name the intent in the skills builder to be exactly the same (or alternatively, change this line in the lambda code example [currently, it’s line 112]). Just figured I would add this since I was getting the same error in case it helps someone else.

In Lambda, check timeout value (basic setting >> timeout).

When I used default 3 secs, I got the same error. When I changed to 30 secs, it works.

Maybe it need more time to load the 1st time or 3 secs is just not enough.