ON_ERROR is working OK at some points. However, I would like to bring one more thing here. My senior sitting in the US tried to record the following voice but it ended up with some weirdness. I am sharing below the voice recording.
I looked into
CloudWatch log and seems it was an
EXCEEDED_MAX_REPROMPTS issue. If you please listen to the voice recording above (length is only 49 second). The response (slot value) from my senior after Alexa prompts
what is it, is of 10 seconds length.
In the CloudWatch, I cannot even see the response anywhere in the log. Does this man Alexa completely ignored it and came up with an
EXCEEDED_MAX_REPROMPTS error? Surprising thing is, after saying once, Alexa asked the same question, i.e.
what is it. And after saying it for the second time, nothing happened and the interaction seemed to have exited unexpectedly.
If it was an error, I was expecting
ON_ERROR will handle it and store into the database. But the slot value is nowhere in the log! I am not even sure whether
ON_ERROR was called because this has a output. It rather looks to me that
Unhandled was executed. I can see the output message in the log, but it was not in the voice recording, since
Unhandled does not come up with a speech as you said earlier.
However, he did the following test and it worked.
Alexa: …say add note
User: add note
Alexa: what is it
User: this is a test note
Alexa: anything else? say continue
User: add this message to my last note
Alexa: thank you. anything else?
The above notes got saved fine into the database and the dialog was completed successfully. I really need your help @Ben_Hartman.