Playlists not showing
Describe the bug When I open the application is says: "An error occured. Check logs for details!". When going to playlists it says that I have no saved playlists, when I obviously do have playlists.
To Reproduce
- Install spot-client AUR-package on archlinux
- Run application -> see error
- Go to playlists -> no playlists
Expected behavior No errors shown and my playlists fetched.
General information:
- Distribution: Arch Linux
- Installation method: installed the AUR-package using yay (AUR-helper)
- Version: 0.5.0
- Device used: Laptop
Stack trace: (process:20745): Adwaita-CRITICAL **: 20:50:36.982: adw_leaflet_set_visible_child: assertion 'contains_child' failed [src/api/cached_client.rs:259:17] &cache_key = "me_playlists_0_30.json" [src/api/cached_client.rs:259:17] e = Error("invalid type: null, expected a sequence", line: 1, column: 13961) [2025-07-05T18:50:37Z ERROR spot::app::components] Spotify API error: invalid type: null, expected a sequence at line 1 column 13961 [src/api/cached_client.rs:259:17] &cache_key = "me_playlists_0_30.json" [src/api/cached_client.rs:259:17] e = Error("invalid type: null, expected a sequence", line: 1, column: 13961) [2025-07-05T18:50:38Z ERROR spot::app::components] Spotify API error: invalid type: null, expected a sequence at line 1 column 13961 [src/api/cached_client.rs:259:17] &cache_key = "me_playlists_0_30.json" [src/api/cached_client.rs:259:17] e = Error("invalid type: null, expected a sequence", line: 1, column: 13961) [2025-07-05T18:50:38Z ERROR spot::app::components] Spotify API error: invalid type: null, expected a sequence at line 1 column 13961
The same running 0.5.0 via FlatPak :
[src/api/cached_client.rs:259:17] &cache_key = "me_playlists_0_30.json"
[src/api/cached_client.rs:259:17] e = Error("invalid type: null, expected a sequence", line: 1, column: 2615)
[2025-08-01T03:53:21Z ERROR spot::app::components] Spotify API error: invalid type: null, expected a sequence at line 1 column 2615
[src/api/cached_client.rs:259:17] &cache_key = "me_playlists_0_30.json"
[src/api/cached_client.rs:259:17] e = Error("invalid type: null, expected a sequence", line: 1, column: 2615)
[2025-08-01T03:53:24Z ERROR spot::app::components] Spotify API error: invalid type: null, expected a sequence at line 1 column 2615
[src/api/cached_client.rs:259:17] &cache_key = "me_playlists_0_30.json"
[src/api/cached_client.rs:259:17] e = Error("invalid type: null, expected a sequence", line: 1, column: 2615)
[2025-08-01T03:53:26Z ERROR spot::app::components] Spotify API error: invalid type: null, expected a sequence at line 1 column 2615