Skip to content

Response success status validated incorrectly #4338

@slyapustin

Description

@slyapustin

Describe your environment

OS: (e.g, Ubuntu)
Python version: (e.g., Python 3.8.10)
SDK version: (e.g., 1.25.0)
API version: (e.g., 1.25.0)

What happened?

There are some places, where success status of the request validated based on only 200 and 202 status code:

Steps to Reproduce

Receive the HTTP 204 succes status code

Expected Result

204 status to be treated as a success status

Actual Result

204 status code treated as an error

Additional context

Relevant issue (fixed) about the same behavior in another module: #3621

Would you like to implement a fix?

None

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions