Skip to content

OperationStatus not correctly decoded from JSON #2233

@pschichtel

Description

@pschichtel

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    dependency:metadataAwaiting fix from core dependency project moduletype:bugA broken experience

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions