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 · 2 comments
Open

OperationStatus not correctly decoded from JSON #2233

pschichtel opened this issue Nov 20, 2024 · 2 comments
Labels
dependency:metadata Awaiting fix from core dependency project module 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.

@Ndiritu
Copy link
Contributor

Ndiritu commented Dec 17, 2024

Thanks for reporting this @pschichtel
Following up internally with the service team

Internal IcM ref - https://portal.microsofticm.com/imp/v5/incidents/details/576794610

@Ndiritu Ndiritu added dependency:metadata Awaiting fix from core dependency project module and removed status:waiting-for-triage An issue that is yet to be reviewed or assigned labels Dec 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependency:metadata Awaiting fix from core dependency project module type:bug A broken experience
Projects
None yet
Development

No branches or pull requests

2 participants