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

spotify playlist no longer showing up in library #2116

Open
1 of 2 tasks
mak333333 opened this issue Dec 7, 2024 · 0 comments
Open
1 of 2 tasks

spotify playlist no longer showing up in library #2116

mak333333 opened this issue Dec 7, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@mak333333
Copy link

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

  • I have searched the existing issues

Current Behavior

spotify playlist no longer showing up in library and i cant find the playlist when using the search bar

Expected Behavior

when logged into spotify playlist show up in library

Steps to reproduce

No response

Logs

ase_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-12-06 08:01:58.777758]---------------------
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-12-06 08:01:58.792949]---------------------
PathNotFoundException: Cannot retrieve length of file, path = 'imageUrl' (OS Error: The system cannot find the file specified.
, 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:1487)

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


[2024-12-06 08:01:58.826124]---------------------
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-12-06 14:19:06.745507]---------------------
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-12-06 14:19:06.745507]---------------------
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-12-06 14:19:06.746541]---------------------
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-12-06 14:19:06.762832]---------------------
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-12-06 14:19:06.785210]---------------------
PathNotFoundException: Cannot retrieve length of file, path = 'imageUrl' (OS Error: The system cannot find the file specified.
, 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:1487)

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


[2024-12-07 11:10:51.532616]---------------------
DioException [connection error]: The connection errored: Failed host lookup: 'open.spotify.com' This indicates an error which most likely cannot be solved by the library.
Error: SocketException: Failed host lookup: 'open.spotify.com' (OS Error: No such host is known.
, errno = 11001)
#0 DioMixin.fetch (package:dio/src/dio_mixin.dart:509)

#1 AuthenticationNotifier.credentialsFromCookie (package:spotube/provider/authentication/authentication.dart:111)

#2 AuthenticationNotifier.refreshCredentials (package:spotube/provider/authentication/authentication.dart:87)


[2024-12-07 14:19:50.587844]---------------------
Failed to open http://localhost:7071/stream/7Fzl7QaTu47WyP9R5S5mh5.
#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-12-07 14:20:09.026098]---------------------
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 PlaylistTracksNotifier.fetch (package:spotube/provider/spotify/playlist/tracks.dart:33)

#7 PlaylistTracksNotifier.build (package:spotube/provider/spotify/playlist/tracks.dart:56)

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


[2024-12-07 14:20:09.034277]---------------------
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 Playlists.followedByUsers (package:spotify/src/endpoints/playlists.dart:316)

#6 isFavoritePlaylistProvider. (package:spotube/provider/spotify/playlist/favorite.dart:132)

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


[2024-12-07 14:25:42.907120]---------------------
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 PlaylistTracksNotifier.fetch (package:spotube/provider/spotify/playlist/tracks.dart:33)

#7 PlaylistTracksNotifier.build (package:spotube/provider/spotify/playlist/tracks.dart:56)

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


[2024-12-07 14:28:23.772006]---------------------
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-12-07 14:28:23.773033]---------------------
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-12-07 14:28:23.774247]---------------------
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-12-07 14:28:23.774247]---------------------
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-12-07 14:28:23.774247]---------------------
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-12-07 14:28:23.798100]---------------------
PathNotFoundException: Cannot retrieve length of file, path = 'imageUrl' (OS Error: The system cannot find the file specified.
, 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:1487)

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


[2024-12-07 14:28:23.798100]---------------------
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-12-07 14:28:23.798100]---------------------
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-12-07 14:54:46.943416]---------------------
Exception: [CustomSpotifyEndpoints.getView]: accessToken is empty
#0 CustomSpotifyEndpoints.getView (package:spotube/services/custom_spotify_endpoints/spotify_endpoints.dart:65)
#1 viewProvider. (package:spotube/provider/spotify/views/view.dart:13)
#2 AutoDisposeFamilyBase.call. (package:riverpod/src/framework/family.dart:199)
#3 FutureProvider._create (package:riverpod/src/future_provider/base.dart:65)
#4 FutureProviderElement.create. (package:riverpod/src/future_provider/base.dart:107)
#5 FutureHandlerProviderElementMixin.handleFuture. (package:riverpod/src/async_notifier/base.dart:334)
#6 FutureHandlerProviderElementMixin._handleAsync (package:riverpod/src/async_notifier/base.dart:381)
#7 FutureHandlerProviderElementMixin.handleFuture (package:riverpod/src/async_notifier/base.dart:328)
#8 FutureProviderElement.create (package:riverpod/src/future_provider/base.dart:106)
#9 ProviderElementBase.buildState (package:riverpod/src/framework/element.dart:409)
#10 ProviderElementBase._performBuild (package:riverpod/src/framework/element.dart:346)
#11 ProviderElementBase.flush (package:riverpod/src/framework/element.dart:307)
#12 ProviderScheduler._performRefresh (package:riverpod/src/framework/scheduler.dart:94)
#13 ProviderScheduler._task (package:riverpod/src/framework/scheduler.dart:82)
#14 ProviderScheduler.vsync..invoke (package:riverpod/src/framework/scheduler.dart:41)
#15 _UncontrolledProviderScopeElement.build (package:flutter_riverpod/src/framework.dart:396)
#16 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5617)
#17 Element.rebuild (package:flutter/src/widgets/framework.dart:5333)
#18 BuildScope._tryRebuild (package:flutter/src/widgets/framework.dart:2693)
#19 BuildScope._flushDirtyElements (package:flutter/src/widgets/framework.dart:2752)
#20 BuildOwner.buildScope (package:flutter/src/widgets/framework.dart:3048)
#21 WidgetsBinding.drawFrame (package:flutter/src/widgets/binding.dart:1162)
#22 RendererBinding._handlePersistentFrameCallback (package:flutter/src/rendering/binding.dart:468)
#23 SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:1397)
#24 SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:1318)
#25 SchedulerBinding._handleDrawFrame (package:flutter/src/scheduler/binding.dart:1176)
#26 _rootRun (dart:async/zone.dart:1399)
#27 _CustomZone.run (dart:async/zone.dart:1301)
#28 _CustomZone.runGuarded (dart:async/zone.dart:1209)
#29 _invoke (dart:ui/hooks.dart:314)
#30 PlatformDispatcher._drawFrame (dart:ui/platform_dispatcher.dart:419)
#31 _drawFrame (dart:ui/hooks.dart:283)


[2024-12-07 14:54:46.951463]---------------------
Exception: [CustomSpotifyEndpoints.getView]: accessToken is empty
#0 CustomSpotifyEndpoints.getView (package:spotube/services/custom_spotify_endpoints/spotify_endpoints.dart:65)
#1 viewProvider. (package:spotube/provider/spotify/views/view.dart:13)
#2 AutoDisposeFamilyBase.call. (package:riverpod/src/framework/family.dart:199)
#3 FutureProvider._create (package:riverpod/src/future_provider/base.dart:65)
#4 FutureProviderElement.create. (package:riverpod/src/future_provider/base.dart:107)
#5 FutureHandlerProviderElementMixin.handleFuture. (package:riverpod/src/async_notifier/base.dart:334)
#6 FutureHandlerProviderElementMixin._handleAsync (package:riverpod/src/async_notifier/base.dart:381)
#7 FutureHandlerProviderElementMixin.handleFuture (package:riverpod/src/async_notifier/base.dart:328)
#8 FutureProviderElement.create (package:riverpod/src/future_provider/base.dart:106)
#9 ProviderElementBase.buildState (package:riverpod/src/framework/element.dart:409)
#10 ProviderElementBase._performBuild (package:riverpod/src/framework/element.dart:346)
#11 ProviderElementBase.flush (package:riverpod/src/framework/element.dart:307)
#12 ProviderScheduler._performRefresh (package:riverpod/src/framework/scheduler.dart:94)
#13 ProviderScheduler._task (package:riverpod/src/framework/scheduler.dart:82)
#14 ProviderScheduler.vsync..invoke (package:riverpod/src/framework/scheduler.dart:41)
#15 _UncontrolledProviderScopeElement.build (package:flutter_riverpod/src/framework.dart:396)
#16 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5617)
#17 Element.rebuild (package:flutter/src/widgets/framework.dart:5333)
#18 BuildScope._tryRebuild (package:flutter/src/widgets/framework.dart:2693)
#19 BuildScope._flushDirtyElements (package:flutter/src/widgets/framework.dart:2752)
#20 BuildOwner.buildScope (package:flutter/src/widgets/framework.dart:3048)
#21 WidgetsBinding.drawFrame (package:flutter/src/widgets/binding.dart:1162)
#22 RendererBinding._handlePersistentFrameCallback (package:flutter/src/rendering/binding.dart:468)
#23 SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:1397)
#24 SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:1318)
#25 SchedulerBinding._handleDrawFrame (package:flutter/src/scheduler/binding.dart:1176)
#26 _rootRun (dart:async/zone.dart:1399)
#27 _CustomZone.run (dart:async/zone.dart:1301)
#28 _CustomZone.runGuarded (dart:async/zone.dart:1209)
#29 _invoke (dart:ui/hooks.dart:314)
#30 PlatformDispatcher._drawFrame (dart:ui/platform_dispatcher.dart:419)
#31 _drawFrame (dart:ui/hooks.dart:283)


[2024-12-07 14:54:47.104973]---------------------
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-12-07 14:54:47.220334]---------------------
Error Code: 401
Valid user authentication required
#0 SpotifyApiBase.handleResponseWithBody (package:spotify/src/spotify_base.dart:282)
#1 SpotifyApiBase._requestWrapper (package:spotify/src/spotify_base.dart:256)

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

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

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


[2024-12-07 14:54:47.220334]---------------------
Error Code: 404
Not Found
#0 SpotifyApiBase.handleResponseWithBody (package:spotify/src/spotify_base.dart:282)
#1 SpotifyApiBase._requestWrapper (package:spotify/src/spotify_base.dart:256)

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

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

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

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

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


[2024-12-07 14:54:47.233226]---------------------
Error Code: 401
Valid user authentication required
#0 SpotifyApiBase.handleResponseWithBody (package:spotify/src/spotify_base.dart:282)
#1 SpotifyApiBase._requestWrapper (package:spotify/src/spotify_base.dart:256)

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

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

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


[2024-12-07 14:54:47.246153]---------------------
FormatException: Unexpected character (at character 1)
Too many requests
^

#0 _ChunkedJsonParser.fail (dart:convert-patch/convert_patch.dart:1465)
#1 _ChunkedJsonParser.parseNumber (dart:convert-patch/convert_patch.dart:1332)
#2 _ChunkedJsonParser.parse (dart:convert-patch/convert_patch.dart:933)
#3 _parseJson (dart:convert-patch/convert_patch.dart:36)
#4 JsonDecoder.convert (dart:convert/json.dart:610)
#5 JsonCodec.decode (dart:convert/json.dart:216)
#6 SpotifyApiBase.handleResponseWithBody (package:spotify/src/spotify_base.dart:276)
#7 SpotifyApiBase._requestWrapper (package:spotify/src/spotify_base.dart:256)

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

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

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


[2024-12-07 14:54:47.248268]---------------------
FormatException: Unexpected character (at character 1)
Too many requests
^

#0 _ChunkedJsonParser.fail (dart:convert-patch/convert_patch.dart:1465)
#1 _ChunkedJsonParser.parseNumber (dart:convert-patch/convert_patch.dart:1332)
#2 _ChunkedJsonParser.parse (dart:convert-patch/convert_patch.dart:933)
#3 _parseJson (dart:convert-patch/convert_patch.dart:36)
#4 JsonDecoder.convert (dart:convert/json.dart:610)
#5 JsonCodec.decode (dart:convert/json.dart:216)
#6 SpotifyApiBase.handleResponseWithBody (package:spotify/src/spotify_base.dart:276)
#7 SpotifyApiBase._requestWrapper (package:spotify/src/spotify_base.dart:256)

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

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

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


Operating System

windows

Spotube version

3.8.3

Installation source

Website (spotube.krtirtho.dev)

Additional information

No response

Self grab

  • I'm ready to work on this issue!
@mak333333 mak333333 added the bug Something isn't working label Dec 7, 2024
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
None yet
Development

No branches or pull requests

1 participant