[GH-ISSUE #941] Large 'liked tracks' does not laod #563

Open
opened 2026-03-02 23:48:42 +03:00 by kerem · 1 comment
Owner

Originally created by @domgregori on GitHub (Feb 27, 2026).
Original GitHub issue: https://github.com/aome510/spotify-player/issues/941

Describe the bug
When going to LikedTrackPage with a large library (10,000), it does not load. Stays at Loading...

To Reproduce
gy, go to LikedTrackPage

Expected behaviour
Load my liked tracks

Log and backtrace

2026-02-27T05:03:11.117863Z  INFO client_request{request=GetCurrentUserQueue}: spotify_player::client: Successfully handled the client request, took: 680ms
2026-02-27T05:03:13.671893Z ERROR client_request{request=GetUserFollowedArtists}: spotify_player::client::handlers: Failed to handle client request: failed to send a Spotify API request https://api.spotify.com/v1/me/following?type=artist&limit=20&after=0CjWKoS55T7DOt0HJuwF1H: {
  "error": {
    "status": 429,
    "message": "API rate limit exceeded"
  }
}
2026-02-27T05:03:13.689197Z ERROR client_request{request=GetUserSavedTracks}: spotify_player::client::handlers: Failed to handle client request: failed to send a Spotify API request https://api.spotify.com/v1/me/tracks: {
  "error": {
    "status": 429,
    "message": "API rate limit exceeded"
  }
}
2026-02-27T05:03:13.726114Z ERROR spotify_player::client: Failed to retrieve current playback: http error: status code 429 Too Many Requests
2026-02-27T05:03:13.821360Z ERROR client_request{request=GetUserSavedTracks}: spotify_player::client::handlers: Failed to handle client request: failed to send a Spotify API request https://api.spotify.com/v1/me/tracks: {
  "error": {
    "status": 429,
    "message": "API rate limit exceeded"
  }
}
2026-02-27T05:03:13.830629Z  INFO spotify_player::client::handlers: Current context ID (None) is different from the expected ID (Some(Tracks(TracksId { uri: "tracks:user-liked-tracks", kind: "Liked Tracks" }))), update the context state
2026-02-27T05:03:14.689306Z ERROR spotify_player::client: Failed to retrieve current playback: http error: status code 429 Too Many Requests

Backtrace empty

Environment

  • OS: 6.12.63-1-MANJARO
  • Application version: 0.22.1
  • Application features:
Compile-time features:
  ✗ daemon
  ✓ streaming
  ✓ media-control
  ✓ image
  ✓ viuer
  ✗ sixel
  ✗ pixelate
  ✓ notify
  ✗ fzf
  ✗ pulseaudio-backend
  ✗ alsa-backend
  ✓ rodio-backend
  ✗ jackaudio-backend
  ✗ sdl-backend
  ✗ gstreamer-backend
Originally created by @domgregori on GitHub (Feb 27, 2026). Original GitHub issue: https://github.com/aome510/spotify-player/issues/941 **Describe the bug** When going to LikedTrackPage with a large library (10,000), it does not load. Stays at Loading... **To Reproduce** gy, go to LikedTrackPage **Expected behaviour** Load my liked tracks **Log and backtrace** ``` 2026-02-27T05:03:11.117863Z INFO client_request{request=GetCurrentUserQueue}: spotify_player::client: Successfully handled the client request, took: 680ms 2026-02-27T05:03:13.671893Z ERROR client_request{request=GetUserFollowedArtists}: spotify_player::client::handlers: Failed to handle client request: failed to send a Spotify API request https://api.spotify.com/v1/me/following?type=artist&limit=20&after=0CjWKoS55T7DOt0HJuwF1H: { "error": { "status": 429, "message": "API rate limit exceeded" } } 2026-02-27T05:03:13.689197Z ERROR client_request{request=GetUserSavedTracks}: spotify_player::client::handlers: Failed to handle client request: failed to send a Spotify API request https://api.spotify.com/v1/me/tracks: { "error": { "status": 429, "message": "API rate limit exceeded" } } 2026-02-27T05:03:13.726114Z ERROR spotify_player::client: Failed to retrieve current playback: http error: status code 429 Too Many Requests 2026-02-27T05:03:13.821360Z ERROR client_request{request=GetUserSavedTracks}: spotify_player::client::handlers: Failed to handle client request: failed to send a Spotify API request https://api.spotify.com/v1/me/tracks: { "error": { "status": 429, "message": "API rate limit exceeded" } } 2026-02-27T05:03:13.830629Z INFO spotify_player::client::handlers: Current context ID (None) is different from the expected ID (Some(Tracks(TracksId { uri: "tracks:user-liked-tracks", kind: "Liked Tracks" }))), update the context state 2026-02-27T05:03:14.689306Z ERROR spotify_player::client: Failed to retrieve current playback: http error: status code 429 Too Many Requests ``` Backtrace empty **Environment** - OS: 6.12.63-1-MANJARO - Application version: 0.22.1 - Application features: ``` Compile-time features: ✗ daemon ✓ streaming ✓ media-control ✓ image ✓ viuer ✗ sixel ✗ pixelate ✓ notify ✗ fzf ✗ pulseaudio-backend ✗ alsa-backend ✓ rodio-backend ✗ jackaudio-backend ✗ sdl-backend ✗ gstreamer-backend ```
Author
Owner

@Knightsmarian commented on GitHub (Mar 2, 2026):

I put a new pr out last night to address the new api endpoints and raté limits for error code 429

<!-- gh-comment-id:3985384944 --> @Knightsmarian commented on GitHub (Mar 2, 2026): I put a new pr out last night to address the new api endpoints and raté limits for error code 429
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#563
No description provided.