medito-app icon indicating copy to clipboard operation
medito-app copied to clipboard

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

Open sentry-io[bot] opened this issue 3 months ago • 0 comments

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)

sentry-io[bot] avatar Mar 13 '24 18:03 sentry-io[bot]