question

blayaclub avatar image
blayaclub asked ·

Getting random SessionEndedRequest event with an INTERNAL_SERVICE_ERROR

Hello,

I am getting the SessionEndedRequest event with an Internal Server Error.

My code is full of try/catch but I cannot find where this error is coming from.

It may come from the Alexa front end but the skill was not changed and neither was the backend Lambda function.

It tends to happen many times in a short period of time. Once, I got 50 occurrences within 30 minutes and right after that the error stopped.

See the this.event.request

{"type":"SessionEndedRequest",
"requestId":"amzn1.echo-api.request.aac64591-3d1b-462a-855e-206ceaf84317",
"timestamp":"2021-03-05T13:24:29Z",
"locale":"es-ES",
"reason":"ERROR",
"error":{
"type":"INTERNAL_SERVICE_ERROR",
"message":"Internal Server Error"}
}

Any help will be appreciated, it has been happening for months and I spent countless hours debugging the skill code.

alexa skills kitlambdaintentssession
10 |2000 characters needed characters left characters exceeded

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

1 Answer

Chihiro@Amazon avatar image
Chihiro@Amazon answered ·

Hi there,

Thank you for posting. If you are still seeing this SessionEndedRequest, could you provide skill ID for investigation?

10 |2000 characters needed characters left characters exceeded

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