Closed enzomtpYT closed 1 year ago
You are trying to download too much too fast. Try waiting and lower the number of threads.
i already tried to put 1 threads and restarting 1 day later, but the same error keeps happening
You're getting rate limited by Spotify. You can try manually splitting the spotdl sync file.
I tried to reduce the number of music to download (now arround 1600 instead of arround 20000), but the error keeps happening
Processing query: https://open.spotify.com/artist/53XhwfbYqKCa1cC15pYq2q
Processing query: https://open.spotify.com/playlist/4br15pxVuXjr4qU0KBfWMY
Processing query: https://open.spotify.com/playlist/37i9dQZF1DXblmY5UIU3v3
Processing query: https://open.spotify.com/playlist/2INV6A28riGzcxVbaGdFEj
Processing query: https://open.spotify.com/playlist/37i9dQZF1E4nPxD8D3A5X8
Processing query: https://open.spotify.com/artist/36JJbH66Q0tZbKcnjvliDT
Processing query: https://open.spotify.com/artist/3zYU33YUxJPzsPrYmpMMiu
Processing query: https://open.spotify.com/artist/3YJDqtTSjydvUpTvU1fJ6O
Processing query: https://open.spotify.com/playlist/49BVzg9khU4gahhXbyKQZM
Processing query: https://open.spotify.com/playlist/5f6QseEksL1FNFVzQcgJgC
Processing query: https://open.spotify.com/artist/6BxtVo9reMQ2vff0l8HMGY
Processing query: https://open.spotify.com/artist/1gmwm51vXSRWAt3J8bBdO3
Processing query: https://open.spotify.com/artist/5eYIGMKb2BdsIXbScrOPK2
Processing query: https://open.spotify.com/artist/2M1EOE4J6tnaLCfMhE3eFq
Processing query: https://open.spotify.com/playlist/1LdkJOaBVrlyf5F3oijXbF
Processing query: https://open.spotify.com/artist/5AqhBC5pt6b0WVpUAII1Ro
Processing query: https://open.spotify.com/playlist/2x5ST1hmLc8TjA1Ybp5Hh7
Processing query: https://open.spotify.com/playlist/09rQgqnmP26wLv7EK4GCwr
Processing query: https://open.spotify.com/playlist/4M5EDY72Y2RmljqZwrJVvE
Processing query: https://open.spotify.com/playlist/4kR9oczE6zpsg3OGeftphB
Processing query: https://open.spotify.com/playlist/0pwcV257JtjlsPZfccinrb
Processing query: https://open.spotify.com/playlist/12De0szTOpqk7brqebkjtl
Processing query: https://open.spotify.com/playlist/10qkoUHZdgMIkeWjjRLGrO
Processing query: https://open.spotify.com/playlist/4M2EwzhQSyLeWIWrXGuRjs
Processing query: https://open.spotify.com/playlist/6kFJZeMre5N7apwNAUjRiC
Processing query: https://open.spotify.com/playlist/2qKw3MEA349w9xrYOrzJQp
Processing query: https://open.spotify.com/artist/1T7zBkQCOCacKjbnmFX7cp
Found 243 songs in Imagine Dragons (Artist)
Found 58 songs in HARDCORE (Playlist)
Found 50 songs in DOWN LOW (Playlist)
Found 168 songs in Motivation (Playlist)
Found 50 songs in Mittsies Radio (Playlist)
Found 65 songs in Wubbaduck (Artist)
Found 15 songs in Aests (Artist)
Found 236 songs in CG5 (Artist)
Found 168 songs in BASSSSSSSSSSSSSSSS BROOOOO (Playlist)
Found 81 songs in Animations meme musics (Playlist)
Found 35 songs in Canonblade (Artist)
Found 17 songs in Dalux (Artist)
Found 13 songs in Exyl (Artist)
Found 29 songs in YonKaGor (Artist)
Found 9 songs in J'en ai pleuré (Playlist)
Found 19 songs in JOYCA (Artist)
Found 503 songs in Musique Aimé [Youtube] enzomtp (Playlist)
Found 230 songs in Aggresive (Playlist)
Found 47 songs in ChinaTown (Playlist)
Found 12 songs in Only good vibes (Playlist)
Found 10 songs in Cyber (Playlist)
Found 22 songs in Virtual Riot - Idols (Song List) (Playlist)
Found 19 songs in Motivation But Its anime (Playlist)
Found 194 songs in Gaming Music 2023 🎮 Best Gaming Mix (Playlist)
Found 13 songs in Trends (Playlist)
Found 35 songs in Asphalt 9 (Playlist)
Found 1162 songs in GameChops (Artist)
Max Retries reached
Takanori Nishikawa - Roll The Dice (「Thunderbolt Fantasy 東離劍遊紀2」ED ver.) generated an exception: http status: 429, code:-1 -
/v1/artists/2ayMogRmamCnzMAk4YiFAz:
Max Retries, reason: too many 429 error responses
An error occurred
╭───────────────────────────────────────────────── Traceback (most recent call last) ──────────────────────────────────────────────────╮
│ C:\Users\enzoj\AppData\Local\Programs\Python\Python310\lib\site-packages\spotdl\console\entry_point.py:124 in console_entry_point │
│ │
│ 121 │ try: │
│ 122 │ │ # Pick the operation to perform │
│ 123 │ │ # based on the name and run it! │
│ ❱ 124 │ │ OPERATIONS[arguments.operation]( │
│ 125 │ │ │ query=arguments.query, │
│ 126 │ │ │ downloader=downloader, │
│ 127 │ │ ) │
│ │
│ C:\Users\enzoj\AppData\Local\Programs\Python\Python310\lib\site-packages\spotdl\console\sync.py:98 in sync │
│ │
│ 95 │ │ │
│ 96 │ │ # Get the names and URLs of previously downloaded songs from the sync file │
│ 97 │ │ old_files = [] │
│ ❱ 98 │ │ for entry in sync_data["songs"]: │
│ 99 │ │ │ file_name = create_file_name( │
│ 100 │ │ │ │ Song.from_dict(entry), │
│ 101 │ │ │ │ downloader.settings["output"], │
╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
KeyError: 'songs'```
you've malformed your sync file, i've added a check so that spotdl won't crash again but your sync file still won't work. try making few smaller playlists.
I have this error also but i have only 61 songs to download...
Here the log in console :
Max Retries reached INFO: ::1:38676 - "GET /api/url?url=https:%2F%2Fopen.spotify.com%2Fplaylist%2F0MbATxbOCwGz3RTq3IaIyP HTTP/1.1" 500 Internal Server Error ERROR: Exception in ASGI application urllib3.exceptions.ResponseError: too many 429 error responses
The above exception was the direct cause of the following exception:
Traceback (most recent call last): File "requests\adapters.py", line 486, in send File "urllib3\connectionpool.py", line 948, in urlopen File "urllib3\connectionpool.py", line 948, in urlopen File "urllib3\connectionpool.py", line 948, in urlopen File "urllib3\connectionpool.py", line 938, in urlopen File "urllib3\util\retry.py", line 515, in increment urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='api.spotify.com', port=443): Max retries exceeded with url: /v1/tracks/4UDmDIqJIbrW0hMBQMFOsM (Caused by ResponseError('too many 429 error responses'))
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "spotipy\client.py", line 266, in _internal_call File "requests\sessions.py", line 589, in request File "requests\sessions.py", line 703, in send File "requests\adapters.py", line 510, in send requests.exceptions.RetryError: HTTPSConnectionPool(host='api.spotify.com', port=443): Max retries exceeded with url: /v1/tracks/4UDmDIqJIbrW0hMBQMFOsM (Caused by ResponseError('too many 429 error responses'))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "uvicorn\protocols\http\h11_impl.py", line 408, in run_asgi
File "uvicorn\middleware\proxy_headers.py", line 84, in call
File "fastapi\applications.py", line 292, in call
File "starlette\applications.py", line 122, in call
File "starlette\middleware\errors.py", line 184, in call
File "starlette\middleware\errors.py", line 162, in call
File "starlette\middleware\cors.py", line 83, in call
File "starlette\middleware\exceptions.py", line 79, in call
File "starlette\middleware\exceptions.py", line 68, in call
File "fastapi\middleware\asyncexitstack.py", line 20, in call
File "fastapi\middleware\asyncexitstack.py", line 17, in call
File "starlette\routing.py", line 718, in call
File "starlette\routing.py", line 276, in handle
File "starlette\routing.py", line 66, in app
File "fastapi\routing.py", line 273, in app
File "fastapi\routing.py", line 192, in run_endpoint_function
File "starlette\concurrency.py", line 41, in run_in_threadpool
File "anyio\to_thread.py", line 33, in run_sync
File "anyio_backends_asyncio.py", line 877, in run_sync_in_worker_thread
File "anyio_backends_asyncio.py", line 807, in run
File "spotdl\utils\web.py", line 315, in songs_from_url
File "spotdl\types\song.py", line 310, in from_url
File "spotdl\types\song.py", line 310, in
System OS
Windows
Python Version
3.10 (CPython)
Install Source
pip / PyPi
Install version / commit hash
v4.2.0
Expected Behavior vs Actual Behavior
Excpected behavior : The querries sould be ending and then search for the musics in playlists and finally download all the musics.
Actual Behavior : The querries process always fine, randomly (sometimes it works and sometimes it doesn't) does the search for the musics in playlists and never downloads the actual musics
Steps to reproduce - Ensure to include actual links!
Traceback
Other details
No response