[GH-ISSUE #816] Still same blank error #1420

Closed
opened 2026-03-14 14:52:03 +03:00 by kerem · 7 comments
Owner

Originally created by @ThomasTheCoder198 on GitHub (Aug 27, 2025).
Original GitHub issue: https://github.com/aome510/spotify-player/issues/816

Image Image

Tried follow the instruction, but still blank.

Changed my client_id in app.toml but didnt work, the oauth link still return to default app_id.
Changed the oauth url with my app_id but return

Image
Originally created by @ThomasTheCoder198 on GitHub (Aug 27, 2025). Original GitHub issue: https://github.com/aome510/spotify-player/issues/816 <img width="1480" height="866" alt="Image" src="https://github.com/user-attachments/assets/fbaad796-f899-4821-939e-0c71756b5e26" /> <img width="1525" height="1058" alt="Image" src="https://github.com/user-attachments/assets/0f59da09-0883-4fd9-b70b-e2cac023b97e" /> Tried follow the instruction, but still blank. Changed my client_id in app.toml but didnt work, the oauth link still return to default app_id. Changed the oauth url with my app_id but return <img width="1529" height="1060" alt="Image" src="https://github.com/user-attachments/assets/4cf9a728-3d73-4494-8cce-32c5cd4d0563" />
kerem 2026-03-14 14:52:03 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@aome510 commented on GitHub (Aug 27, 2025):

Can you try the latest master? See https://github.com/aome510/spotify-player/issues/802#issuecomment-3218342832 for more details

<!-- gh-comment-id:3228462125 --> @aome510 commented on GitHub (Aug 27, 2025): Can you try the latest `master`? See https://github.com/aome510/spotify-player/issues/802#issuecomment-3218342832 for more details
Author
Owner

@bashtoni commented on GitHub (Aug 27, 2025):

I'm getting the same behaviour after building from master. Shift+d gives an empty list of devices.

<!-- gh-comment-id:3229962622 --> @bashtoni commented on GitHub (Aug 27, 2025): I'm getting the same behaviour after building from master. Shift+d gives an empty list of devices.
Author
Owner

@aome510 commented on GitHub (Aug 28, 2025):

I'm getting the same behaviour after building from master. Shift+d gives an empty list of devices.

Does it still show "No playback found"? Can you provide any applicable logs?

<!-- gh-comment-id:3233496485 --> @aome510 commented on GitHub (Aug 28, 2025): > I'm getting the same behaviour after building from master. Shift+d gives an empty list of devices. Does it still show "No playback found"? Can you provide any applicable logs?
Author
Owner

@mrbrandao commented on GitHub (Aug 28, 2025):

Same issue here, looks like authentication attempts are returning 403 invalid token even with a valid one:

2025-08-28T18:23:38.618672Z ERROR librespot_core::mercury: error 403 for uri hm://keymaster/token/authenticated?scope=user-read-recently-played,user-top-read,user-read-playback-position,user-read-playback-state,user-modify-playback-state,user-read-currently-playing,streaming,playlist-read-private,playlist-modify-private,playlist-modify-public,playlist-read-collaborative,user-follow-read,user-follow-modify,user-library-read,user-library-modify&client_id=<MyClientID>&device_id=<MyDeviceID>
2025-08-28T18:23:38.618862Z ERROR spotify_player::client::spotify: Failed to get a new token: failed to get the token: Service unavailable { error handling Mercury response: MercuryResponse { uri: "hm://keymaster/token/authenticated?scope=user-read-recently-played,user-top-read,user-read-playback-position,user-read-playback-state,user-modify-playback-state,user-read-currently-playing,streaming,playlist-read-private,playlist-modify-private,playlist-modify-public,playlist-read-collaborative,user-follow-read,user-follow-modify,user-library-read,user-library-modify&client_id=<MyClientID>&device_id=<MyDeviceID>", status_code: 403, payload: [[PayLoadByteArray]] } }
2025-08-28T18:23:38.619055Z  INFO spotify_player: Starting a client socket at 127.0.0.1:8080
2025-08-28T18:23:38.619231Z ERROR client_request{request=GetUserSavedShows}: spotify_player::client::handlers: Failed to handle client request: Token is not valid
2025-08-28T18:23:38.619245Z ERROR client_request{request=GetUserFollowedArtists}: spotify_player::client::handlers: Failed to handle client request: Token is not valid
2025-08-28T18:23:38.619232Z ERROR client_request{request=GetUserSavedAlbums}: spotify_player::client::handlers: Failed to handle client request: Token is not valid
2025-08-28T18:23:38.619229Z ERROR client_request{request=GetCurrentUser}: spotify_player::client::handlers: Failed to handle client request: Token is not valid
2025-08-28T18:23:38.619289Z ERROR client_request{request=GetUserSavedTracks}: spotify_player::client::handlers: Failed to handle client request: Token is not valid
2025-08-28T18:23:38.619320Z  INFO client_request{request=GetUserPlaylists}: spotify_player::token: Getting a new authentication token...
2025-08-28T18:23:38.619958Z  INFO spotify_player::media_control: Initializing application's media control event watcher...
2025-08-28T18:23:38.930518Z ERROR librespot_core::mercury: error 403 for uri hm://keymaster/token/authenticated?scope=user-read-recently-played,user-top-read,user-read-playback-position,user-read-playback-state,user-modify-playback-state,user-read-currently-playing,streaming,playlist-read-private,playlist-modify-private,playlist-modify-public,playlist-read-collaborative,user-follow-read,user-follow-modify,user-library-read,user-library-modify&client_id=<MyClientID>&device_id=<MyDeviceID>
2025-08-28T18:23:38.930599Z ERROR client_request{request=GetUserPlaylists}: spotify_player::client::spotify: Failed to get a new token: failed to get the token: Service unavailable { error handling Mercury response: MercuryResponse { uri: "hm://keymaster/token/authenticated?scope=user-read-recently-played,user-top-read,user-read-playback-position,user-read-playback-state,user-modify-playback-state,user-read-currently-playing,streaming,playlist-read-private,playlist-modify-private,playlist-modify-public,playlist-read-collaborative,user-follow-read,user-follow-modify,user-library-read,user-library-modify&client_id=<MyClientID>&device_id=<MyDeviceID>", status_code: 403, payload: [[PayLoadByteArray]] } }
2025-08-28T18:23:38.930618Z ERROR client_request{request=GetUserPlaylists}: spotify_player::client::handlers: Failed to handle client request: get access token: failed to get the authentication token stored inside the client.
2025-08-28T18:23:39.620381Z ERROR spotify_player::client: Failed to retrieve current playback: Token is not valid
2025-08-28T18:23:39.620460Z ERROR spotify_player::client: Failed to retrieve current playback: Token is not valid
<!-- gh-comment-id:3234533563 --> @mrbrandao commented on GitHub (Aug 28, 2025): Same issue here, looks like authentication attempts are returning 403 invalid token even with a valid one: ``` 2025-08-28T18:23:38.618672Z ERROR librespot_core::mercury: error 403 for uri hm://keymaster/token/authenticated?scope=user-read-recently-played,user-top-read,user-read-playback-position,user-read-playback-state,user-modify-playback-state,user-read-currently-playing,streaming,playlist-read-private,playlist-modify-private,playlist-modify-public,playlist-read-collaborative,user-follow-read,user-follow-modify,user-library-read,user-library-modify&client_id=<MyClientID>&device_id=<MyDeviceID> 2025-08-28T18:23:38.618862Z ERROR spotify_player::client::spotify: Failed to get a new token: failed to get the token: Service unavailable { error handling Mercury response: MercuryResponse { uri: "hm://keymaster/token/authenticated?scope=user-read-recently-played,user-top-read,user-read-playback-position,user-read-playback-state,user-modify-playback-state,user-read-currently-playing,streaming,playlist-read-private,playlist-modify-private,playlist-modify-public,playlist-read-collaborative,user-follow-read,user-follow-modify,user-library-read,user-library-modify&client_id=<MyClientID>&device_id=<MyDeviceID>", status_code: 403, payload: [[PayLoadByteArray]] } } 2025-08-28T18:23:38.619055Z INFO spotify_player: Starting a client socket at 127.0.0.1:8080 2025-08-28T18:23:38.619231Z ERROR client_request{request=GetUserSavedShows}: spotify_player::client::handlers: Failed to handle client request: Token is not valid 2025-08-28T18:23:38.619245Z ERROR client_request{request=GetUserFollowedArtists}: spotify_player::client::handlers: Failed to handle client request: Token is not valid 2025-08-28T18:23:38.619232Z ERROR client_request{request=GetUserSavedAlbums}: spotify_player::client::handlers: Failed to handle client request: Token is not valid 2025-08-28T18:23:38.619229Z ERROR client_request{request=GetCurrentUser}: spotify_player::client::handlers: Failed to handle client request: Token is not valid 2025-08-28T18:23:38.619289Z ERROR client_request{request=GetUserSavedTracks}: spotify_player::client::handlers: Failed to handle client request: Token is not valid 2025-08-28T18:23:38.619320Z INFO client_request{request=GetUserPlaylists}: spotify_player::token: Getting a new authentication token... 2025-08-28T18:23:38.619958Z INFO spotify_player::media_control: Initializing application's media control event watcher... 2025-08-28T18:23:38.930518Z ERROR librespot_core::mercury: error 403 for uri hm://keymaster/token/authenticated?scope=user-read-recently-played,user-top-read,user-read-playback-position,user-read-playback-state,user-modify-playback-state,user-read-currently-playing,streaming,playlist-read-private,playlist-modify-private,playlist-modify-public,playlist-read-collaborative,user-follow-read,user-follow-modify,user-library-read,user-library-modify&client_id=<MyClientID>&device_id=<MyDeviceID> 2025-08-28T18:23:38.930599Z ERROR client_request{request=GetUserPlaylists}: spotify_player::client::spotify: Failed to get a new token: failed to get the token: Service unavailable { error handling Mercury response: MercuryResponse { uri: "hm://keymaster/token/authenticated?scope=user-read-recently-played,user-top-read,user-read-playback-position,user-read-playback-state,user-modify-playback-state,user-read-currently-playing,streaming,playlist-read-private,playlist-modify-private,playlist-modify-public,playlist-read-collaborative,user-follow-read,user-follow-modify,user-library-read,user-library-modify&client_id=<MyClientID>&device_id=<MyDeviceID>", status_code: 403, payload: [[PayLoadByteArray]] } } 2025-08-28T18:23:38.930618Z ERROR client_request{request=GetUserPlaylists}: spotify_player::client::handlers: Failed to handle client request: get access token: failed to get the authentication token stored inside the client. 2025-08-28T18:23:39.620381Z ERROR spotify_player::client: Failed to retrieve current playback: Token is not valid 2025-08-28T18:23:39.620460Z ERROR spotify_player::client: Failed to retrieve current playback: Token is not valid ```
Author
Owner

@J0G commented on GitHub (Aug 28, 2025):

If there are some other nix users finding this, I recommend this package definition file for a temporary fix.
package.nix
It uses the latest commit as of today and works with a simple callPackage. Hope this helps.

PS: Lovely program by the way, discovering it just now. Thank you.

<!-- gh-comment-id:3234632953 --> @J0G commented on GitHub (Aug 28, 2025): If there are some other nix users finding this, I recommend this package definition file for a temporary fix. [package.nix](https://github.com/patwrall/telperion/blob/9ba46fa10c679f3b74290b187661b5d9b3f35411/packages/spotify-player/package.nix#L54) It uses the latest commit as of today and works with a simple callPackage. Hope this helps. PS: Lovely program by the way, discovering it just now. Thank you.
Author
Owner

@aome510 commented on GitHub (Aug 31, 2025):

Please try the latest version (v0.21.0) to see if the error still persists. I also recommend to delete old token/credentials in the cache folder beforehand.

<!-- gh-comment-id:3240505848 --> @aome510 commented on GitHub (Aug 31, 2025): Please try the latest version (`v0.21.0`) to see if the error still persists. I also recommend to delete old token/credentials in the cache folder beforehand.
Author
Owner

@Tetrlock commented on GitHub (Oct 5, 2025):

0.21.1 this problem persist empty blank device list

<!-- gh-comment-id:3369284249 --> @Tetrlock commented on GitHub (Oct 5, 2025): 0.21.1 this problem persist empty blank device list
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/spotify-player#1420
No description provided.