Skip to content

Status code is not returned for 413 responses #600

Open
@sadeghi-aa

Description

@sadeghi-aa

When an API is called and the server returns a 413 status code (Content Too Large), axios doesn't return the code in the error object. Also, it can't be deduced from the message since it just says: "Network Error".

I don't know about other status codes, but since 400 status codes are fine, I guess we could handle other codes too, and it'd be very good if we could.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions