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

Status code is not returned for 413 responses #600

Open
sadeghi-aa opened this issue Mar 31, 2023 · 1 comment
Open

Status code is not returned for 413 responses #600

sadeghi-aa opened this issue Mar 31, 2023 · 1 comment

Comments

@sadeghi-aa
Copy link

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.

@yannick-mir
Copy link

Any fix for this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants