-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Running the commands to donwload user saved albums or songs fails with error 'ResponseError: too many 429 error responses' #2111
Comments
Getting the same error, it seems to occur when the number of songs exceed 100. Larger number of songs downloaded fine before and I haven't updated spotdl since then so I tried updating and there wasn't any new update. |
same here |
Having the same issue |
Same issue.
Command I used:
|
Same here |
Uh, so it is somehow working now by using auth token 😆
…---------- Původní e-mail ----------
Od: Mahmoud Ayman ***@***.***>
Komu: spotDL/spotify-downloader ***@***.***>
Datum: 08.06.2024 14:38:09
Předmět: Re: [spotDL/spotify-downloader] Runnng the commands to donwload
user
saved albums or songs fails with error 'ResponseError: too many 429 error
responses' (Issue #2111)
"
Same here
—
Reply to this email directly, view it on GitHub
(#2111 (comment))
, or unsubscribe
(https://github.com/notifications/unsubscribe-auth/ANPD4G7O5PMT7UR3SZ2NRFTZGL3K3AVCNFSM6AAAAABIY6JBW2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNJWGAZDCOBSGI)
.
You are receiving this because you commented. Message ID: <spotDL/spotify-
***@***.***>
"
|
Yes, indeed. Thanks for the tip :) |
But now I am stuck on "Processing" when downloading songs... |
Still having same error with |
I also just started having the same issue |
It's not even just user saved albums or songs, it fails if you try to download a playlist or all songs of an artist using the spotify link |
Today worked for me without any changes. |
Same issue here. |
By default spotDL uses a preconfigured Spotify app thats the same for all users (so many users using spotDL at the same time will lead to the rate limit being exceeded). You can bypass this by creating your own app at https://developer.spotify.com/dashboard , for the name and description enter whatever you like, redirect URI http://127.0.0.1:9900/ and select Edit: you'll also need to delete the .spotipy file and relogin with your newly created app |
Would it be possible to add the possibility of providing those two items via the command line when running spotDL? That way it would be easy to fix for those of us using docker compose:
|
I think there actually are the options |
You're right, I just found them now. I was looking in the wrong place in the docs. |
FYI just adding those two options with my own Spotify app details worked:
|
I have a possible improvement suggestion. Suggestion: assuming that song metadata doesn't change very often / ever, we can cache the response in a local file cache.
I wouldn't cache playlist metadata because it can change often (and usually there is only one / few playlists but many songs) WDYT? would like your feedback |
@sagivoulu you might want to think about your approach towards the metadata-cache-ttl; if all metadata expires at the same time, you will hit the rate limits once again. Alternatively, you might want to implement respecting the Spotify ratelimits (using the |
This would make my work writing #2128 easier -- I need to use the default spotdl credentials for the tests, but the search endpoints are often rate-limited and it is unclear to me how long I need to wait before retrying. |
System OS
Windows
Python Version
3.10 (CPython)
Install Source
pip / PyPi
Install version / commit hash
v4.2.5
Expected Behavior vs Actual Behavior
Trying to download the user saved albums or song throws this error
Steps to reproduce - Ensure to include actual links!
python -m spotdl download all-user-saved-albums --user-auth
Traceback
Other details
I get same error with playlist with more than 400 songs.
The text was updated successfully, but these errors were encountered: