OperationStatus not correctly decoded from JSON #2233
Labels
status:waiting-for-triage
An issue that is yet to be reviewed or assigned
type:bug
A broken experience
Describe the bug
OperationStatus.forValue() expects the value to be capitalized, however the webhooks receive e.g.
PlayPromptOperation
entities with the value starts with a small letter. So the SDK expects "Running", but receives "running".Expected behavior
Status is properly decoded
How to reproduce
Decode a webhook notification collection that contains a PlayPromptOperation entity as data.
SDK Version
6.20
Latest version known to work for scenario above?
No response
Known Workarounds
No response
Debug output
No response
Configuration
No response
Other information
No response
The text was updated successfully, but these errors were encountered: