Amazon alexa skill set suddenly stopped working. It was working fine, and we did not do any changes. Now for any request it is giving "The response is invalid" error.
I checked the response and did not see any issue in it. If i test my lambda service, it is working fine.
Not sure what is happening, we got an important demo over a weekend and it stopped working. Appreciate any inputs/suggestion.
Please find the Request/Response from Lamba:
Request:
{ "session": { "new": true, "sessionId": "SessionId.48a8ba32-a3a6-47d1-96c6-62499eaa68dc", "application": { "applicationId": "amzn1.ask.skill.13bee533-aaf4-45a1-904e-2e9ca497802d" }, "attributes": {}, "user": { "userId": "amzn1.ask.account.AEZSVYV6NYFWLXB5USIA5MQVZJSDG7GNJGT26G3SR2EPMGNM6FVS26737SMXKP7LB5J3WWG2JMHXZ727QPBUEBZXG3FRXMDHUB2XLBAV75ZKMOGMTI6OI5IHUI6B2ZKKUYGPAV2WZ5EBNHOEAJTKNKAWHTZ5NKMZ4EZOHW26PUZI3FJWKDHAIGI6YQXDH2MXCDAFQC63Q3F76VI" } }, "request": { "type": "IntentRequest", "requestId": "EdwRequestId.1b351eaa-e4fa-4788-b458-d28c717fafb6", "intent": { "name": "SalesVolumeIntent", "slots": { "SalesRegion": { "name": "SalesRegion", "value": "central" } } }, "locale": "en-US", "timestamp": "2017-09-29T21:50:32Z" }, "context": { "AudioPlayer": { "playerActivity": "IDLE" }, "System": { "application": { "applicationId": "amzn1.ask.skill.13bee533-aaf4-45a1-904e-2e9ca497802d" }, "user": { "userId": "amzn1.ask.account.AEZSVYV6NYFWLXB5USIA5MQVZJSDG7GNJGT26G3SR2EPMGNM6FVS26737SMXKP7LB5J3WWG2JMHXZ727QPBUEBZXG3FRXMDHUB2XLBAV75ZKMOGMTI6OI5IHUI6B2ZKKUYGPAV2WZ5EBNHOEAJTKNKAWHTZ5NKMZ4EZOHW26PUZI3FJWKDHAIGI6YQXDH2MXCDAFQC63Q3F76VI" }, "device": { "supportedInterfaces": {} } } }, "version": "1.0" }
Response:
{ "version": "1.0", "response": { "outputSpeech": { "text": "For past one month the sales volume for central region is dollar 139674.26", "type": "PlainText" }, "shouldEndSession": true, "reprompt": { "outputSpeech": { "text": "For past one month the sales volume for central region is dollar 139674.26", "type": "PlainText" } }, "card": { "content": "SessionSpeechlet - For past one month the sales volume for central region is dollar 139674.26", "type": "Simple", "title": "SessionSpeechlet - Sales_Volume" } }, "sessionAttributes": {} }