Search code examples
alexa-skills-kit

I used webhook to call the skill in amazon alexa


When user call any intent it is replies with appropriate answer, Now when alexa replies with the answer user says STOP, Getting There was a problem with the requested skill's response.

How to use the Build-in-intents in webhook.


Solution

  • "There was a problem with the requested skill's response." generally means that there is something wrong with your response. When the users say "Stop", AMAZON.StopIntent will be triggered. Make sure that your AMAZON.StopIntent handler respond back with a correct response JSON.

    A sample response for AMAZON.StopIntent will look like this:

    {
        "body": {
            "version": "1.0",
            "response": {
                "outputSpeech": {
                    "type": "SSML",
                    "ssml": "<speak> Bye </speak>"
                },
                "shouldEndSession": true
            },
            "sessionAttributes": {}
        }
    }