alexa-js / alexa-app

A framework for Alexa (Amazon Echo) apps using Node.js
https://www.youtube.com/watch?v=pzM4jv7k7Rg
MIT License
1.03k stars 212 forks source link

Intent invocation produces NO_INTENT_FOUND with delegated dialog #357

Closed brandonmailhiot closed 6 years ago

brandonmailhiot commented 6 years ago

I need to delegate dialog management to Alexa to fill all required slots, and am setting my intent schema to do so, e.g.:

"dialog": {
    "type": "delegate"
},
"slots": {
    "number": "AMAZON.NUMBER"
},
"utterances": [
    "pick a number",
    "I choose {-|number}"
]

This is deployed on AWS Lambda using exports.handler = app.lambda().

I am able to load my skill in the Alexa test environment and receive the initial LaunchIntent response successfully, but continue to trigger the app.error method when attempting to invoke the above intent with the exception NO_INTENT_FOUND.

I have created the necessary slots in Alexa developer console, set them as required to fulfill the intent, and created matching utterances to identify the intent and fill the slots. It does not appear that the associated intent is ever called. Is there something I am missing?