We developing a skill it requires multi-turn dialog. However, when alexa is confirming the first slot it throws up saying "There was a problem with the requested skill's response."
The lambda code that alexa calls looks like this.
'DialogIntent': function(){
if (this.event.request.dialogState === "STARTED") {
console.log("in STARTED");
var updatedIntent = this.event.request.intent;
this.emit(":delegate", updatedIntent);
} else if (this.event.request.dialogState !== "COMPLETED") {
console.log("in not completed");
this.emit(":delegate", updatedIntent);
} else {
console.log("in completed");
return this.event.request.intent.slots;
}
return null;
}
we are doing everything suggested in https://developer.amazon.com/docs/custom-skills/dialog-interface-reference.html