mirror of
https://github.com/Googolplexed0/zotify.git
synced 2026-04-25 06:15:55 +03:00
[GH-ISSUE #76] [Bug Report] #64
Labels
No labels
bug
considering
discussion
documentation
enhancement
enhancement
good first issue
help wanted
pull-request
question
stale
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/zotify#64
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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
@Googolplexed0 commented on GitHub (Sep 16, 2025):
Your Zotify and librespot are out of date. Please see the README instructions to update.