[GH-ISSUE #127] [BUG] Failed to get lyrics for track id: #98

Open
opened 2026-03-04 12:28:58 +03:00 by kerem · 3 comments
Owner

Originally created by @GabryeleSantoro on GitHub (Jun 13, 2024).
Original GitHub issue: https://github.com/casualsnek/onthespot/issues/127

Everytime I try to download a song with the lyrics, the song is downloaded perfectly, but the lyrics download fails. I have a premium Spotify account.

80: get_track_lyrics() :: WARNING] -> Failed to get lyrics for track id: 2HYFX63wP3otVIvopRS99Z, statucode: 504, Text: {
"error": {
"status": 504,
"message": "Service didn't reply before timeout"
}
}

Originally created by @GabryeleSantoro on GitHub (Jun 13, 2024). Original GitHub issue: https://github.com/casualsnek/onthespot/issues/127 Everytime I try to download a song with the lyrics, the song is downloaded perfectly, but the lyrics download fails. I have a premium Spotify account. 80: get_track_lyrics() :: WARNING] -> Failed to get lyrics for track id: 2HYFX63wP3otVIvopRS99Z, statucode: 504, Text: { "error": { "status": 504, "message": "Service didn't reply before timeout" } }
Author
Owner

@gunsha commented on GitHub (Jun 14, 2024):

having the same issue, tried changing the API endpoint to spclient.wg.spotify.com/color-lyrics/v2/track/ but it get 403, while in postman with the same credentials works without any issues

<!-- gh-comment-id:2167958066 --> @gunsha commented on GitHub (Jun 14, 2024): having the same issue, tried changing the API endpoint to `spclient.wg.spotify.com/color-lyrics/v2/track/` but it get 403, while in postman with the same credentials works without any issues
Author
Owner

@justin025 commented on GitHub (Jul 25, 2024):

having the same issue, tried changing the API endpoint to spclient.wg.spotify.com/color-lyrics/v2/track/ but it get 403, while in postman with the same credentials works without any issues

@gunsha could you provide me the url and oauth token you've used in postman and an example response, i might be willing to fix this in a pull request.

<!-- gh-comment-id:2250008451 --> @justin025 commented on GitHub (Jul 25, 2024): > having the same issue, tried changing the API endpoint to `spclient.wg.spotify.com/color-lyrics/v2/track/` but it get 403, while in postman with the same credentials works without any issues @gunsha could you provide me the url and oauth token you've used in postman and an example response, i might be willing to fix this in a pull request.
Author
Owner

@gunsha commented on GitHub (Jul 25, 2024):

@justin025 this is my fix for the issue

https://gist.github.com/gunsha/e69ec9c5ea8d701a60d11a178674f675

<!-- gh-comment-id:2250208428 --> @gunsha commented on GitHub (Jul 25, 2024): @justin025 this is my fix for the issue https://gist.github.com/gunsha/e69ec9c5ea8d701a60d11a178674f675
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/onthespot#98
No description provided.