[GH-ISSUE #972] Api response Error: Unknown variant collection #429

Open
opened 2026-02-28 14:49:07 +03:00 by kerem · 6 comments
Owner

Originally created by @rbrtbrnschn on GitHub (Apr 17, 2022).
Original GitHub issue: https://github.com/Rigellute/spotify-tui/issues/972

Error Message

image

Walkthrough

Upon putting in my CLIENT ID, and CLIENT SECRET, I get asked to the port to be redirected to.
I hit enter, defaulting to port 8888 and get redirected to my browser.
Where I see this screen.

image

Instead spt states with this error:
image

It grabs all playlist and such from my account. So it must be cached somewhere.
I had deleted firefox (my default browser) cookies, deleted $HOME/.config/spotify-tui/* to mitigate that, to no avail.

Narrowing down cause

Halfway through writing this Issue, I switched songs, and the error had gone away.

I had narrowed it down.
It only occurs when listening to a song in my liked songs playlist, provided by spotify.

I'm stumped as to why though.

Originally created by @rbrtbrnschn on GitHub (Apr 17, 2022). Original GitHub issue: https://github.com/Rigellute/spotify-tui/issues/972 ## Error Message ![image](https://user-images.githubusercontent.com/56562982/163708723-3fd72f82-ef81-4e50-b2be-9d3f04d71cb6.png) ## Walkthrough Upon putting in my `CLIENT ID`, and `CLIENT SECRET`, I get asked to the port to be redirected to. I hit enter, defaulting to port `8888` and get redirected to my browser. Where I see this screen. ![image](https://user-images.githubusercontent.com/56562982/163708760-785fbdde-bfc2-43d1-995a-80c3afce8c3d.png) Instead `spt` states with this error: ![image](https://user-images.githubusercontent.com/56562982/163708723-3fd72f82-ef81-4e50-b2be-9d3f04d71cb6.png) It grabs all playlist and such from my account. So it must be cached somewhere. I had deleted firefox (my default browser) cookies, deleted `$HOME/.config/spotify-tui/*` to mitigate that, to no avail. ## Narrowing down cause Halfway through writing this Issue, I switched songs, and the error had gone away. I had narrowed it down. It only occurs when listening to a song in my `liked songs` playlist, provided by spotify. I'm stumped as to why though.
Author
Owner

@Hexalyse commented on GitHub (Apr 17, 2022):

I have the same issue when trying to play songs from "Your Top Songs " playlists (XXXX being a year, like 2021, 2020, etc.).
I guess it has something to do with a property not available on songs from this kind of playlist.

<!-- gh-comment-id:1100914954 --> @Hexalyse commented on GitHub (Apr 17, 2022): I have the same issue when trying to play songs from "Your Top Songs <XXXX>" playlists (XXXX being a year, like 2021, 2020, etc.). I guess it has something to do with a property not available on songs from this kind of playlist.
Author
Owner

@Fb185 commented on GitHub (Apr 19, 2022):

I had the same issue. when any of the songs from liked songs was playing i would get the error message, so i selected a song from a playlist and when i went back to the liked songs i had no errors.

<!-- gh-comment-id:1103233004 --> @Fb185 commented on GitHub (Apr 19, 2022): I had the same issue. when any of the songs from liked songs was playing i would get the error message, so i selected a song from a playlist and when i went back to the liked songs i had no errors.
Author
Owner

@u2knwy commented on GitHub (Apr 20, 2022):

Had the same error, but as mentioned above it only occurs on songs that are in my "liked songs"

<!-- gh-comment-id:1104052405 --> @u2knwy commented on GitHub (Apr 20, 2022): Had the same error, but as mentioned above it only occurs on songs that are in my "liked songs"
Author
Owner

@sewnie commented on GitHub (Apr 21, 2022):

duplicate of #960

<!-- gh-comment-id:1104960355 --> @sewnie commented on GitHub (Apr 21, 2022): duplicate of #960
Author
Owner

@The-Compiler commented on GitHub (Apr 25, 2022):

FWIW, here is a workaround: https://github.com/Rigellute/spotify-tui/issues/960#issuecomment-1108813658

<!-- gh-comment-id:1108815345 --> @The-Compiler commented on GitHub (Apr 25, 2022): FWIW, here is a workaround: https://github.com/Rigellute/spotify-tui/issues/960#issuecomment-1108813658
Author
Owner

@l1na-forever commented on GitHub (Jul 3, 2022):

FWIW, here is a workaround: #960 (comment)

Thanks for this, works for me!

<!-- gh-comment-id:1173173429 --> @l1na-forever commented on GitHub (Jul 3, 2022): > FWIW, here is a workaround: [#960 (comment)](https://github.com/Rigellute/spotify-tui/issues/960#issuecomment-1108813658) Thanks for this, works for me!
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-tui#429
No description provided.