[GH-ISSUE #57] [Bug Report] API Error 500 unknown #48

Closed
opened 2026-02-27 04:57:16 +03:00 by kerem · 1 comment
Owner

Originally created by @FISSI0N on GitHub (Aug 19, 2025).
Original GitHub issue: https://github.com/Googolplexed0/zotify/issues/57

Originally assigned to: @Googolplexed0 on GitHub.

using version 0.9.24 (but also previous versions) I can login and search but cannot download any song.

I only receive this error message:

WARNING: API ERROR (TRY 0) - RETRYING

500: Unknown error

and after I hit the retry limit it displays this

raceback (most recent call last): File "<frozen runpy>", line 198, in _run_module_as_main File "<frozen runpy>", line 88, in _run_code File "c:\users\***\.local\bin\zotify.exe\__main__.py", line 6, in <module> File "C:\Users\***\pipx\venvs\zotify\Lib\site-packages\zotify\__main__.py", line 119, in main args.func(args) File "C:\Users\***\pipx\venvs\zotify\Lib\site-packages\zotify\app.py", line 322, in client search(Printer.get_input('Enter search: ')) File "C:\Users\***\pipx\venvs\zotify\Lib\site-packages\zotify\app.py", line 214, in search download_track('single', selection[ID], None, pbar_stack) File "C:\Users\***\pipx\venvs\zotify\Lib\site-packages\zotify\track.py", line 200, in download_track download_album(album_id, pbar_stack, M3U8_bypass=(mode, track_id)) File "C:\Users\***\pipx\venvs\zotify\Lib\site-packages\zotify\album.py", line 51, in download_album album_name, album_artists, tracks, total_discs, compilation = get_album_info(album_id) ^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\***\pipx\venvs\zotify\Lib\site-packages\zotify\album.py", line 17, in get_album_info tracks = Zotify.invoke_url_nextable(f'{ALBUM_URL}/{album_id}/tracks', ITEMS) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\***\pipx\venvs\zotify\Lib\site-packages\zotify\config.py", line 691, in invoke_url_nextable items: list = resp[response_key] ~~~~^^^^^^^^^^^^^^ KeyError: 'items'

I used this cofig file:

{
"SAVE_CREDENTIALS": "True",
"CREDENTIALS_LOCATION": "",
"OUTPUT": "",
"ROOT_PATH": "",
"ROOT_PODCAST_PATH": "",
"SPLIT_ALBUM_DISCS": "False",
"DOWNLOAD_LYRICS": "True",
"DOWNLOAD_PARENT_ALBUM": "True",
"MD_DISC_TRACK_TOTALS": "True",
"MD_SAVE_GENRES": "False",
"MD_ALLGENRES": "True",
"MD_GENREDELIMITER": ",",
"DOWNLOAD_FORMAT": "ogg",
"DOWNLOAD_QUALITY": "auto",
"TRANSCODE_BITRATE": "auto",
"SKIP_EXISTING": "True",
"SKIP_PREVIOUSLY_DOWNLOADED": "False",
"RETRY_ATTEMPTS": "10",
"BULK_WAIT_TIME": "1",
"CHUNK_SIZE": "20000",
"MAX_FILENAME_LENGTH": "0",
"DOWNLOAD_REAL_TIME": "False",
"LANGUAGE": "en",
"PRINT_SPLASH": "False",
"PRINT_SKIPS": "True",
"PRINT_DOWNLOAD_PROGRESS": "True",
"PRINT_URL_PROGRESS": "True",
"PRINT_ALBUM_PROGRESS": "True",
"PRINT_ARTIST_PROGRESS": "True",
"PRINT_ERRORS": "True",
"PRINT_DOWNLOADS": "True",
"PRINT_API_ERRORS": "True",
"PRINT_PROGRESS_INFO": "True",
"PRINT_WARNINGS": "True",
"TEMP_DOWNLOAD_DIR": ""
}

Originally created by @FISSI0N on GitHub (Aug 19, 2025). Original GitHub issue: https://github.com/Googolplexed0/zotify/issues/57 Originally assigned to: @Googolplexed0 on GitHub. using version 0.9.24 (but also previous versions) I can login and search but cannot download any song. I only receive this error message: > ### WARNING: API ERROR (TRY 0) - RETRYING ### > ### 500: Unknown error ### and after I hit the retry limit it displays this `raceback (most recent call last): File "<frozen runpy>", line 198, in _run_module_as_main File "<frozen runpy>", line 88, in _run_code File "c:\users\***\.local\bin\zotify.exe\__main__.py", line 6, in <module> File "C:\Users\***\pipx\venvs\zotify\Lib\site-packages\zotify\__main__.py", line 119, in main args.func(args) File "C:\Users\***\pipx\venvs\zotify\Lib\site-packages\zotify\app.py", line 322, in client search(Printer.get_input('Enter search: ')) File "C:\Users\***\pipx\venvs\zotify\Lib\site-packages\zotify\app.py", line 214, in search download_track('single', selection[ID], None, pbar_stack) File "C:\Users\***\pipx\venvs\zotify\Lib\site-packages\zotify\track.py", line 200, in download_track download_album(album_id, pbar_stack, M3U8_bypass=(mode, track_id)) File "C:\Users\***\pipx\venvs\zotify\Lib\site-packages\zotify\album.py", line 51, in download_album album_name, album_artists, tracks, total_discs, compilation = get_album_info(album_id) ^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\***\pipx\venvs\zotify\Lib\site-packages\zotify\album.py", line 17, in get_album_info tracks = Zotify.invoke_url_nextable(f'{ALBUM_URL}/{album_id}/tracks', ITEMS) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\***\pipx\venvs\zotify\Lib\site-packages\zotify\config.py", line 691, in invoke_url_nextable items: list = resp[response_key] ~~~~^^^^^^^^^^^^^^ KeyError: 'items'` I used this cofig file: > { > "SAVE_CREDENTIALS": "True", > "CREDENTIALS_LOCATION": "", > "OUTPUT": "", > "ROOT_PATH": "", > "ROOT_PODCAST_PATH": "", > "SPLIT_ALBUM_DISCS": "False", > "DOWNLOAD_LYRICS": "True", > "DOWNLOAD_PARENT_ALBUM": "True", > "MD_DISC_TRACK_TOTALS": "True", > "MD_SAVE_GENRES": "False", > "MD_ALLGENRES": "True", > "MD_GENREDELIMITER": ",", > "DOWNLOAD_FORMAT": "ogg", > "DOWNLOAD_QUALITY": "auto", > "TRANSCODE_BITRATE": "auto", > "SKIP_EXISTING": "True", > "SKIP_PREVIOUSLY_DOWNLOADED": "False", > "RETRY_ATTEMPTS": "10", > "BULK_WAIT_TIME": "1", > "CHUNK_SIZE": "20000", > "MAX_FILENAME_LENGTH": "0", > "DOWNLOAD_REAL_TIME": "False", > "LANGUAGE": "en", > "PRINT_SPLASH": "False", > "PRINT_SKIPS": "True", > "PRINT_DOWNLOAD_PROGRESS": "True", > "PRINT_URL_PROGRESS": "True", > "PRINT_ALBUM_PROGRESS": "True", > "PRINT_ARTIST_PROGRESS": "True", > "PRINT_ERRORS": "True", > "PRINT_DOWNLOADS": "True", > "PRINT_API_ERRORS": "True", > "PRINT_PROGRESS_INFO": "True", > "PRINT_WARNINGS": "True", > "TEMP_DOWNLOAD_DIR": "" > }
kerem 2026-02-27 04:57:16 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@FISSI0N commented on GitHub (Aug 19, 2025):

apparently it works again without any further fix, might have been an issue on spotifys end

<!-- gh-comment-id:3200908044 --> @FISSI0N commented on GitHub (Aug 19, 2025): apparently it works again without any further fix, might have been an issue on spotifys end
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/zotify#48
No description provided.