b PRASANTH
b PRASANTH

Reputation: 37

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.

Upvotes: 1

Views: 596

Answers (1)

johndoe
johndoe

Reputation: 4387

"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": {}
    }
}

Upvotes: 1

Related Questions