简体   繁体   中英

Alexa skill sends request to wrong skill

For some reason the Alexa simulator started sending request to other skills. I can invoke my skill, receive the response, then whatever intent I try to use I get an audio only response. I checked the server logs (Heroku hosted) and I can see that It did not receive any requests. Then I checked the device logs in the simulator and I can see this with the key Directive: SkillDebugger.CaptureDebuggingInfo :

{
    "header": {
        "namespace": "SkillDebugger",
        "name": "CaptureDebuggingInfo",
        "messageId": "77e1883a-d78d-43c2-a039-664eb0247955"
    },
    "payload": {
        "skillId": null,
        "timestamp": "2019-12-05T21:40:50.588Z",
        "dialogRequestId": "97b774bc-c1e8-48a4-9b73-09b84047756c",
        "skillRequestId": null,
        "type": "ConsideredIntents",
        "content": {
            "intents": [
                {
                    "name": "<IntentForDifferentSkill>",
                    "confirmationStatus": null,
                    "slots": null
                },
                {
                    "name": "<IntentForDifferentSkill>",
                    "confirmationStatus": null,
                    "slots": null
                },
                {
                    "name": "<IntentForDifferentSkill>",
                    "confirmationStatus": null,
                    "slots": null
                }
            ]
        }
    }
}

I've tried all kind of stuff like changing the endpoint then putting it back or changing the invocation name and of course rebuilding a lot of times. But non of them helped.

Is your skill session being kept open? eg via responseBuilder.withShouldEndSession(false).

If your skill session ends then your skills intents will not be considered.

But if your skill session is still going then yes it is very strange that your skills intents are not matching. Have you tried using 'Evaluate Model|Utterance Profiler' to make sure that your intent model is built and recognizing your inputs?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM