So i was hoping somebody could help clarify. I submitted a skill for certification and I am failing because Alexa "the skill’s response is irrelevant to the request or contains an error." So the example that they give is
User: "Alexa, open mexico city guide"
Skill: "Mexico City Guide. You can ask me for an attraction, the local news, or say help. What will it be?"
User: "top five things to do"
Skill: "There was a problem with the requested skill's response"
But interestingly everything that they are saying when i test it on teh developer test area it functions properly. here is the sample lambda request and lambda response when i enter the utterance top five things to do
lambda request:
{ "session": { "sessionId": "SessionId.0c028c1c-28ef-46b8-b104-5f5edde7a06f", "application": { "applicationId": "amzn1.ask.skill.d8d350a2-1cab-4ca5-a5dc-da19b43c5106" }, "attributes": { "STATE": "_TOPFIVE" }, "user": { "userId": "amzn1.ask.account.AGSM2TD67HKDDMUY3AAJVYWUWG4D6QTLQVMT2VTOVTOOERFFOYVP6P6AZCQBJN4Y4WS6EMOU3HAVEIISOVMGKOIUUO4GZXWWECDEQV77RKFSMIMDSHE7YVXKTWGYUSTOFPLKGDUKBSG6CNYOSZ47ST7GBIROGLA7456V7HHBKMWOWF7VI3D5HVL3YQN46QSRZZSTEWLAQF2AL6Q" }, "new": false }, "request": { "type": "IntentRequest", "requestId": "EdwRequestId.8ab889e9-d174-4193-92fc-3eb8d61eb5e4", "locale": "en-US", "timestamp": "2017-07-16T14:57:55Z", "intent": { "name": "getTopFiveIntent", "slots": {} } }, "version": "1.0" }
lambda response:
{ "version": "1.0", "response": { "outputSpeech": { "type": "SSML", "ssml": "<speak> Here are the top five things to do in Mexico City. Number 5: Take a walk around the Chapultepec Zoo featureing nearly 2,000 animals, including giant pandas & others that are endangered.\n Number 4: Take in the National Museum of Anthropology and learn the histories of all the different Mexican provinces.\n Number 3: Walk around the Templo Mayor Museum. and get a rare glimpse to the Aztec civilization in the middle of current downtown.\n Number 2: See the Angel of the Independence, a common gathering place for protesting mexicans.\n Number 1: Visit the Pyramids at Teotihuacan and climb both the Pyramid of the Sun and Moon. Also visit the park at night for a great light show on the pyramid face.\n </speak>" }, "card": { "content": "Here are the top five things to do in Mexico City. Number 5: Take a walk around the Chapultepec Zoo featureing nearly 2,000 animals, including giant pandas & others that are endangered.\n Number 4: Take in the National Museum of Anthropology and learn the histories of all the different Mexican provinces.\n Number 3: Walk around the Templo Mayor Museum. and get a rare glimpse to the Aztec civilization in the middle of current downtown.\n Number 2: See the Angel of the Independence, a common gathering place for protesting mexicans.\n Number 1: Visit the Pyramids at Teotihuacan and climb both the Pyramid of the Sun and Moon. Also visit the park at night for a great light show on the pyramid face.\n", "title": "Top Five Things To See in Mexico City", "type": "Simple" }, "reprompt": { "outputSpeech": { "type": "SSML", "ssml": "<speak> </speak>" } }, "speechletResponse": { "outputSpeech": { "ssml": "<speak> Here are the top five things to do in Mexico City. Number 5: Take a walk around the Chapultepec Zoo featureing nearly 2,000 animals, including giant pandas & others that are endangered.\n Number 4: Take in the National Museum of Anthropology and learn the histories of all the different Mexican provinces.\n Number 3: Walk around the Templo Mayor Museum. and get a rare glimpse to the Aztec civilization in the middle of current downtown.\n Number 2: See the Angel of the Independence, a common gathering place for protesting mexicans.\n Number 1: Visit the Pyramids at Teotihuacan and climb both the Pyramid of the Sun and Moon. Also visit the park at night for a great light show on the pyramid face.\n </speak>" }, "card": { "title": "Top Five Things To See in Mexico City", "content": "Here are the top five things to do in Mexico City. Number 5: Take a walk around the Chapultepec Zoo featureing nearly 2,000 animals, including giant pandas & others that are endangered.\n Number 4: Take in the National Museum of Anthropology and learn the histories of all the different Mexican provinces.\n Number 3: Walk around the Templo Mayor Museum. and get a rare glimpse to the Aztec civilization in the middle of current downtown.\n Number 2: See the Angel of the Independence, a common gathering place for protesting mexicans.\n Number 1: Visit the Pyramids at Teotihuacan and climb both the Pyramid of the Sun and Moon. Also visit the park at night for a great light show on the pyramid face.\n" }, "reprompt": { "outputSpeech": { "ssml": "<speak> </speak>" } }, "shouldEndSession": false } }, "sessionAttributes": { "STATE": "_TOPFIVE" } }
So it is responding properly so I am at a loss. I send them a note so hopefully they get back to me but i figured id try here too.