DioException [bad response]: This exception was thrown because the response has a status code of 502 and RequestOptions.validateStatus was configured to throw for this status code.
The status code of 502 has the following meaning: "Server error - the server failed to fulfil an apparently valid request"
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.
Type
网络问题
Bug 描述
Error: Failed to get access token
DioException [bad response]: This exception was thrown because the response has a status code of 502 and RequestOptions.validateStatus was configured to throw for this status code. The status code of 502 has the following meaning: "Server error - the server failed to fulfil an apparently valid request" 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.
截屏或视频
No response
您确认您已经阅读了上方的注意事项,并已知此处并非讨论区。您遇到了问题需要反馈,或有功能建议需要提出。