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

DioException [bad response]: This exception was thrown because the response has a status code of 404 and RequestOptions.validateStatus was configured to throw for this status code #2311

Closed
vynguyenbao28 opened this issue Oct 8, 2024 · 1 comment

Comments

@vynguyenbao28
Copy link

Request Statement

DioException [bad response]: This exception was thrown because the response has a status code of 404 and RequestOptions.validateStatus was configured to throw for this status code.
The status code of 404 has the following meaning: "Client error - the request contains bad syntax or cannot be fulfilled"
Read more about status codes at https://developer.mozilla.org/en-US/docs/Web/HTTP/Status
In order to resolve this exception you typically have either to verify and fix your request code or you have to fix the server code.

My api call methods are all valid. My team cannot reproduce this error but can only check this error through errors raised by users.
During development and testing, it cannot be reproduced. Can anyone reproduce it or know how to fix it?

Solution Brainstorm

No response

@vynguyenbao28 vynguyenbao28 added the s: feature This issue indicates a feature request label Oct 8, 2024
@AlexV525
Copy link
Member

AlexV525 commented Oct 8, 2024

Please submit issues with the correct template.

@AlexV525 AlexV525 closed this as not planned Won't fix, can't repro, duplicate, stale Oct 8, 2024
@AlexV525 AlexV525 added i: not following issue template and removed s: feature This issue indicates a feature request labels Oct 8, 2024
@cfug cfug locked as off-topic and limited conversation to collaborators Oct 8, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants