I ran into an issue yesterday where my skill was crashing out sometimes, but not others, and the Cloudwatch error log showed almost nothing useful. All I got was
"request": {
"type": "SessionEndedRequest",
"requestId": "amzn1.echo-api.request.d5e123asdfasdfa0cea0b",
"timestamp": "2020-05-29T20:53:55Z",
"locale": "en-US",
"reason": "ERROR",
"error": {
"type": "INVALID_RESPONSE",
"message": "An exception occurred while dispatching the request to the skill."
}
}
After a hour of console.log statements and process of elimination, I determined that the issue was response sizes that exceeded the limit.
Could we get a better way to track these down? A more useful error message? I'm sure others have faced this as well.