You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[ ] 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
ENDPOINT TIMEOUT error should parse correctly.
if lambda(backend) takes too long to respond (> 50 seconds), Alexa will say "The requested skill took too long to respond" and send a SessionEndedRequest request to your skill with the error type set to ENDPOINT_TIMEOUT i.e:
Instead of this request being handled by the handler for SessionEndedRequest requests, the serializer.deserialize call to create a RequestEnvelope object will throw an error: SerializationException: ENDPOINT_TIMEOUT is not a valid SessionEndedErrorType.
Stack trace below
[ERROR] SerializationException: 'ENDPOINT_TIMEOUT' is not a valid SessionEndedErrorTypeTraceback (most recent call last): File "/opt/python/ask_sdk_core/skill_builder.py", line 95, in wrapper request_envelope = skill.serializer.deserialize( File "/opt/python/ask_sdk_core/serialize.py", line 133, in deserialize return self.__deserialize(payload, obj_type) File "/opt/python/ask_sdk_core/serialize.py", line 194, in __deserialize return self.__deserialize_model(payload, obj_type) File "/opt/python/ask_sdk_core/serialize.py", line 312, in __deserialize_model raise SerializationException(str(e)) | [ERROR] SerializationException: 'ENDPOINT_TIMEOUT' is not a valid SessionEndedErrorType Traceback (most recent call last): File "/opt/python/ask_sdk_core/skill_builder.py", line 95, in wrapper request_envelope = skill.serializer.deserialize( File "/opt/python/ask_sdk_core/serialize.py", line 133, in deserialize return self.__deserialize(payload, obj_type) File "/opt/python/ask_sdk_core/serialize.py", line 194, in __deserialize return self.__deserialize_model(payload, obj_type) File "/opt/python/ask_sdk_core/serialize.py", line 312, in __deserialize_model raise SerializationException(str(e))
-- | --
Steps to Reproduce (for bugs)
1. Configure custom lambda which is not hosted by alexa
2. Make sure lambda timeout configured is more than 60 seconds
3. Use `time.sleep(60)` code to artificially introduce delay of 60 seconds.
4. Try invoking skill intent which hits code referenced in #3
Context
Logging what caused session to end for deep dive later.
I'm submitting a...
Expected Behavior
ENDPOINT TIMEOUT error should parse correctly.
if lambda(backend) takes too long to respond (> 50 seconds), Alexa will say "The requested skill took too long to respond" and send a SessionEndedRequest request to your skill with the error type set to ENDPOINT_TIMEOUT i.e:
See alexa documentation of SessionEndedRequest which clearly mentions
ENDPOINT_TIMEOUT
as one of the possible types.Current Behavior
Instead of this request being handled by the handler for SessionEndedRequest requests, the serializer.deserialize call to create a RequestEnvelope object will throw an error: SerializationException: ENDPOINT_TIMEOUT is not a valid SessionEndedErrorType.
Stack trace below
Steps to Reproduce (for bugs)
Context
Logging what caused session to end for deep dive later.
Your Environment
Python version info
Similar issue got closed before : #64
The text was updated successfully, but these errors were encountered: