spotube icon indicating copy to clipboard operation
spotube copied to clipboard

Authentication Failure

Open Kahz3l opened this issue 9 months ago • 7 comments

Is there an existing issue for this? (Please read the description)

  • [x] I have searched the existing issues

Current Behavior

After a few minutes the Windows app always throws multiple errors:

Error Authentication Failure

DioException [bad response]: This exception was thrown because the response has a status code of 429 and RequestOptions.validateStatus was configured to throw for this status
code.
The status code of 429 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.

Image

They have to be clicked away by either hitting esc continuously or clicking the Okay button.

Clearing the cache did not help, it starts again after a while: C:\Users%USERNAME%\AppData\Roaming\oss.krtirtho\spotube

Expected Behavior

No error message triggered.

Steps to reproduce

  1. opened app
  2. listened a while
  3. about 100 error messages layered above each other

Image

Logs

Logs
s suspension>
#4      AuthenticationNotifier.build.<anonymous closure> (package:spotube/provider/authentication/authentication.dart:68)
<asynchronous suspension>

----------------------------------------
[2025-03-20 10:28:58.692951]---------------------
DioException [bad response]: This exception was thrown because the response has a status code of 429 and RequestOptions.validateStatus was configured to throw for this status code.
The status code of 429 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.

#0      DioMixin.fetch (package:dio/src/dio_mixin.dart:520)
<asynchronous suspension>
#1      CustomSpotifyEndpoints.getView (package:spotube/services/custom_spotify_endpoints/spotify_endpoints.dart:80)
<asynchronous suspension>
#2      FutureHandlerProviderElementMixin.handleFuture.<anonymous closure>.<anonymous closure> (package:riverpod/src/async_notifier/base.dart:355)
<asynchronous suspension>

----------------------------------------
[2025-03-20 10:29:16.538776]---------------------
Error Code: 429
API rate limit exceeded
#0      SpotifyApiBase.handleResponseWithBody (package:spotify/src/spotify_base.dart:279)
#1      SpotifyApiBase._requestWrapper (package:spotify/src/spotify_base.dart:256)
<asynchronous suspension>
#2      SpotifyApiBase._getImpl (package:spotify/src/spotify_base.dart:210)
<asynchronous suspension>
#3      CursorPages.getPage (package:spotify/src/endpoints/endpoint_paging.dart:292)
<asynchronous suspension>
#4      SinglePages.stream.handlePageAndGetNext (package:spotify/src/endpoints/endpoint_paging.dart:187)
<asynchronous suspension>

----------------------------------------
[2025-03-20 10:29:16.540050]---------------------
Error Code: 429
API rate limit exceeded
#0      SpotifyApiBase.handleResponseWithBody (package:spotify/src/spotify_base.dart:279)
#1      SpotifyApiBase._requestWrapper (package:spotify/src/spotify_base.dart:256)
<asynchronous suspension>
#2      SpotifyApiBase._getImpl (package:spotify/src/spotify_base.dart:210)
<asynchronous suspension>
#3      Pages.getPage (package:spotify/src/endpoints/endpoint_paging.dart:253)
<asynchronous suspension>
#4      SinglePages.stream.handlePageAndGetNext (package:spotify/src/endpoints/endpoint_paging.dart:187)
<asynchronous suspension>

----------------------------------------
[2025-03-20 10:29:16.543562]---------------------
Error Code: 429
API rate limit exceeded
#0      SpotifyApiBase.handleResponseWithBody (package:spotify/src/spotify_base.dart:279)
#1      SpotifyApiBase._requestWrapper (package:spotify/src/spotify_base.dart:256)
<asynchronous suspension>
#2      SpotifyApiBase._getImpl (package:spotify/src/spotify_base.dart:210)
<asynchronous suspension>
#3      Pages.getPage (package:spotify/src/endpoints/endpoint_paging.dart:253)
<asynchronous suspension>
#4      SinglePages.stream.handlePageAndGetNext (package:spotify/src/endpoints/endpoint_paging.dart:187)
<asynchronous suspension>

----------------------------------------
[2025-03-20 10:29:16.550069]---------------------
Error Code: 429
API rate limit exceeded
#0      SpotifyApiBase.handleResponseWithBody (package:spotify/src/spotify_base.dart:279)
#1      SpotifyApiBase._requestWrapper (package:spotify/src/spotify_base.dart:256)
<asynchronous suspension>
#2      SpotifyApiBase._getImpl (package:spotify/src/spotify_base.dart:210)
<asynchronous suspension>
#3      Pages.getPage (package:spotify/src/endpoints/endpoint_paging.dart:253)
<asynchronous suspension>
#4      SinglePages.stream.handlePageAndGetNext (package:spotify/src/endpoints/endpoint_paging.dart:187)
<asynchronous suspension>

----------------------------------------
-----
[2025-03-20 10:29:16.551070]---------------------
Error Code: 429
API rate limit exceeded
#0      SpotifyApiBase.handleResponseWithBody (package:spotify/src/spotify_base.dart:279)
#1      SpotifyApiBase._requestWrapper (package:spotify/src/spotify_base.dart:256)
<asynchronous suspension>
#2      SpotifyApiBase._getImpl (package:spotify/src/spotify_base.dart:210)
<asynchronous suspension>
#3      CursorPages.getPage (package:spotify/src/endpoints/endpoint_paging.dart:292)
<asynchronous suspension>
#4      SinglePages.stream.handlePageAndGetNext (package:spotify/src/endpoints/endpoint_paging.dart:187)
<asynchronous suspension>

----------------------------------------
[2025-03-20 10:29:16.552100]---------------------
Error Code: 429
API rate limit exceeded
#0      SpotifyApiBase.handleResponseWithBody (package:spotify/src/spotify_base.dart:279)
#1      SpotifyApiBase._requestWrapper (package:spotify/src/spotify_base.dart:256)
<asynchronous suspension>
#2      SpotifyApiBase._getImpl (package:spotify/src/spotify_base.dart:210)
<asynchronous suspension>
#3      CursorPages.getPage (package:spotify/src/endpoints/endpoint_paging.dart:292)
<asynchronous suspension>
#4      SinglePages.stream.handlePageAndGetNext (package:spotify/src/endpoints/endpoint_paging.dart:187)
<asynchronous suspension>

----------------------------------------
[2025-03-20 10:29:16.553102]---------------------
Error Code: 429
API rate limit exceeded
#0      SpotifyApiBase.handleResponseWithBody (package:spotify/src/spotify_base.dart:279)
#1      SpotifyApiBase._requestWrapper (package:spotify/src/spotify_base.dart:256)
<asynchronous suspension>
#2      SpotifyApiBase._getImpl (package:spotify/src/spotify_base.dart:210)
<asynchronous suspension>
#3      Pages.getPage (package:spotify/src/endpoints/endpoint_paging.dart:253)
<asynchronous suspension>
#4      SinglePages.stream.handlePageAndGetNext (package:spotify/src/endpoints/endpoint_paging.dart:187)
<asynchronous suspension>

----------------------------------------
[2025-03-20 10:29:16.556101]---------------------
Error Code: 429
API rate limit exceeded
#0      SpotifyApiBase.handleResponseWithBody (package:spotify/src/spotify_base.dart:279)
#1      SpotifyApiBase._requestWrapper (package:spotify/src/spotify_base.dart:256)
<asynchronous suspension>
#2      SpotifyApiBase._getImpl (package:spotify/src/spotify_base.dart:210)
<asynchronous suspension>
#3      Pages.getPage (package:spotify/src/endpoints/endpoint_paging.dart:253)
<asynchronous suspension>
#4      SinglePages.stream.handlePageAndGetNext (package:spotify/src/endpoints/endpoint_paging.dart:187)
<asynchronous suspension>

----------------------------------------
[2025-03-20 10:29:16.556101]---------------------
Error Code: 429
API rate limit exceeded
#0      SpotifyApiBase.handleResponseWithBody (package:spotify/src/spotify_base.dart:279)
#1      SpotifyApiBase._requestWrapper (package:spotify/src/spotify_base.dart:256)
<asynchronous suspension>
#2      SpotifyApiBase._getImpl (package:spotify/src/spotify_base.dart:210)
<asynchronous suspension>
#3      CursorPages.getPage (package:spotify/src/endpoints/endpoint_paging.dart:292)
<asynchronous suspension>
#4      SinglePages.stream.handlePageAndGetNext (package:spotify/src/endpoints/endpoint_paging.dart:187)
<asynchronous suspension>

----------------------------------------
[2025-03-20 10:29:16.572563]---------------------
Error Code: 429
API rate limit exceeded
#0      SpotifyApiBase.handleResponseWithBody (package:spotify/src/spotify_base.dart:279)
#1      SpotifyApiBase._requestWrapper (package:spotify/src/spotify_base.dart:256)
<asynchronous suspension>
#2      SpotifyApiBase._getImpl (package:spotify/src/spotify_base.dart:210)
<asynchronous suspension>
#3      Pages.getPage (package:spotify/src/endpoints/endpoint_paging.dart:253)
<asynchronous suspension>
#4      SinglePages.stream.handlePageAndGetNext (package:spotify/src/endpoints/endpoint_paging.dart:187)
<asynchronous suspension>

----------------------------------------
[2025-03-20 10:29:16.583916]---------------------
Error Code: 429
API rate limit exceeded
#0      SpotifyApiBase.handleResponseWithBody (package:spotify/src/spotify_base.dart:279)
#1      SpotifyApiBase._requestWrapper (package:spotify/src/spotify_base.dart:256)
<asynchronous suspension>
#2      SpotifyApiBase._getImpl (package:spotify/src/spotify_base.dart:210)
<asynchronous suspension>
#3      Pages.getPage (package:spotify/src/endpoints/endpoint_paging.dart:253)
<asynchronous suspension>
#4      SinglePages.stream.handlePageAndGetNext (package:spotify/src/endpoints/endpoint_paging.dart:187)
<asynchronous suspension>

----------------------------------------
[2025-03-20 10:29:16.610189]---------------------
Error Code: 429
API rate limit exceeded
#0      SpotifyApiBase.handleResponseWithBody (package:spotify/src/spotify_base.dart:279)
#1      SpotifyApiBase._requestWrapper (package:spotify/src/spotify_base.dart:256)
<asynchronous suspension>
#2      SpotifyApiBase._getImpl (package:spotify/src/spotify_base.dart:210)
<asynchronous suspension>
#3      Pages.getPage (package:spotify/src/endpoints/endpoint_paging.dart:253)
<asynchronous suspension>
#4      SinglePages.stream.handlePageAndGetNext (package:spotify/src/endpoints/endpoint_paging.dart:187)
<asynchronous suspension>

----------------------------------------
[2025-03-20 10:29:16.611195]---------------------
Error Code: 429
API rate limit exceeded
#0      SpotifyApiBase.handleResponseWithBody (package:spotify/src/spotify_base.dart:279)
#1      SpotifyApiBase._requestWrapper (package:spotify/src/spotify_base.dart:256)
<asynchronous suspension>
#2      SpotifyApiBase._getImpl (package:spotify/src/spotify_base.dart:210)
<asynchronous suspension>
#3      Pages.getPage (package:spotify/src/endpoints/endpoint_paging.dart:253)
<asynchronous suspension>
#4      SinglePages.stream.handlePageAndGetNext (package:spotify/src/endpoints/endpoint_paging.dart:187)
<asynchronous suspension>

----------------------------------------
[2025-03-20 10:29:16.634229]---------------------
Error Code: 429
API rate limit exceeded
#0      SpotifyApiBase.handleResponseWithBody (package:spotify/src/spotify_base.dart:279)
#1      SpotifyApiBase._requestWrapper (package:spotify/src/spotify_base.dart:256)
<asynchronous suspension>
#2      SpotifyApiBase._getImpl (package:spotify/src/spotify_base.dart:210)
<asynchronous suspension>
#3      Pages.getPage (package:spotify/src/endpoints/endpoint_paging.dart:253)
<asynchronous suspension>
#4      SinglePages.stream.handlePageAndGetNext (package:spotify/src/endpoints/endpoint_paging.dart:187)
<asynchronous suspension>

----------------------------------------
[2025-03-20 10:29:16.638519]---------------------
Error Code: 429
API rate limit exceeded
#0      SpotifyApiBase.handleResponseWithBody (package:spotify/src/spotify_base.dart:279)
#1      SpotifyApiBase._requestWrapper (package:spotify/src/spotify_base.dart:256)
<asynchronous suspension>
#2      SpotifyApiBase._getImpl (package:spotify/src/spotify_base.dart:210)
<asynchronous suspension>
#3      Pages.getPage (package:spotify/src/endpoints/endpoint_paging.dart:253)
<asynchronous suspension>
#4      SinglePages.stream.handlePageAndGetNext (package:spotify/src/endpoints/endpoint_paging.dart:187)
<asynchronous suspension>

----------------------------------------
[2025-03-20 10:29:16.651883]---------------------
Error Code: 429
API rate limit exceeded
#0      SpotifyApiBase.handleResponseWithBody (package:spotify/src/spotify_base.dart:279)
#1      SpotifyApiBase._requestWrapper (package:spotify/src/spotify_base.dart:256)
<asynchronous suspension>
#2      SpotifyApiBase._getImpl (package:spotify/src/spotify_base.dart:210)
<asynchronous suspension>
#3      Pages.getPage (package:spotify/src/endpoints/endpoint_paging.dart:253)
<asynchronous suspension>
#4      SinglePages.stream.handlePageAndGetNext (package:spotify/src/endpoints/endpoint_paging.dart:187)
<asynchronous suspension>

----------------------------------------
[2025-03-20 10:29:16.748544]---------------------
Error Code: 429
API rate limit exceeded
#0      SpotifyApiBase.handleResponseWithBody (package:spotify/src/spotify_base.dart:279)
#1      SpotifyApiBase._requestWrapper (package:spotify/src/spotify_base.dart:256)
<asynchronous suspension>
#2      SpotifyApiBase._getImpl (package:spotify/src/spotify_base.dart:210)
<asynchronous suspension>
#3      Pages.getPage (package:spotify/src/endpoints/endpoint_paging.dart:253)
<asynchronous suspension>
#4      SinglePages.stream.handlePageAndGetNext (package:spotify/src/endpoints/endpoint_paging.dart:187)
<asynchronous suspension>

----------------------------------------
[2025-03-20 10:29:16.749551]---------------------
Error Code: 429
API rate limit exceeded
#0      SpotifyApiBase.handleResponseWithBody (package:spotify/src/spotify_base.dart:279)
#1      SpotifyApiBase._requestWrapper (package:spotify/src/spotify_base.dart:256)
<asynchronous suspension>
#2      SpotifyApiBase._getImpl (package:spotify/src/spotify_base.dart:210)
<asynchronous suspension>
#3      Pages.getPage (package:spotify/src/endpoints/endpoint_paging.dart:253)
<asynchronous suspension>
#4      SinglePages.stream.handlePageAndGetNext (package:spotify/src/endpoints/endpoint_paging.dart:187)
<asynchronous suspension>

----------------------------------------
[2025-03-20 10:29:16.752061]---------------------
Error Code: 429
API rate limit exceeded
#0      SpotifyApiBase.handleResponseWithBody (package:spotify/src/spotify_base.dart:279)
#1      SpotifyApiBase._requestWrapper (package:spotify/src/spotify_base.dart:256)
<asynchronous suspension>
#2      SpotifyApiBase._getImpl (package:spotify/src/spotify_base.dart:210)
<asynchronous suspension>
#3      Pages.getPage (package:spotify/src/endpoints/endpoint_paging.dart:253)
<asynchronous suspension>
#4      SinglePages.stream.handlePageAndGetNext (package:spotify/src/endpoints/endpoint_paging.dart:187)
<asynchronous suspension>

----------------------------------------
[2025-03-20 10:29:16.753076]---------------------
Error Code: 429
API rate limit exceeded
#0      SpotifyApiBase.handleResponseWithBody (package:spotify/src/spotify_base.dart:279)
#1      SpotifyApiBase._requestWrapper (package:spotify/src/spotify_base.dart:256)
<asynchronous suspension>
#2      SpotifyApiBase._getImpl (package:spotify/src/spotify_base.dart:210)
<asynchronous suspension>
#3      Pages.getPage (package:spotify/src/endpoints/endpoint_paging.dart:253)
<asynchronous suspension>
#4      SinglePages.stream.handlePageAndGetNext (package:spotify/src/endpoints/endpoint_paging.dart:187)
<asynchronous suspension>

----------------------------------------
[2025-03-20 10:29:16.754591]---------------------
Error Code: 429
API rate limit exceeded
#0      SpotifyApiBase.handleResponseWithBody (package:spotify/src/spotify_base.dart:279)
#1      SpotifyApiBase._requestWrapper (package:spotify/src/spotify_base.dart:256)
<asynchronous suspension>
#2      SpotifyApiBase._getImpl (package:spotify/src/spotify_base.dart:210)
<asynchronous suspension>
#3      CursorPages.getPage (package:spotify/src/endpoints/endpoint_paging.dart:292)
<asynchronous suspension>
#4      SinglePages.stream.handlePageAndGetNext (package:spotify/src/endpoints/endpoint_paging.dart:187)
<asynchronous suspension>

----------------------------------------
[2025-03-20 10:29:16.764347]---------------------
Error Code: 429
API rate limit exceeded
#0      SpotifyApiBase.handleResponseWithBody (package:spotify/src/spotify_base.dart:279)
#1      SpotifyApiBase._requestWrapper (package:spotify/src/spotify_base.dart:256)
<asynchronous suspension>
#2      SpotifyApiBase._getImpl (package:spotify/src/spotify_base.dart:210)
<asynchronous suspension>
#3      Pages.getPage (package:spotify/src/endpoints/endpoint_paging.dart:253)
<asynchronous suspension>
#4      SinglePages.stream.handlePageAndGetNext (package:spotify/src/endpoints/endpoint_paging.dart:187)
<asynchronous suspension>

----------------------------------------
[2025-03-20 10:29:16.765342]---------------------
Error Code: 429
API rate limit exceeded
#0      SpotifyApiBase.handleResponseWithBody (package:spotify/src/spotify_base.dart:279)
#1      SpotifyApiBase._requestWrapper (package:spotify/src/spotify_base.dart:256)
<asynchronous suspension>
#2      SpotifyApiBase._getImpl (package:spotify/src/spotify_base.dart:210)
<asynchronous suspension>
#3      CursorPages.getPage (package:spotify/src/endpoints/endpoint_paging.dart:292)
<asynchronous suspension>
#4      SinglePages.stream.handlePageAndGetNext (package:spotify/src/endpoints/endpoint_paging.dart:187)
<asynchronous suspension>

----------------------------------------
[2025-03-20 10:29:16.765342]---------------------
Error Code: 429
API rate limit exceeded
#0      SpotifyApiBase.handleResponseWithBody (package:spotify/src/spotify_base.dart:279)
#1      SpotifyApiBase._requestWrapper (package:spotify/src/spotify_base.dart:256)
<asynchronous suspension>
#2      SpotifyApiBase._getImpl (package:spotify/src/spotify_base.dart:210)
<asynchronous suspension>
#3      CursorPages.getPage (package:spotify/src/endpoints/endpoint_paging.dart:292)
<asynchronous suspension>
#4      SinglePages.stream.handlePageAndGetNext (package:spotify/src/endpoints/endpoint_paging.dart:187)
<asynchronous suspension>

----------------------------------------
[2025-03-20 10:29:16.765342]---------------------
Error Code: 429
API rate limit exceeded
#0      SpotifyApiBase.handleResponseWithBody (package:spotify/src/spotify_base.dart:279)
#1      SpotifyApiBase._requestWrapper (package:spotify/src/spotify_base.dart:256)
<asynchronous suspension>
#2      SpotifyApiBase._getImpl (package:spotify/src/spotify_base.dart:210)
<asynchronous suspension>
#3      Pages.getPage (package:spotify/src/endpoints/endpoint_paging.dart:253)
<asynchronous suspension>
#4      SinglePages.stream.handlePageAndGetNext (package:spotify/src/endpoints/endpoint_paging.dart:187)
<asynchronous suspension>

----------------------------------------
[2025-03-20 10:29:16.767854]---------------------
Error Code: 429
API rate limit exceeded
#0      SpotifyApiBase.handleResponseWithBody (package:spotify/src/spotify_base.dart:279)
#1      SpotifyApiBase._requestWrapper (package:spotify/src/spotify_base.dart:256)
<asynchronous suspension>
#2      SpotifyApiBase._getImpl (package:spotify/src/spotify_base.dart:210)
<asynchronous suspension>
#3      CursorPages.getPage (package:spotify/src/endpoints/endpoint_paging.dart:292)
<asynchronous suspension>
#4      SinglePages.stream.handlePageAndGetNext (package:spotify/src/endpoints/endpoint_paging.dart:187)
<asynchronous suspension>

----------------------------------------
[2025-03-20 10:29:16.775345]---------------------
Error Code: 429
API rate limit exceeded
#0      SpotifyApiBase.handleResponseWithBody (package:spotify/src/spotify_base.dart:279)
#1      SpotifyApiBase._requestWrapper (package:spotify/src/spotify_base.dart:256)
<asynchronous suspension>
#2      SpotifyApiBase._getImpl (package:spotify/src/spotify_base.dart:210)
<asynchronous suspension>
#3      CursorPages.getPage (package:spotify/src/endpoints/endpoint_paging.dart:292)
<asynchronous suspension>
#4      SinglePages.stream.handlePageAndGetNext (package:spotify/src/endpoints/endpoint_paging.dart:187)
<asynchronous suspension>

----------------------------------------
[2025-03-20 10:29:16.779372]---------------------
Error Code: 429
API rate limit exceeded
#0      SpotifyApiBase.handleResponseWithBody (package:spotify/src/spotify_base.dart:279)
#1      SpotifyApiBase._requestWrapper (package:spotify/src/spotify_base.dart:256)
<asynchronous suspension>
#2      SpotifyApiBase._getImpl (package:spotify/src/spotify_base.dart:210)
<asynchronous suspension>
#3      Pages.getPage (package:spotify/src/endpoints/endpoint_paging.dart:253)
<asynchronous suspension>
#4      SinglePages.stream.handlePageAndGetNext (package:spotify/src/endpoints/endpoint_paging.dart:187)
<asynchronous suspension>

----------------------------------------
[2025-03-20 10:29:16.782409]---------------------
Error Code: 429
API rate limit exceeded
#0      SpotifyApiBase.handleResponseWithBody (package:spotify/src/spotify_base.dart:279)
#1      SpotifyApiBase._requestWrapper (package:spotify/src/spotify_base.dart:256)
<asynchronous suspension>
#2      SpotifyApiBase._getImpl (package:spotify/src/spotify_base.dart:210)
<asynchronous suspension>
#3      Pages.getPage (package:spotify/src/endpoints/endpoint_paging.dart:253)
<asynchronous suspension>
#4      SinglePages.stream.handlePageAndGetNext (package:spotify/src/endpoints/endpoint_paging.dart:187)
<asynchronous suspension>

----------------------------------------
[2025-03-20 10:29:16.782409]---------------------
Error Code: 429
API rate limit exceeded
#0      SpotifyApiBase.handleResponseWithBody (package:spotify/src/spotify_base.dart:279)
#1      SpotifyApiBase._requestWrapper (package:spotify/src/spotify_base.dart:256)
<asynchronous suspension>
#2      SpotifyApiBase._getImpl (package:spotify/src/spotify_base.dart:210)
<asynchronous suspension>
#3      Pages.getPage (package:spotify/src/endpoints/endpoint_paging.dart:253)
<asynchronous suspension>
#4      SinglePages.stream.handlePageAndGetNext (package:spotify/src/endpoints/endpoint_paging.dart:187)
<asynchronous suspension>

----------------------------------------
[2025-03-20 10:29:16.784533]---------------------
Error Code: 429
API rate limit exceeded
#0      SpotifyApiBase.handleResponseWithBody (package:spotify/src/spotify_base.dart:279)
#1      SpotifyApiBase._requestWrapper (package:spotify/src/spotify_base.dart:256)
<asynchronous suspension>
#2      SpotifyApiBase._getImpl (package:spotify/src/spotify_base.dart:210)
<asynchronous suspension>
#3      CursorPages.getPage (package:spotify/src/endpoints/endpoint_paging.dart:292)
<asynchronous suspension>
#4      SinglePages.stream.handlePageAndGetNext (package:spotify/src/endpoints/endpoint_paging.dart:187)
<asynchronous suspension>

----------------------------------------
[2025-03-20 10:29:16.787533]---------------------
Error Code: 429
API rate limit exceeded
#0      SpotifyApiBase.handleResponseWithBody (package:spotify/src/spotify_base.dart:279)
#1      SpotifyApiBase._requestWrapper (package:spotify/src/spotify_base.dart:256)
<asynchronous suspension>
#2      SpotifyApiBase._getImpl (package:spotify/src/spotify_base.dart:210)
<asynchronous suspension>
#3      Pages.getPage (package:spotify/src/endpoints/endpoint_paging.dart:253)
<asynchronous suspension>
#4      SinglePages.stream.handlePageAndGetNext (package:spotify/src/endpoints/endpoint_paging.dart:187)
<asynchronous suspension>

----------------------------------------
[2025-03-20 10:29:16.797104]---------------------
Error Code: 429
API rate limit exceeded
#0      SpotifyApiBase.handleResponseWithBody (package:spotify/src/spotify_base.dart:279)
#1      SpotifyApiBase._requestWrapper (package:spotify/src/spotify_base.dart:256)
<asynchronous suspension>
#2      SpotifyApiBase._getImpl (package:spotify/src/spotify_base.dart:210)
<asynchronous suspension>
#3      Pages.getPage (package:spotify/src/endpoints/endpoint_paging.dart:253)
<asynchronous suspension>
#4      SinglePages.stream.handlePageAndGetNext (package:spotify/src/endpoints/endpoint_paging.dart:187)
<asynchronous suspension>

----------------------------------------
-----
[2025-03-20 10:29:16.799616]---------------------
Error Code: 429
API rate limit exceeded
#0      SpotifyApiBase.handleResponseWithBody (package:spotify/src/spotify_base.dart:279)
#1      SpotifyApiBase._requestWrapper (package:spotify/src/spotify_base.dart:256)
<asynchronous suspension>
#2      SpotifyApiBase._getImpl (package:spotify/src/spotify_base.dart:210)
<asynchronous suspension>
#3      CursorPages.getPage (package:spotify/src/endpoints/endpoint_paging.dart:292)
<asynchronous suspension>
#4      SinglePages.stream.handlePageAndGetNext (package:spotify/src/endpoints/endpoint_paging.dart:187)
<asynchronous suspension>

----------------------------------------
[2025-03-20 10:29:16.799616]---------------------
Error Code: 429
API rate limit exceeded
#0      SpotifyApiBase.handleResponseWithBody (package:spotify/src/spotify_base.dart:279)
#1      SpotifyApiBase._requestWrapper (package:spotify/src/spotify_base.dart:256)
<asynchronous suspension>
#2      SpotifyApiBase._getImpl (package:spotify/src/spotify_base.dart:210)
<asynchronous suspension>
#3      CursorPages.getPage (package:spotify/src/endpoints/endpoint_paging.dart:292)
<asynchronous suspension>
#4      SinglePages.stream.handlePageAndGetNext (package:spotify/src/endpoints/endpoint_paging.dart:187)
<asynchronous suspension>

----------------------------------------
[2025-03-20 10:29:16.852983]---------------------
Error Code: 429
API rate limit exceeded
#0      SpotifyApiBase.handleResponseWithBody (package:spotify/src/spotify_base.dart:279)
#1      SpotifyApiBase._requestWrapper (package:spotify/src/spotify_base.dart:256)
<asynchronous suspension>
#2      SpotifyApiBase._getImpl (package:spotify/src/spotify_base.dart:210)
<asynchronous suspension>
#3      Pages.getPage (package:spotify/src/endpoints/endpoint_paging.dart:253)
<asynchronous suspension>
#4      SinglePages.stream.handlePageAndGetNext (package:spotify/src/endpoints/endpoint_paging.dart:187)
<asynchronous suspension>

----------------------------------------
-----
[2025-03-20 10:29:16.855507]---------------------
Error Code: 429
API rate limit exceeded
#0      SpotifyApiBase.handleResponseWithBody (package:spotify/src/spotify_base.dart:279)
#1      SpotifyApiBase._requestWrapper (package:spotify/src/spotify_base.dart:256)
<asynchronous suspension>
#2      SpotifyApiBase._getImpl (package:spotify/src/spotify_base.dart:210)
<asynchronous suspension>
#3      CursorPages.getPage (package:spotify/src/endpoints/endpoint_paging.dart:292)
<asynchronous suspension>
#4      SinglePages.stream.handlePageAndGetNext (package:spotify/src/endpoints/endpoint_paging.dart:187)
<asynchronous suspension>

----------------------------------------
[2025-03-20 10:29:16.855507]---------------------
Error Code: 429
API rate limit exceeded
#0      SpotifyApiBase.handleResponseWithBody (package:spotify/src/spotify_base.dart:279)
#1      SpotifyApiBase._requestWrapper (package:spotify/src/spotify_base.dart:256)
<asynchronous suspension>
#2      SpotifyApiBase._getImpl (package:spotify/src/spotify_base.dart:210)
<asynchronous suspension>
#3      Pages.getPage (package:spotify/src/endpoints/endpoint_paging.dart:253)
<asynchronous suspension>
#4      SinglePages.stream.handlePageAndGetNext (package:spotify/src/endpoints/endpoint_paging.dart:187)
<asynchronous suspension>

----------------------------------------
[2025-03-20 10:29:16.858507]---------------------
Error Code: 429
API rate limit exceeded
#0      SpotifyApiBase.handleResponseWithBody (package:spotify/src/spotify_base.dart:279)
#1      SpotifyApiBase._requestWrapper (package:spotify/src/spotify_base.dart:256)
<asynchronous suspension>
#2      SpotifyApiBase._getImpl (package:spotify/src/spotify_base.dart:210)
<asynchronous suspension>
#3      Pages.getPage (package:spotify/src/endpoints/endpoint_paging.dart:253)
<asynchronous suspension>
#4      SinglePages.stream.handlePageAndGetNext (package:spotify/src/endpoints/endpoint_paging.dart:187)
<asynchronous suspension>

----------------------------------------
[2025-03-20 10:29:24.896136]---------------------
Error Code: 429
API rate limit exceeded
#0      SpotifyApiBase.handleResponseWithBody (package:spotify/src/spotify_base.dart:279)
#1      SpotifyApiBase._requestWrapper (package:spotify/src/spotify_base.dart:256)
<asynchronous suspension>
#2      SpotifyApiBase._getImpl (package:spotify/src/spotify_base.dart:210)
<asynchronous suspension>
#3      Pages.getPage (package:spotify/src/endpoints/endpoint_paging.dart:253)
<asynchronous suspension>
#4      SinglePages.stream.handlePageAndGetNext (package:spotify/src/endpoints/endpoint_paging.dart:187)
<asynchronous suspension>

----------------------------------------
[2025-03-20 10:29:24.908575]---------------------
Error Code: 429
API rate limit exceeded
#0      SpotifyApiBase.handleResponseWithBody (package:spotify/src/spotify_base.dart:279)
#1      SpotifyApiBase._requestWrapper (package:spotify/src/spotify_base.dart:256)
<asynchronous suspension>
#2      SpotifyApiBase._getImpl (package:spotify/src/spotify_base.dart:210)
<asynchronous suspension>
#3      Pages.getPage (package:spotify/src/endpoints/endpoint_paging.dart:253)
<asynchronous suspension>
#4      SinglePages.stream.handlePageAndGetNext (package:spotify/src/endpoints/endpoint_paging.dart:187)
<asynchronous suspension>

----------------------------------------
[2025-03-20 10:29:24.924636]---------------------
Error Code: 429
API rate limit exceeded
#0      SpotifyApiBase.handleResponseWithBody (package:spotify/src/spotify_base.dart:279)
#1      SpotifyApiBase._requestWrapper (package:spotify/src/spotify_base.dart:256)
<asynchronous suspension>
#2      SpotifyApiBase._getImpl (package:spotify/src/spotify_base.dart:210)
<asynchronous suspension>
#3      CursorPages.getPage (package:spotify/src/endpoints/endpoint_paging.dart:292)
<asynchronous suspension>
#4      SinglePages.stream.handlePageAndGetNext (package:spotify/src/endpoints/endpoint_paging.dart:187)
<asynchronous suspension>

----------------------------------------
[2025-03-20 10:29:24.926647]---------------------
Error Code: 429
API rate limit exceeded
#0      SpotifyApiBase.handleResponseWithBody (package:spotify/src/spotify_base.dart:279)
#1      SpotifyApiBase._requestWrapper (package:spotify/src/spotify_base.dart:256)
<asynchronous suspension>
#2      SpotifyApiBase._getImpl (package:spotify/src/spotify_base.dart:210)
<asynchronous suspension>
#3      Pages.getPage (package:spotify/src/endpoints/endpoint_paging.dart:253)
<asynchronous suspension>
#4      SinglePages.stream.handlePageAndGetNext (package:spotify/src/endpoints/endpoint_paging.dart:187)
<asynchronous suspension>

----------------------------------------
[2025-03-20 10:29:25.233349]---------------------
Error Code: 429
API rate limit exceeded
#0      SpotifyApiBase.handleResponseWithBody (package:spotify/src/spotify_base.dart:279)
#1      SpotifyApiBase._requestWrapper (package:spotify/src/spotify_base.dart:256)
<asynchronous suspension>
#2      SpotifyApiBase._getImpl (package:spotify/src/spotify_base.dart:210)
<asynchronous suspension>
#3      Pages.getPage (package:spotify/src/endpoints/endpoint_paging.dart:253)
<asynchronous suspension>
#4      SinglePages.stream.handlePageAndGetNext (package:spotify/src/endpoints/endpoint_paging.dart:187)
<asynchronous suspension>

----------------------------------------
-----
[2025-03-20 10:29:25.726441]---------------------
Error Code: 429
API rate limit exceeded
#0      SpotifyApiBase.handleResponseWithBody (package:spotify/src/spotify_base.dart:279)
#1      SpotifyApiBase._requestWrapper (package:spotify/src/spotify_base.dart:256)
<asynchronous suspension>
#2      SpotifyApiBase._getImpl (package:spotify/src/spotify_base.dart:210)
<asynchronous suspension>
#3      CursorPages.getPage (package:spotify/src/endpoints/endpoint_paging.dart:292)
<asynchronous suspension>
#4      SinglePages.stream.handlePageAndGetNext (package:spotify/src/endpoints/endpoint_paging.dart:187)
<asynchronous suspension>

----------------------------------------
[2025-03-20 10:29:25.731458]---------------------
Error Code: 429
API rate limit exceeded
#0      SpotifyApiBase.handleResponseWithBody (package:spotify/src/spotify_base.dart:279)
#1      SpotifyApiBase._requestWrapper (package:spotify/src/spotify_base.dart:256)
<asynchronous suspension>
#2      SpotifyApiBase._getImpl (package:spotify/src/spotify_base.dart:210)
<asynchronous suspension>
#3      CursorPages.getPage (package:spotify/src/endpoints/endpoint_paging.dart:292)
<asynchronous suspension>
#4      SinglePages.stream.handlePageAndGetNext (package:spotify/src/endpoints/endpoint_paging.dart:187)
<asynchronous suspension>

----------------------------------------
[2025-03-20 10:29:25.734456]---------------------
Error Code: 429
API rate limit exceeded
#0      SpotifyApiBase.handleResponseWithBody (package:spotify/src/spotify_base.dart:279)
#1      SpotifyApiBase._requestWrapper (package:spotify/src/spotify_base.dart:256)
<asynchronous suspension>
#2      SpotifyApiBase._getImpl (package:spotify/src/spotify_base.dart:210)
<asynchronous suspension>
#3      Pages.getPage (package:spotify/src/endpoints/endpoint_paging.dart:253)
<asynchronous suspension>
#4      SinglePages.stream.handlePageAndGetNext (package:spotify/src/endpoints/endpoint_paging.dart:187)
<asynchronous suspension>

----------------------------------------
-----
[2025-03-20 10:29:25.736616]---------------------
Error Code: 429
API rate limit exceeded
#0      SpotifyApiBase.handleResponseWithBody (package:spotify/src/spotify_base.dart:279)
#1      SpotifyApiBase._requestWrapper (package:spotify/src/spotify_base.dart:256)
<asynchronous suspension>
#2      SpotifyApiBase._getImpl (package:spotify/src/spotify_base.dart:210)
<asynchronous suspension>
#3      Pages.getPage (package:spotify/src/endpoints/endpoint_paging.dart:253)
<asynchronous suspension>
#4      SinglePages.stream.handlePageAndGetNext (package:spotify/src/endpoints/endpoint_paging.dart:187)
<asynchronous suspension>

----------------------------------------
-----
[2025-03-20 10:29:25.736616]---------------------
Error Code: 429
API rate limit exceeded
#0      SpotifyApiBase.handleResponseWithBody (package:spotify/src/spotify_base.dart:279)
#1      SpotifyApiBase._requestWrapper (package:spotify/src/spotify_base.dart:256)
<asynchronous suspension>
#2      SpotifyApiBase._getImpl (package:spotify/src/spotify_base.dart:210)
<asynchronous suspension>
#3      CursorPages.getPage (package:spotify/src/endpoints/endpoint_paging.dart:292)
<asynchronous suspension>
#4      SinglePages.stream.handlePageAndGetNext (package:spotify/src/endpoints/endpoint_paging.dart:187)
<asynchronous suspension>

----------------------------------------
[2025-03-20 10:29:25.812483]---------------------
Error Code: 429
API rate limit exceeded
#0      SpotifyApiBase.handleResponseWithBody (package:spotify/src/spotify_base.dart:279)
#1      SpotifyApiBase._requestWrapper (package:spotify/src/spotify_base.dart:256)
<asynchronous suspension>
#2      SpotifyApiBase._getImpl (package:spotify/src/spotify_base.dart:210)
<asynchronous suspension>
#3      Pages.getPage (package:spotify/src/endpoints/endpoint_paging.dart:253)
<asynchronous suspension>
#4      SinglePages.stream.handlePageAndGetNext (package:spotify/src/endpoints/endpoint_paging.dart:187)
<asynchronous suspension>

----------------------------------------
[2025-03-20 10:29:25.813474]---------------------
Error Code: 429
API rate limit exceeded
#0      SpotifyApiBase.handleResponseWithBody (package:spotify/src/spotify_base.dart:279)
#1      SpotifyApiBase._requestWrapper (package:spotify/src/spotify_base.dart:256)
<asynchronous suspension>
#2      SpotifyApiBase._getImpl (package:spotify/src/spotify_base.dart:210)
<asynchronous suspension>
#3      CursorPages.getPage (package:spotify/src/endpoints/endpoint_paging.dart:292)
<asynchronous suspension>
#4      SinglePages.stream.handlePageAndGetNext (package:spotify/src/endpoints/endpoint_paging.dart:187)
<asynchronous suspension>

----------------------------------------
[2025-03-20 10:29:25.815879]---------------------
Error Code: 429
API rate limit exceeded
#0      SpotifyApiBase.handleResponseWithBody (package:spotify/src/spotify_base.dart:279)
#1      SpotifyApiBase._requestWrapper (package:spotify/src/spotify_base.dart:256)
<asynchronous suspension>
#2      SpotifyApiBase._getImpl (package:spotify/src/spotify_base.dart:210)
<asynchronous suspension>
#3      Pages.getPage (package:spotify/src/endpoints/endpoint_paging.dart:253)
<asynchronous suspension>
#4      SinglePages.stream.handlePageAndGetNext (package:spotify/src/endpoints/endpoint_paging.dart:187)
<asynchronous suspension>

----------------------------------------
[2025-03-20 10:47:16.897173]---------------------
VideoUnplayableException: Video 'kgpEx6oLaTk' is unplayable.
Streams are not available for this video.
In most cases, this error indicates that there are 
some restrictions in place that prevent watching this video.
Reason: This video is not available
#0      StreamClient.getManifest (package:youtube_explode_dart/src/videos/streams/stream_client.dart:117)
<asynchronous suspension>
#1      YoutubeSourcedTrack.toSiblingType (package:spotube/services/sourced_track/sources/youtube.dart:164)
<asynchronous suspension>
#2      YoutubeSourcedTrack.fetchSiblings (package:spotube/services/sourced_track/sources/youtube.dart:252)
<asynchronous suspension>
#3      YoutubeSourcedTrack.fetchFromTrack (package:spotube/services/sourced_track/sources/youtube.dart:81)
<asynchronous suspension>
#4      SourcedTrack.fetchFromTrack (package:spotube/services/sourced_track/sourced_track.dart:113)
<asynchronous suspension>
#5      SourcedTrackNotifier.build (package:spotube/provider/server/sourced_track.dart:27)
<asynchronous suspension>
#6      FutureHandlerProviderElementMixin.handleFuture.<anonymous closure>.<anonymous closure> (package:riverpod/src/async_notifier/base.dart:355)
<asynchronous suspension>

----------------------------------------
[2025-03-20 11:30:13.860992]---------------------
VideoUnplayableException: Video 'JA-ZsBYuwFw' is unplayable.
Streams are not available for this video.
In most cases, this error indicates that there are 
some restrictions in place that prevent watching this video.
Reason: This video is not available
#0      StreamClient.getManifest (package:youtube_explode_dart/src/videos/streams/stream_client.dart:117)
<asynchronous suspension>
#1      YoutubeSourcedTrack.toSiblingType (package:spotube/services/sourced_track/sources/youtube.dart:164)
<asynchronous suspension>
#2      YoutubeSourcedTrack.fetchSiblings (package:spotube/services/sourced_track/sources/youtube.dart:252)
<asynchronous suspension>
#3      YoutubeSourcedTrack.fetchFromTrack (package:spotube/services/sourced_track/sources/youtube.dart:81)
<asynchronous suspension>
#4      SourcedTrack.fetchFromTrack (package:spotube/services/sourced_track/sourced_track.dart:113)
<asynchronous suspension>
#5      SourcedTrackNotifier.build (package:spotube/provider/server/sourced_track.dart:27)
<asynchronous suspension>
#6      FutureHandlerProviderElementMixin.handleFuture.<anonymous closure>.<anonymous closure> (package:riverpod/src/async_notifier/base.dart:355)
<asynchronous suspension>

----------------------------------------

Operating System

Windows 11 Pro, Version 24H2 (OS Build 26100.3476)

Spotube version

v4.0.2

Installation source

chocolatey (Windows)

Additional information

No response

Self grab

  • [ ] I'm ready to work on this issue!

Kahz3l avatar Mar 20 '25 11:03 Kahz3l

Probably the same issue as in #2494

R4ygen avatar Mar 21 '25 05:03 R4ygen

Probably the same issue as in #2494

Unfortunately it's not. It just happens when the app is running. I also noticed that my iGPU is at 100% when this happens. When I kill the process it goes back to 0%. It's something about API rate limit of Spotify, so maybe something triggers over and over?

Kahz3l avatar Mar 21 '25 07:03 Kahz3l

I'm having the same problem, even though you can continue, the app says that something has gone wrong. And not everything is functional, the covers, the likes, ...

Image

badele avatar Mar 21 '25 08:03 badele

I'm having the same problem, even though you can continue, the app says that something has gone wrong. And not everything is functional, the covers, the likes, ...

Image

Yes, you have to logout and login again, then it works, but problem is appearing again after that.

Kahz3l avatar Mar 21 '25 09:03 Kahz3l

Yes, you have to logout and login again, then it works, but problem is appearing again after that.

I've already done this, and the problem keeps recurring

badele avatar Mar 21 '25 09:03 badele

after playing around with spotube i believe the error is due to the fact that spotify is attempting email 2fa on password logins. you can get around this by assigning your google, facebook, or apple oauth in your spotify settings first. log out of spotify on spotube, then log back in with one of the oauth methods you configured and it should skip the email 2fa because it's an approved method.

gitmotion avatar Mar 21 '25 18:03 gitmotion

after playing around with spotube i believe the error is due to the fact that spotify is attempting email 2fa on password logins. you can get around this by assigning your google, facebook, or apple oauth in your spotify settings first. log out of spotify on spotube, then log back in with one of the oauth methods you configured and it should skip the email 2fa because it's an approved method.

I have tested, i have used with google account (2FA verification) and that not working, but @gitmotion thank for your idea

badele avatar Mar 22 '25 08:03 badele

I have the same issue. Has anyone found a solution to this?

WolfTechXD avatar Mar 25 '25 18:03 WolfTechXD

I have the same issue. Has anyone found a solution to this?

Unfortunately not, logout and log in works for a short time. If nothing works clearing cache also works.

Kahz3l avatar Mar 28 '25 00:03 Kahz3l