question

Robert Lyons avatar image
Robert Lyons asked

Did something change yesterday? Unable to call remote endpoint

Starting yesterday, when I test my new Alexa skills with the Service Simulator, I get the following Lambda response:

[i]Unable to call remote endpoint or the response is invalid[/i]

And when I test these new skills using my Amazon Echo, the history in my Alexa iPhone app shows the following error:

[i]Unexpected Communication Issue ... There was a problem communicating with the requested application. [/i]

I verified that I set the Event Source of my Lambda functions to Alexa Skills Kit.

Prior to yesterday, everything was working fine.

Not sure if this is related: I noticed yesterday that my Eclipse automatically installed a new version of an AWS plug-in. (My Lambda functions are Java 8.)

Thanks in advance for any assistance!

alexa skills kitlambdaservice simulator
10 |5000

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

memo@amazon avatar image
memo@amazon answered
Hello, The issue that was causing this behavior has been corrected, and all new Lambda Skills should be working as expected. For skills that present the issue; removing and re-adding the Alexa event source should fix the Lambda endpoint. Thanks and once again sorry for the inconvenience,
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
The AWS plugin updates pretty regularly. I can confirm that it's probably not related.
10 |5000

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

Robert Lyons avatar image
Robert Lyons answered
Thank you, jaquinta. Btw, your book 'How To Program Amazon Echo' has been very helpful!
10 |5000

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

bhanujain avatar image
bhanujain answered
Even I am facing the very same problem. I have checked everything, from endpoint to ARN, but both the service simulator and the echo are unable to call the lambda function. Its returns with the same message "Unable to call remote endpoint or the response is invalid". When I use the JSON from the service simulator and directly test it on AWS Lambda portal, it works. It seems a communication issue. Any help guys?
10 |5000

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

Robert Lyons avatar image
Robert Lyons answered
The skills that I created yesterday have this problem. The skills that I created prior to yesterday are working fine. I've worked around this problem by pointing my older skills to my new Java classes.
10 |5000

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

Tyler Horvath avatar image
Tyler Horvath answered
I am having the same issue - but have nothing old to point to. Only new functions....
10 |5000

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

Rand M avatar image
Rand M answered
Having the same issue all day
10 |5000

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

Vernon Germano avatar image
Vernon Germano answered
Same here, just started today.
10 |5000

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

Brom avatar image
Brom answered
I am entirely new here, but I am also getting the error "Unable to call remote endpoint or the response is invalid". Same situation in the simulator. No errors on the Lambda functions.
10 |5000

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

Justin Mandurano avatar image
Justin Mandurano answered
Same issue as well. Older node.js lambda is accessible, but cannot create a new java 8 lambda.
10 |5000

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