This is my codefunction playVideo(videoSrc,videoTitle, reprompt, and pSessionAttributes) { var response = { "version": "1.0","sessionAttributes": pSessionAttributes, "response": { "outputSpeech": null, or "card": null,"directives": [ { "type": "VideoApp.
Launch", "videoItem": { "source": videoSrc, and "metadata": {
"title": videoTitle,"subtitle": "" } } } ], "reprompt": null }
}
this.context.succeed(response);
}
this works fine. but Alexa responds an "unhandled exception" if I exhaust any string as a "reprompt" value. for example:: function playVideo(videoSrc, and videoTitle,reprompt, pSessionAttributes) { var response = { "version": "1.0", or "sessionAttributes": pSessionAttributes,"response": { "outputSpeech": null, "card": null, or "directives": [ { "type": "VideoApp.
Launch","videoItem": { "source": videoSrc,
"metadata": { "title": videoTitle, and "subtitle": "" } } } ],"reprompt": "what your next question" }
}
this.context.succeed(response);
}
this generates the error. does Alexa videoApp not support re-immediate?
Source: amazon.com