skill id: amzn1.ask.skill.427849eb-fa55-4af7-8bbc-6adc626d806c
Here is the response JSON from Manual JSON test.
{ "status": "SUCCESSFUL", "result": { "skillExecutionInfo": { "invocationRequest": { "endpoint": "arn:aws:lambda:us-east-1:xxxxxxx:function:xxxxxxxx", "body": { "session": { "new": true, "sessionId": "amzn1.echo-api.session.8f9f2be2-f000-4092-941d-b9fb6863bfe5", "application": { "applicationId": "amzn1.ask.skill.xxxxxx-fa55-4af7-8bbc-6adc626d806c" }, "attributes": { "key": "string value" } }, "request": { "type": "CanFulfillIntentRequest", "requestId": "amzn1.echo-api.request.9d287c01-924f-4881-ba2c-a5ec358ef63b", "intent": { "name": "GetMenuIntent", "slots": { "type": { "name": "type", "value": "Lunch" }, "day": { "name": "day", "value": "august twenty fifth twenty fifteen" } } }, "locale": "en-US", "timestamp": "2017-10-03T22:02:29Z" }, "context": { "AudioPlayer": { "playerActivity": "IDLE" }, "System": { "application": { "applicationId": "amzn1.ask.skill.427849eb-fa55-4af7-8bbc-6adc626d806c" }, "user": { "userId": "amzn1.ask.account.AFLSD3YHCHWFPV7PI4I7RTUIT4MDE6RQ4E7NAQW46VFGBGEBCQ4B5SULWEPZMOGPRPED4HP4ZL4HH65R4HJSNLP2MK2YLEWV7Q74VCXZT2B4XBUQCSSUP6AO3RKUHVFQ3QR6EOZQOKCZ4PCXZIAOSDMB23FOHGHATNHGKI4F6NRP47YLKVLW4B7VQ66652BG2P7NZ3QYLOOY", "accessToken": "RESIDENT_QCHK/8g6PwuEjddIFNVj7Je09P/Kx1ulzs0HdUKxCVk=" }, "device": { "supportedInterfaces": {} } } }, "version": "1.0" } }, "invocationResponse": { "body": { "version": "1.0", "sessionAttributes": { "key": "string value" }, "userAgent": "ask-java/2.9.2 Java/1.8.0_181", "response": { "canFulfillIntent": { "canFulfill": "YES", "slots": { "day": { "canUnderstand": "YES", "canFulfill": "YES" } } } } } }, "metrics": { "skillExecutionTimeInMilliseconds": 39 } }, "error": null } }
However, Functional test fails with error
This skill implements the Alexa CanFulfillIntentRequest interface, but the CanFulfillIntentRequest interface call’s response is blank or not in the defined structure. We found your endpoint to respond with unsupported format for GetMenuInten. Please implement the CanFulfillIntentRequest interface as outlined in the our documentation. The skill should respond properly to requests without a UserId present, without session information present, and should respond to a CanFulfillIntentRequest call for the skill’s intents included within the interaction model. More information about CanFulfillIntentRequest can be found in our documentation. Opting out of the Alexa CanFulfillIntentRequest interface can also resolve this issue.
Error: Empty or No Response from endpoint, Intent Name: GetMenuIntent, Slot Names: type, day, Slot Values: Lunch, last year