Open
Description
Hi,
After a few hours trying to figure out why alexa raised an error on my directive response instead of speeching configured prompt for missing slots, It turned out that alexa-app includes outputSpeech object in its reply, which seems exactly to be the problem. Given a Dialog.Delegate directive telling to rely only on model dialogs, Alexa expect not to have outputSpeech attribute besides this directive.
So I patched this with an ugly delete before replying, but I guess fixing your response construction might benefits to some other users :-)
The monkey patch, within any alexa-app handler getting response object:
if (response.response.response.outputSpeech) {
delete response.response.response.outputSpeech
}
Metadata
Metadata
Assignees
Labels
No labels