[ ] Regression (a behavior that used to work and stopped working in a new release)
[ x] Bug report
[ ] Performance issue
[ ] Feature request
[ ] Documentation issue or request
[ ] Other... Please describe:
Expected Behavior
After invoking an intent that uses a progressive response it should return the message ("Okay, please wait") and then finish the rest of the intent.
Current Behavior
Getting these errors and no progressive response:
“Couldn't parse response body: com.fasterxml.jackson.core.JsonParseException: Unrecognized token 'header': was expecting ('true', 'false' or 'null')”
I'm submitting a...
Expected Behavior
After invoking an intent that uses a progressive response it should return the message ("Okay, please wait") and then finish the rest of the intent.
Current Behavior
Getting these errors and no progressive response:
“Couldn't parse response body: com.fasterxml.jackson.core.JsonParseException: Unrecognized token 'header': was expecting ('true', 'false' or 'null')”
and
"Directive not valid" even when the directive is valid according to the alexa developer docs for progressive responses. (https://developer.amazon.com/docs/custom-skills/send-the-user-a-progressive-response.html#send-directive)
Steps to Reproduce (for bugs)
Code snippet for progressive response:
from ask_sdk_model.services.directive import ( SendDirectiveRequest, Header, SpeakDirective)
def call_directive_service(handler_input): request_id_holder = handler_input.request_envelope.request.request_id
How to call it in an intent handler:
try: call_directive_service(handler_input) except Exception as e: print(e)
Python version info