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

_Map<String, String>: {error: DioException [bad response]: This exception was thrown because the response has a status ... #683

Open
sentry-io bot opened this issue Mar 13, 2024 · 0 comments

Comments

@sentry-io
Copy link

sentry-io bot commented Mar 13, 2024

Sentry Issue: MEDITO-4NS

_Map<String, String>: {error: DioException [bad response]: This exception was thrown because the response has a status code of 401 and RequestOptions.validateStatus was configured to throw for this status code.
The status code of 401 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.
, endpoint: packs, response: {"error":"Invalid token"}, serverMessage: This exception was thrown because the response has a status code of 401 and RequestOptions.validateStatus was configured to throw for this status code.
The status code of 401 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.
}
  File "dio_mixin.dart", line 348, in DioMixin.request
  File "dio_mixin.dart", line 62, in DioMixin.get
  File "dio_api_service.dart", line 92, in DioApiService.getRequest
  File "packs_repository.dart", line 21, in PackRepositoryImpl.fetchAllPacks
  File "pack_provider.dart", line 14, in fetchAllPacks
...
(245 additional frame(s) were not displayed)
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

0 participants