[GH-ISSUE #76] [Bug Report] #64

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

Originally created by @PandaBear80 on GitHub (Sep 14, 2025).
Original GitHub issue: https://github.com/Googolplexed0/zotify/issues/76

Originally assigned to: @Googolplexed0 on GitHub.

Zotify Version
v0.9.14

Bug Description
Zotify throws this or similar error every time I try and use it.

Bug Triggering Command
zotify https://open.spotify.com/track/7Bkw8mQs8oYUV9udjdgXG9?si=AfuziIJXQK-1D7DSOEg1jw&context=spotify%3Atrack%3A7Bkw8mQs8oYUV9udjdg -rp /opt/navidrome/music -rt True -q very_high --md-save-genres True --md-allgenres True

Error Traceback / Logs
Traceback (most recent call last):
File "/home/michael/.local/bin/zotify", line 7, in
sys.exit(main())
~~~~^^
File "/home/michael/.local/share/pipx/venvs/zotify/lib/python3.13/site-packages/zotify/main.py", line 119, in main
args.func(args)
~~~~~~~~~^^^^^^
File "/home/michael/.local/share/pipx/venvs/zotify/lib/python3.13/site-packages/zotify/app.py", line 312, in client
tracks = Zotify.invoke_url_bulk(TRACK_BULK_URL, track_ids, TRACKS)
File "/home/michael/.local/share/pipx/venvs/zotify/lib/python3.13/site-packages/zotify/config.py", line 689, in invoke_url_bulk
(raw, resp) = Zotify.invoke_url(url + items_batch)
~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
File "/home/michael/.local/share/pipx/venvs/zotify/lib/python3.13/site-packages/zotify/config.py", line 630, in invoke_url
headers = cls.get_auth_header()
File "/home/michael/.local/share/pipx/venvs/zotify/lib/python3.13/site-packages/zotify/config.py", line 621, in get_auth_header
'Authorization': f'Bearer {cls.__get_auth_token()}',
~~~~~~~~~~~~~~~~~~~~^^
File "/home/michael/.local/share/pipx/venvs/zotify/lib/python3.13/site-packages/zotify/config.py", line 614, in __get_auth_token
return cls.SESSION.tokens().get_token(
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
USER_READ_EMAIL, PLAYLIST_READ_PRIVATE, USER_LIBRARY_READ, USER_FOLLOW_READ
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
).access_token
^
File "/home/michael/.local/share/pipx/venvs/zotify/lib/python3.13/site-packages/zotify/init.py", line 213, in get_token
return super().get_token(*scopes)
~~~~~~~~~~~~~~~~~^^^^^^^^^
File "/home/michael/.local/share/pipx/venvs/zotify/lib/python3.13/site-packages/librespot/core.py", line 2301, in get_token
response = self._session.mercury().send_sync_json(
MercuryRequests.request_token(self._session.device_id(),
",".join(scopes)))
File "/home/michael/.local/share/pipx/venvs/zotify/lib/python3.13/site-packages/librespot/mercury.py", line 186, in send_sync_json
raise MercuryClient.MercuryException(response)
librespot.mercury.MercuryClient.MercuryException: status: 403

Originally created by @PandaBear80 on GitHub (Sep 14, 2025). Original GitHub issue: https://github.com/Googolplexed0/zotify/issues/76 Originally assigned to: @Googolplexed0 on GitHub. **Zotify Version** v0.9.14 **Bug Description** Zotify throws this or similar error every time I try and use it. **Bug Triggering Command** zotify https://open.spotify.com/track/7Bkw8mQs8oYUV9udjdgXG9?si=AfuziIJXQK-1D7DSOEg1jw&context=spotify%3Atrack%3A7Bkw8mQs8oYUV9udjdg -rp /opt/navidrome/music -rt True -q very_high --md-save-genres True --md-allgenres True **Error Traceback / Logs** Traceback (most recent call last): File "/home/michael/.local/bin/zotify", line 7, in <module> sys.exit(main()) ~~~~^^ File "/home/michael/.local/share/pipx/venvs/zotify/lib/python3.13/site-packages/zotify/__main__.py", line 119, in main args.func(args) ~~~~~~~~~^^^^^^ File "/home/michael/.local/share/pipx/venvs/zotify/lib/python3.13/site-packages/zotify/app.py", line 312, in client tracks = Zotify.invoke_url_bulk(TRACK_BULK_URL, track_ids, TRACKS) File "/home/michael/.local/share/pipx/venvs/zotify/lib/python3.13/site-packages/zotify/config.py", line 689, in invoke_url_bulk (raw, resp) = Zotify.invoke_url(url + items_batch) ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ File "/home/michael/.local/share/pipx/venvs/zotify/lib/python3.13/site-packages/zotify/config.py", line 630, in invoke_url headers = cls.get_auth_header() File "/home/michael/.local/share/pipx/venvs/zotify/lib/python3.13/site-packages/zotify/config.py", line 621, in get_auth_header 'Authorization': f'Bearer {cls.__get_auth_token()}', ~~~~~~~~~~~~~~~~~~~~^^ File "/home/michael/.local/share/pipx/venvs/zotify/lib/python3.13/site-packages/zotify/config.py", line 614, in __get_auth_token return cls.SESSION.tokens().get_token( ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ USER_READ_EMAIL, PLAYLIST_READ_PRIVATE, USER_LIBRARY_READ, USER_FOLLOW_READ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ).access_token ^ File "/home/michael/.local/share/pipx/venvs/zotify/lib/python3.13/site-packages/zotify/__init__.py", line 213, in get_token return super().get_token(*scopes) ~~~~~~~~~~~~~~~~~^^^^^^^^^ File "/home/michael/.local/share/pipx/venvs/zotify/lib/python3.13/site-packages/librespot/core.py", line 2301, in get_token response = self._session.mercury().send_sync_json( MercuryRequests.request_token(self._session.device_id(), ",".join(scopes))) File "/home/michael/.local/share/pipx/venvs/zotify/lib/python3.13/site-packages/librespot/mercury.py", line 186, in send_sync_json raise MercuryClient.MercuryException(response) librespot.mercury.MercuryClient.MercuryException: status: 403
kerem 2026-02-27 04:57:20 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@Googolplexed0 commented on GitHub (Sep 16, 2025):

Your Zotify and librespot are out of date. Please see the README instructions to update.

<!-- gh-comment-id:3294427206 --> @Googolplexed0 commented on GitHub (Sep 16, 2025): Your Zotify and librespot are out of date. Please see the README instructions to update.
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#64
No description provided.