mirror of
https://github.com/akashrchandran/spotify-lyrics-api.git
synced 2026-04-27 10:05:53 +03:00
[GH-ISSUE #39] Always get "Lyrics for this track is not available on spotify" #29
Labels
No labels
UPDATES
bug
bug
documentation
enhancement
hacktoberfest
help wanted
pull-request
question
todo
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/spotify-lyrics-api#29
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Nowaha on GitHub (Mar 29, 2024).
Original GitHub issue: https://github.com/akashrchandran/spotify-lyrics-api/issues/39
It doesn't matter whether I use
?trackid=or?url=, but with any track (even the ones given as an example in the readme), I always get:{ "error": true, "message": "lyrics for this track is not available on spotify!" }as a response, despite me having the lyrics on my other monitor.
Not sure if I did something wrong setup wise, I did retrieve my
SP_DCminutes prior.When running the CURL request verbose, I see this:
Setting
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);seems to be a fix, but I don't know if we should be doing this.@d3nnyyy commented on GitHub (Apr 6, 2024):
any updates?
@Nowaha commented on GitHub (Apr 8, 2024):
It's still happening, but perhaps it's a persistent SSL issue on Spotify's end (so maybe we HAVE to set

CURLOPT_SSL_VERIFYPEER, which is also done in another request already)@aviwad commented on GitHub (Apr 15, 2024):
@akashrchandran will have to set a custom user-agent to his calls to Spotify servers. Spotify has started blocking the internal API calls with custom user-agents. I have implemented a similar thing at
github.com/aviwad/LyricFever@682b60f0b1as hasgithub.com/raitonoberu/lyricsapi@659da1d2b9@aviwad commented on GitHub (May 6, 2024):
Nevermind Spotify has started blocking free accounts once again. Damnit.
@akashrchandran commented on GitHub (Jul 2, 2024):
Are you using an ad blocker or have you blacklisted spclient.wg.spotify.com in your hosts file, or something similar?
@Nowaha commented on GitHub (Jul 20, 2024):
@akashrchandran I do not and have not, no