Skip to content

4XX errors with valid json not being properly handled #194

Closed
@abhishek-12355

Description

@abhishek-12355

Although we are getting 401, it is not properly handled. Looking at the code it seems 4XX errors are handled in except block. However except block never gets executed.
image

In this situation we should get TransportServerError, but instead we get TransportProtocolError

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: bugAn issue or pull request relating to a bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions