Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OperationStatus not correctly decoded from JSON #2233

Open
pschichtel opened this issue Nov 20, 2024 · 1 comment
Open

OperationStatus not correctly decoded from JSON #2233

pschichtel opened this issue Nov 20, 2024 · 1 comment
Labels
status:waiting-for-triage An issue that is yet to be reviewed or assigned type:bug A broken experience

Comments

@pschichtel
Copy link

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

@pschichtel pschichtel added status:waiting-for-triage An issue that is yet to be reviewed or assigned type:bug A broken experience labels Nov 20, 2024
@pschichtel
Copy link
Author

This affects all commOperations objects.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status:waiting-for-triage An issue that is yet to be reviewed or assigned type:bug A broken experience
Projects
None yet
Development

No branches or pull requests

1 participant