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

After some times the GUI disappear with an error message - Erreur Authentication Failure #1858

Open
1 of 2 tasks
JeanMartinelle opened this issue Sep 6, 2024 · 6 comments
Labels
bug Something isn't working

Comments

@JeanMartinelle
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

Spotube is working fine, and then it show me the error :
image
Erreur Authentication Failure - type 'String' is not a subtype of type 'int' of 'index'
Notice that sometime, spotube continue to play music.
It is impossible to click on OK to disable the error.

Expected Behavior

Continue playing music with the GUI ....

Steps to reproduce

I opened the app in Windows
I listen the music in a playlist
After some time like half an hour, I got the error

Operating System

Windows 11 Professionel 23H2 Build 22631.4112

Spotube version

3.8.0 stable

Installation source

Website (spotube.krtirtho.dev)

Additional information

No response

Self grab

  • I'm ready to work on this issue!
@JeanMartinelle JeanMartinelle added the bug Something isn't working label Sep 6, 2024
@skruglov2023
Copy link

hit the escape key a few times and it goes away
it will come back up later though
For whatever reason that error shows up like 50 times so you have to keep hitting escape/OK a bit until it goes away

@JeanMartinelle
Copy link
Author

OK, I will do that, no problems.
Thank you for your help...

@obscene911
Copy link

obscene911 commented Sep 13, 2024

Same problem. Error pops up every time I launch the app now. Windows 11 Pro - 23H2 (22631)
Screenshot_1396

@KRTirtho
Copy link
Owner

Can you share the logs from "Settings" > "Developer" > "Logs" ?

@JeanMartinelle
Copy link
Author

No problem
Here they are :
.dart:324)

#6 SearchNotifier.fetch (package:spotube/provider/spotify/search/search.dart:41)

#7 SearchNotifier.build (package:spotube/provider/spotify/search/search.dart:62)

#8 FutureHandlerProviderElementMixin.handleFuture.. (package:riverpod/src/async_notifier/base.dart:348)


[2024-09-13 15:58:26.992266]---------------------
OAuth authorization error (invalid_token): The access token expired.
#0 Client.send (package:oauth2/src/client.dart:134)

#1 BaseClient._sendUnstreamed (package:http/src/base_client.dart:93)

#2 SpotifyApiBase._getImpl. (package:spotify/src/spotify_base.dart:211)

#3 SpotifyApiBase._requestWrapper (package:spotify/src/spotify_base.dart:247)

#4 SpotifyApiBase._getImpl (package:spotify/src/spotify_base.dart:210)

#5 BundledPages._parseBundledPage (package:spotify/src/endpoints/endpoint_paging.dart:324)

#6 SearchNotifier.fetch (package:spotube/provider/spotify/search/search.dart:41)

#7 SearchNotifier.build (package:spotube/provider/spotify/search/search.dart:62)

#8 FutureHandlerProviderElementMixin.handleFuture.. (package:riverpod/src/async_notifier/base.dart:348)


[2024-09-13 15:58:26.994266]---------------------
OAuth authorization error (invalid_token): The access token expired.
#0 Client.send (package:oauth2/src/client.dart:134)

#1 BaseClient._sendUnstreamed (package:http/src/base_client.dart:93)

#2 SpotifyApiBase._getImpl. (package:spotify/src/spotify_base.dart:211)

#3 SpotifyApiBase._requestWrapper (package:spotify/src/spotify_base.dart:247)

#4 SpotifyApiBase._getImpl (package:spotify/src/spotify_base.dart:210)

#5 BundledPages._parseBundledPage (package:spotify/src/endpoints/endpoint_paging.dart:324)

#6 SearchNotifier.fetch (package:spotube/provider/spotify/search/search.dart:41)

#7 SearchNotifier.build (package:spotube/provider/spotify/search/search.dart:62)

#8 FutureHandlerProviderElementMixin.handleFuture.. (package:riverpod/src/async_notifier/base.dart:348)


[2024-09-13 15:58:27.002761]---------------------
OAuth authorization error (invalid_token): The access token expired.
#0 Client.send (package:oauth2/src/client.dart:134)

#1 BaseClient._sendUnstreamed (package:http/src/base_client.dart:93)

#2 SpotifyApiBase._getImpl. (package:spotify/src/spotify_base.dart:211)

#3 SpotifyApiBase._requestWrapper (package:spotify/src/spotify_base.dart:247)

#4 SpotifyApiBase._getImpl (package:spotify/src/spotify_base.dart:210)

#5 BundledPages._parseBundledPage (package:spotify/src/endpoints/endpoint_paging.dart:324)

#6 SearchNotifier.fetch (package:spotube/provider/spotify/search/search.dart:41)

#7 SearchNotifier.build (package:spotube/provider/spotify/search/search.dart:62)

#8 FutureHandlerProviderElementMixin.handleFuture.. (package:riverpod/src/async_notifier/base.dart:348)


[2024-09-13 15:58:46.689086]---------------------
OAuth authorization error (invalid_token): The access token expired.
#0 Client.send (package:oauth2/src/client.dart:134)

#1 BaseClient._sendUnstreamed (package:http/src/base_client.dart:93)

#2 SpotifyApiBase._getImpl. (package:spotify/src/spotify_base.dart:211)

#3 SpotifyApiBase._requestWrapper (package:spotify/src/spotify_base.dart:247)

#4 SpotifyApiBase._getImpl (package:spotify/src/spotify_base.dart:210)

#5 Pages.getPage (package:spotify/src/endpoints/endpoint_paging.dart:253)

#6 SinglePages.stream.handlePageAndGetNext (package:spotify/src/endpoints/endpoint_paging.dart:187)


[2024-09-13 15:58:46.690472]---------------------
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.

#0 DioMixin.fetch (package:dio/src/dio_mixin.dart:509)

#1 CustomSpotifyEndpoints.getView (package:spotube/services/custom_spotify_endpoints/spotify_endpoints.dart:80)

#2 FutureHandlerProviderElementMixin.handleFuture.. (package:riverpod/src/async_notifier/base.dart:348)


[2024-09-13 15:58:46.691402]---------------------
OAuth authorization error (invalid_token): The access token expired.
#0 Client.send (package:oauth2/src/client.dart:134)

#1 BaseClient._sendUnstreamed (package:http/src/base_client.dart:93)

#2 SpotifyApiBase._getImpl. (package:spotify/src/spotify_base.dart:211)

#3 SpotifyApiBase._requestWrapper (package:spotify/src/spotify_base.dart:247)

#4 SpotifyApiBase._getImpl (package:spotify/src/spotify_base.dart:210)

#5 Pages.getPage (package:spotify/src/endpoints/endpoint_paging.dart:253)

#6 FeaturedPlaylistsNotifier.fetch (package:spotube/provider/spotify/playlist/featured.dart:33)

#7 FeaturedPlaylistsNotifier.build (package:spotube/provider/spotify/playlist/featured.dart:44)

#8 FutureHandlerProviderElementMixin.handleFuture.. (package:riverpod/src/async_notifier/base.dart:348)


[2024-09-13 15:58:46.707144]---------------------
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.

#0 DioMixin.fetch (package:dio/src/dio_mixin.dart:509)

#1 CustomSpotifyEndpoints.getHomeFeed (package:spotube/services/custom_spotify_endpoints/spotify_endpoints.dart:131)

#2 FutureHandlerProviderElementMixin.handleFuture.. (package:riverpod/src/async_notifier/base.dart:348)


[2024-09-13 15:58:46.794516]---------------------
OAuth authorization error (invalid_token): The access token expired.
#0 Client.send (package:oauth2/src/client.dart:134)

#1 BaseClient._sendUnstreamed (package:http/src/base_client.dart:93)

#2 SpotifyApiBase._getImpl. (package:spotify/src/spotify_base.dart:211)

#3 SpotifyApiBase._requestWrapper (package:spotify/src/spotify_base.dart:247)

#4 SpotifyApiBase._getImpl (package:spotify/src/spotify_base.dart:210)

#5 Pages.getPage (package:spotify/src/endpoints/endpoint_paging.dart:253)

#6 AlbumReleasesNotifier.fetch (package:spotube/provider/spotify/album/releases.dart:35)

#7 PaginatedAsyncNotifierMixin.fetchMore. (package:spotube/provider/spotify/utils/provider/paginated.dart:15)

#8 AsyncValue.guard (package:riverpod/src/common.dart:177)

#9 PaginatedAsyncNotifierMixin.fetchMore (package:spotube/provider/spotify/utils/provider/paginated.dart:13)


[2024-09-13 15:58:46.824467]---------------------
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.

#0 DioMixin.fetch (package:dio/src/dio_mixin.dart:509)

#1 CustomSpotifyEndpoints.getFriendActivity (package:spotube/services/custom_spotify_endpoints/spotify_endpoints.dart:113)

#2 FutureHandlerProviderElementMixin.handleFuture.. (package:riverpod/src/async_notifier/base.dart:348)


[2024-09-13 15:58:46.838990]---------------------
PathNotFoundException: Cannot retrieve length of file, path = 'imageUrl' (OS Error: Le fichier spécifié est introuvable.
, errno = 2)
#0 _checkForErrorResponse (dart:io/common.dart:55)
#1 _File.length. (dart:io/file_impl.dart:389)
#2 _rootRunUnary (dart:async/zone.dart:1407)

#3 FileImage._loadAsync (package:flutter/src/painting/image_provider.dart:1484)

#4 MultiFrameImageStreamCompleter._handleCodecReady (package:flutter/src/painting/image_stream.dart:1005)


[2024-09-13 15:59:11.646560]---------------------
type 'Null' is not a subtype of type 'String' in type cast
#0 SyncedLyricsNotifier.getLRCLibLyrics (package:spotube/provider/spotify/lyrics/synced.dart:109)

#1 SyncedLyricsNotifier.build (package:spotube/provider/spotify/lyrics/synced.dart:147)

#2 FutureHandlerProviderElementMixin.handleFuture.. (package:riverpod/src/async_notifier/base.dart:348)


[2024-09-13 15:59:11.646560]---------------------
type 'Null' is not a subtype of type 'String' in type cast
#0 SyncedLyricsNotifier.getLRCLibLyrics (package:spotube/provider/spotify/lyrics/synced.dart:109)

#1 SyncedLyricsNotifier.build (package:spotube/provider/spotify/lyrics/synced.dart:147)

#2 FutureHandlerProviderElementMixin.handleFuture.. (package:riverpod/src/async_notifier/base.dart:348)


[2024-09-13 16:04:53.650363]---------------------
Option af: dynaudnorm doesn't exist.
#0 new AudioPlayerInterface. (package:spotube/services/audio_player/audio_player.dart:93)
#1 _rootRunUnary (dart:async/zone.dart:1407)
#2 _CustomZone.runUnary (dart:async/zone.dart:1308)
#3 _CustomZone.runUnaryGuarded (dart:async/zone.dart:1217)
#4 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:365)
#5 _DelayedData.perform (dart:async/stream_impl.dart:541)
#6 _PendingEvents.handleNext (dart:async/stream_impl.dart:646)
#7 _PendingEvents.schedule. (dart:async/stream_impl.dart:617)
#8 _rootRun (dart:async/zone.dart:1391)
#9 _CustomZone.run (dart:async/zone.dart:1301)
#10 _CustomZone.runGuarded (dart:async/zone.dart:1209)
#11 _CustomZone.bindCallbackGuarded. (dart:async/zone.dart:1249)
#12 _rootRun (dart:async/zone.dart:1399)
#13 _CustomZone.run (dart:async/zone.dart:1301)
#14 _CustomZone.runGuarded (dart:async/zone.dart:1209)
#15 _CustomZone.bindCallbackGuarded. (dart:async/zone.dart:1249)
#16 _microtaskLoop (dart:async/schedule_microtask.dart:40)
#17 _startMicrotaskLoop (dart:async/schedule_microtask.dart:49)



[2024-09-13 16:04:56.543044]---------------------
Option af: dynaudnorm doesn't exist.
#0 new AudioPlayerInterface. (package:spotube/services/audio_player/audio_player.dart:93)
#1 _rootRunUnary (dart:async/zone.dart:1407)
#2 _CustomZone.runUnary (dart:async/zone.dart:1308)
#3 _CustomZone.runUnaryGuarded (dart:async/zone.dart:1217)
#4 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:365)
#5 _DelayedData.perform (dart:async/stream_impl.dart:541)
#6 _PendingEvents.handleNext (dart:async/stream_impl.dart:646)
#7 _PendingEvents.schedule. (dart:async/stream_impl.dart:617)
#8 _rootRun (dart:async/zone.dart:1391)
#9 _CustomZone.run (dart:async/zone.dart:1301)
#10 _CustomZone.runGuarded (dart:async/zone.dart:1209)
#11 _CustomZone.bindCallbackGuarded. (dart:async/zone.dart:1249)
#12 _rootRun (dart:async/zone.dart:1399)
#13 _CustomZone.run (dart:async/zone.dart:1301)
#14 _CustomZone.runGuarded (dart:async/zone.dart:1209)
#15 _CustomZone.bindCallbackGuarded. (dart:async/zone.dart:1249)
#16 _microtaskLoop (dart:async/schedule_microtask.dart:40)
#17 _startMicrotaskLoop (dart:async/schedule_microtask.dart:49)



[2024-09-13 17:49:32.807993]---------------------
Option af: dynaudnorm doesn't exist.
#0 new AudioPlayerInterface. (package:spotube/services/audio_player/audio_player.dart:93)
#1 _rootRunUnary (dart:async/zone.dart:1407)
#2 _CustomZone.runUnary (dart:async/zone.dart:1308)
#3 _CustomZone.runUnaryGuarded (dart:async/zone.dart:1217)
#4 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:365)
#5 _DelayedData.perform (dart:async/stream_impl.dart:541)
#6 _PendingEvents.handleNext (dart:async/stream_impl.dart:646)
#7 _PendingEvents.schedule. (dart:async/stream_impl.dart:617)
#8 _rootRun (dart:async/zone.dart:1391)
#9 _CustomZone.run (dart:async/zone.dart:1301)
#10 _CustomZone.runGuarded (dart:async/zone.dart:1209)
#11 _CustomZone.bindCallbackGuarded. (dart:async/zone.dart:1249)
#12 _rootRun (dart:async/zone.dart:1399)
#13 _CustomZone.run (dart:async/zone.dart:1301)
#14 _CustomZone.runGuarded (dart:async/zone.dart:1209)
#15 _CustomZone.bindCallbackGuarded. (dart:async/zone.dart:1249)
#16 _microtaskLoop (dart:async/schedule_microtask.dart:40)
#17 _startMicrotaskLoop (dart:async/schedule_microtask.dart:49)



[2024-09-13 17:49:32.891994]---------------------
OAuth authorization error (invalid_token): The access token expired.
#0 Client.send (package:oauth2/src/client.dart:134)

#1 BaseClient._sendUnstreamed (package:http/src/base_client.dart:93)

#2 SpotifyApiBase._getImpl. (package:spotify/src/spotify_base.dart:211)

#3 SpotifyApiBase._requestWrapper (package:spotify/src/spotify_base.dart:247)

#4 SpotifyApiBase._getImpl (package:spotify/src/spotify_base.dart:210)

#5 Pages.getPage (package:spotify/src/endpoints/endpoint_paging.dart:253)

#6 SinglePages.stream.handlePageAndGetNext (package:spotify/src/endpoints/endpoint_paging.dart:187)


[2024-09-13 17:49:32.899992]---------------------
OAuth authorization error (invalid_token): The access token expired.
#0 Client.send (package:oauth2/src/client.dart:134)

#1 BaseClient._sendUnstreamed (package:http/src/base_client.dart:93)

#2 SpotifyApiBase._getImpl. (package:spotify/src/spotify_base.dart:211)

#3 SpotifyApiBase._requestWrapper (package:spotify/src/spotify_base.dart:247)

#4 SpotifyApiBase._getImpl (package:spotify/src/spotify_base.dart:210)

#5 Pages.getPage (package:spotify/src/endpoints/endpoint_paging.dart:253)

#6 FeaturedPlaylistsNotifier.fetch (package:spotube/provider/spotify/playlist/featured.dart:33)

#7 FeaturedPlaylistsNotifier.build (package:spotube/provider/spotify/playlist/featured.dart:44)

#8 FutureHandlerProviderElementMixin.handleFuture.. (package:riverpod/src/async_notifier/base.dart:348)


[2024-09-13 17:49:32.913992]---------------------
OAuth authorization error (invalid_token): The access token expired.
#0 Client.send (package:oauth2/src/client.dart:134)

#1 BaseClient._sendUnstreamed (package:http/src/base_client.dart:93)

#2 SpotifyApiBase._getImpl. (package:spotify/src/spotify_base.dart:211)

#3 SpotifyApiBase._requestWrapper (package:spotify/src/spotify_base.dart:247)

#4 SpotifyApiBase._getImpl (package:spotify/src/spotify_base.dart:210)

#5 Me.get (package:spotify/src/endpoints/me.dart:22)

#6 FutureHandlerProviderElementMixin.handleFuture.. (package:riverpod/src/async_notifier/base.dart:348)


[2024-09-13 17:49:32.913992]---------------------
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.

#0 DioMixin.fetch (package:dio/src/dio_mixin.dart:509)

#1 CustomSpotifyEndpoints.getView (package:spotube/services/custom_spotify_endpoints/spotify_endpoints.dart:80)

#2 FutureHandlerProviderElementMixin.handleFuture.. (package:riverpod/src/async_notifier/base.dart:348)


[2024-09-13 17:49:32.915994]---------------------
OAuth authorization error (invalid_token): The access token expired.
#0 Client.send (package:oauth2/src/client.dart:134)

#1 BaseClient._sendUnstreamed (package:http/src/base_client.dart:93)

#2 SpotifyApiBase._getImpl. (package:spotify/src/spotify_base.dart:211)

#3 SpotifyApiBase._requestWrapper (package:spotify/src/spotify_base.dart:247)

#4 SpotifyApiBase._getImpl (package:spotify/src/spotify_base.dart:210)

#5 Pages.getPage (package:spotify/src/endpoints/endpoint_paging.dart:253)

#6 AlbumReleasesNotifier.fetch (package:spotube/provider/spotify/album/releases.dart:35)

#7 AlbumReleasesNotifier.build (package:spotube/provider/spotify/album/releases.dart:50)

#8 FutureHandlerProviderElementMixin.handleFuture.. (package:riverpod/src/async_notifier/base.dart:348)


[2024-09-13 17:49:32.915994]---------------------
OAuth authorization error (invalid_token): The access token expired.
#0 Client.send (package:oauth2/src/client.dart:134)

#1 BaseClient._sendUnstreamed (package:http/src/base_client.dart:93)

#2 SpotifyApiBase._getImpl. (package:spotify/src/spotify_base.dart:211)

#3 SpotifyApiBase._requestWrapper (package:spotify/src/spotify_base.dart:247)

#4 SpotifyApiBase._getImpl (package:spotify/src/spotify_base.dart:210)

#5 CursorPages.getPage (package:spotify/src/endpoints/endpoint_paging.dart:292)

#6 SinglePages.stream.handlePageAndGetNext (package:spotify/src/endpoints/endpoint_paging.dart:187)


[2024-09-13 17:49:32.958993]---------------------
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.

#0 DioMixin.fetch (package:dio/src/dio_mixin.dart:509)

#1 CustomSpotifyEndpoints.getHomeFeed (package:spotube/services/custom_spotify_endpoints/spotify_endpoints.dart:131)

#2 FutureHandlerProviderElementMixin.handleFuture.. (package:riverpod/src/async_notifier/base.dart:348)


[2024-09-13 17:49:32.999992]---------------------
OAuth authorization error (invalid_token): The access token expired.
#0 Client.send (package:oauth2/src/client.dart:134)

#1 BaseClient._sendUnstreamed (package:http/src/base_client.dart:93)

#2 SpotifyApiBase._getImpl. (package:spotify/src/spotify_base.dart:211)

#3 SpotifyApiBase._requestWrapper (package:spotify/src/spotify_base.dart:247)

#4 SpotifyApiBase._getImpl (package:spotify/src/spotify_base.dart:210)

#5 Pages.getPage (package:spotify/src/endpoints/endpoint_paging.dart:253)

#6 SinglePages.stream.handlePageAndGetNext (package:spotify/src/endpoints/endpoint_paging.dart:187)


[2024-09-14 16:33:16.048349]---------------------
[MediaKitError]
Option af: dynaudnorm doesn't exist.
#0 new CustomPlayer. (package:spotube/services/audio_player/custom_player.dart:51)
#1 _rootRunUnary (dart:async/zone.dart:1407)
#2 _CustomZone.runUnary (dart:async/zone.dart:1308)
#3 _CustomZone.runUnaryGuarded (dart:async/zone.dart:1217)
#4 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:365)
#5 _DelayedData.perform (dart:async/stream_impl.dart:541)
#6 _PendingEvents.handleNext (dart:async/stream_impl.dart:646)
#7 _PendingEvents.schedule. (dart:async/stream_impl.dart:617)
#8 _rootRun (dart:async/zone.dart:1391)
#9 _CustomZone.run (dart:async/zone.dart:1301)
#10 _CustomZone.runGuarded (dart:async/zone.dart:1209)
#11 _CustomZone.bindCallbackGuarded. (dart:async/zone.dart:1249)
#12 _rootRun (dart:async/zone.dart:1399)
#13 _CustomZone.run (dart:async/zone.dart:1301)
#14 _CustomZone.runGuarded (dart:async/zone.dart:1209)
#15 _CustomZone.bindCallbackGuarded. (dart:async/zone.dart:1249)
#16 _microtaskLoop (dart:async/schedule_microtask.dart:40)
#17 _startMicrotaskLoop (dart:async/schedule_microtask.dart:49)


[2024-09-14 16:33:16.056862]---------------------
OAuth authorization error (invalid_token): The access token expired.
#0 Client.send (package:oauth2/src/client.dart:134)

#1 BaseClient._sendUnstreamed (package:http/src/base_client.dart:93)

#2 SpotifyApiBase._getImpl. (package:spotify/src/spotify_base.dart:211)

#3 SpotifyApiBase._requestWrapper (package:spotify/src/spotify_base.dart:247)

#4 SpotifyApiBase._getImpl (package:spotify/src/spotify_base.dart:210)

#5 Pages.getPage (package:spotify/src/endpoints/endpoint_paging.dart:253)

#6 AlbumReleasesNotifier.fetch (package:spotube/provider/spotify/album/releases.dart:35)

#7 AlbumReleasesNotifier.build (package:spotube/provider/spotify/album/releases.dart:50)

#8 FutureHandlerProviderElementMixin.handleFuture.. (package:riverpod/src/async_notifier/base.dart:348)


[2024-09-14 16:33:16.071891]---------------------
OAuth authorization error (invalid_token): The access token expired.
#0 Client.send (package:oauth2/src/client.dart:134)

#1 BaseClient._sendUnstreamed (package:http/src/base_client.dart:93)

#2 SpotifyApiBase._getImpl. (package:spotify/src/spotify_base.dart:211)

#3 SpotifyApiBase._requestWrapper (package:spotify/src/spotify_base.dart:247)

#4 SpotifyApiBase._getImpl (package:spotify/src/spotify_base.dart:210)

#5 Pages.getPage (package:spotify/src/endpoints/endpoint_paging.dart:253)

#6 FeaturedPlaylistsNotifier.fetch (package:spotube/provider/spotify/playlist/featured.dart:33)

#7 FeaturedPlaylistsNotifier.build (package:spotube/provider/spotify/playlist/featured.dart:44)

#8 FutureHandlerProviderElementMixin.handleFuture.. (package:riverpod/src/async_notifier/base.dart:348)


[2024-09-14 16:33:16.077489]---------------------
OAuth authorization error (invalid_token): The access token expired.
#0 Client.send (package:oauth2/src/client.dart:134)

#1 BaseClient._sendUnstreamed (package:http/src/base_client.dart:93)

#2 SpotifyApiBase._getImpl. (package:spotify/src/spotify_base.dart:211)

#3 SpotifyApiBase._requestWrapper (package:spotify/src/spotify_base.dart:247)

#4 SpotifyApiBase._getImpl (package:spotify/src/spotify_base.dart:210)

#5 Pages.getPage (package:spotify/src/endpoints/endpoint_paging.dart:253)

#6 SinglePages.stream.handlePageAndGetNext (package:spotify/src/endpoints/endpoint_paging.dart:187)


[2024-09-14 16:33:16.149831]---------------------
OAuth authorization error (invalid_token): The access token expired.
#0 Client.send (package:oauth2/src/client.dart:134)

#1 BaseClient._sendUnstreamed (package:http/src/base_client.dart:93)

#2 SpotifyApiBase._getImpl. (package:spotify/src/spotify_base.dart:211)

#3 SpotifyApiBase._requestWrapper (package:spotify/src/spotify_base.dart:247)

#4 SpotifyApiBase._getImpl (package:spotify/src/spotify_base.dart:210)

#5 Pages.getPage (package:spotify/src/endpoints/endpoint_paging.dart:253)

#6 SinglePages.stream.handlePageAndGetNext (package:spotify/src/endpoints/endpoint_paging.dart:187)


[2024-09-15 16:34:49.494211]---------------------
[MediaKitError]
Option af: dynaudnorm doesn't exist.
#0 new CustomPlayer. (package:spotube/services/audio_player/custom_player.dart:51)
#1 _rootRunUnary (dart:async/zone.dart:1407)
#2 _CustomZone.runUnary (dart:async/zone.dart:1308)
#3 _CustomZone.runUnaryGuarded (dart:async/zone.dart:1217)
#4 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:365)
#5 _DelayedData.perform (dart:async/stream_impl.dart:541)
#6 _PendingEvents.handleNext (dart:async/stream_impl.dart:646)
#7 _PendingEvents.schedule. (dart:async/stream_impl.dart:617)
#8 _rootRun (dart:async/zone.dart:1391)
#9 _CustomZone.run (dart:async/zone.dart:1301)
#10 _CustomZone.runGuarded (dart:async/zone.dart:1209)
#11 _CustomZone.bindCallbackGuarded. (dart:async/zone.dart:1249)
#12 _rootRun (dart:async/zone.dart:1399)
#13 _CustomZone.run (dart:async/zone.dart:1301)
#14 _CustomZone.runGuarded (dart:async/zone.dart:1209)
#15 _CustomZone.bindCallbackGuarded. (dart:async/zone.dart:1249)
#16 _microtaskLoop (dart:async/schedule_microtask.dart:40)
#17 _startMicrotaskLoop (dart:async/schedule_microtask.dart:49)


[2024-09-15 16:34:49.539797]---------------------
OAuth authorization error (invalid_token): The access token expired.
#0 Client.send (package:oauth2/src/client.dart:134)

#1 BaseClient._sendUnstreamed (package:http/src/base_client.dart:93)

#2 SpotifyApiBase._getImpl. (package:spotify/src/spotify_base.dart:211)

#3 SpotifyApiBase._requestWrapper (package:spotify/src/spotify_base.dart:247)

#4 SpotifyApiBase._getImpl (package:spotify/src/spotify_base.dart:210)

#5 Pages.getPage (package:spotify/src/endpoints/endpoint_paging.dart:253)

#6 AlbumReleasesNotifier.fetch (package:spotube/provider/spotify/album/releases.dart:35)

#7 AlbumReleasesNotifier.build (package:spotube/provider/spotify/album/releases.dart:50)

#8 FutureHandlerProviderElementMixin.handleFuture.. (package:riverpod/src/async_notifier/base.dart:348)



[2024-09-15 16:34:49.542797]---------------------
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.

#0 DioMixin.fetch (package:dio/src/dio_mixin.dart:509)

#1 CustomSpotifyEndpoints.getView (package:spotube/services/custom_spotify_endpoints/spotify_endpoints.dart:80)

#2 FutureHandlerProviderElementMixin.handleFuture.. (package:riverpod/src/async_notifier/base.dart:348)


[2024-09-15 16:34:49.570346]---------------------
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.

#0 DioMixin.fetch (package:dio/src/dio_mixin.dart:509)

#1 CustomSpotifyEndpoints.getHomeFeed (package:spotube/services/custom_spotify_endpoints/spotify_endpoints.dart:131)

#2 FutureHandlerProviderElementMixin.handleFuture.. (package:riverpod/src/async_notifier/base.dart:348)


[2024-09-15 16:34:49.582854]---------------------
OAuth authorization error (invalid_token): The access token expired.
#0 Client.send (package:oauth2/src/client.dart:134)

#1 BaseClient._sendUnstreamed (package:http/src/base_client.dart:93)

#2 SpotifyApiBase._getImpl. (package:spotify/src/spotify_base.dart:211)

#3 SpotifyApiBase._requestWrapper (package:spotify/src/spotify_base.dart:247)

#4 SpotifyApiBase._getImpl (package:spotify/src/spotify_base.dart:210)

#5 Pages.getPage (package:spotify/src/endpoints/endpoint_paging.dart:253)

#6 SinglePages.stream.handlePageAndGetNext (package:spotify/src/endpoints/endpoint_paging.dart:187)


[2024-09-15 16:35:39.186100]---------------------
[MediaKitError]
Option af: dynaudnorm doesn't exist.
#0 new CustomPlayer. (package:spotube/services/audio_player/custom_player.dart:51)
#1 _rootRunUnary (dart:async/zone.dart:1407)
#2 _CustomZone.runUnary (dart:async/zone.dart:1308)
#3 _CustomZone.runUnaryGuarded (dart:async/zone.dart:1217)
#4 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:365)
#5 _DelayedData.perform (dart:async/stream_impl.dart:541)
#6 _PendingEvents.handleNext (dart:async/stream_impl.dart:646)
#7 _PendingEvents.schedule. (dart:async/stream_impl.dart:617)
#8 _rootRun (dart:async/zone.dart:1391)
#9 _CustomZone.run (dart:async/zone.dart:1301)
#10 _CustomZone.runGuarded (dart:async/zone.dart:1209)
#11 _CustomZone.bindCallbackGuarded. (dart:async/zone.dart:1249)
#12 _rootRun (dart:async/zone.dart:1399)
#13 _CustomZone.run (dart:async/zone.dart:1301)
#14 _CustomZone.runGuarded (dart:async/zone.dart:1209)
#15 _CustomZone.bindCallbackGuarded. (dart:async/zone.dart:1249)
#16 _microtaskLoop (dart:async/schedule_microtask.dart:40)
#17 _startMicrotaskLoop (dart:async/schedule_microtask.dart:49)


@HeyMrRobot
Copy link

The very same thing is happening to me as well

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Backlog
Development

No branches or pull requests

5 participants