-
Notifications
You must be signed in to change notification settings - Fork 959
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
404 error when getting track/album/playlist/artist data #795
Comments
I am getting the same errors in (what appears) random moments, and it started just recently. Using same code, same fast network. I am checking with Spotify API console just after the error occurs with same token and get data for the requested artist, album, track. My observation is that 1/20 of the requests returns Spotify's API status is not reporting any issues: https://status.spotify.dev/ |
It looks like this is an issue on the Spotify side rather than the spotipy Python library. These seem related (please upvote them):
If anyone is up to create a new issue in Spotify for Developers gathering all the data, then we can all upvote it. Title could be something like "Getting 404 instead of 429/5xx" In the meantime, I suggest you deal with retrying 404s in your code where you know it shouldn't fail. I know, it's just very bad that it returns 404 instead of 5xx or 429. |
Describe the bug
Hi, a lot of users started reporting to me that they are getting 404 errors.
The url to the song is valid, We've tried clearing the cache but it didn't help.
Sometimes it works sometimes it doesn't seems pretty random.
This started happening few days ago.
Your code
SpotifyClient from here: https://github.com/spotDL/spotify-downloader/blob/master/spotdl/search/spotify_client.py
and then
Expected behavior
We always get the data.
Output
Environment:
Additional context
#794 might be the same issue
The text was updated successfully, but these errors were encountered: