[GH-ISSUE #6] And now this error #4

Open
opened 2026-03-04 14:58:31 +03:00 by kerem · 6 comments
Owner

Originally created by @solarfox64-design on GitHub (Feb 14, 2026).
Original GitHub issue: https://github.com/GladistonXD/votify-fix/issues/6

C:\Users\Edgar López\Configuración local\Programs\Python\Python314\Lib\site-packages\votify>votify https://open.spotify.com/intl-es/track/4wtR6HB3XekEengMX17cpc?si=0d42892aa96d416f
[INFO 10:41:09] Iniciando Votify
Traceback (most recent call last):
File "C:\Users\Edgar López\AppData\Local\Programs\Python\Python314\Lib\site-packages\votify\utils.py", line 14, in check_response
response.raise_for_status()

File "C:\Users\Edgar López\AppData\Local\Programs\Python\Python314\Lib\site-packages\requests\models.py", line 1026, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 401 Client Error: Unauthorized for url: https://open.spotify.com/api/token?reason=init&productType=web-player&totp=219998&totpServer=219998&totpVer=61&_authfailed=1

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "", line 198, in _run_module_as_main
File "", line 88, in run_code
File "C:\Users\Edgar López\AppData\Local\Programs\Python\Python314\Scripts\votify.exe_main.py", line 5, in
sys.exit(main())
~~~~^^
File "C:\Users\Edgar López\AppData\Local\Programs\Python\Python314\Lib\site-packages\click\core.py", line 1485, in call
return self.main(*args, **kwargs)
~~~~~~~~~^^^^^^^^^^^^^^^^^
File "C:\Users\Edgar López\AppData\Local\Programs\Python\Python314\Lib\site-packages\click\core.py", line 1406, in main
rv = self.invoke(ctx)
File "C:\Users\Edgar López\AppData\Local\Programs\Python\Python314\Lib\site-packages\click\core.py", line 1269, in invoke
return ctx.invoke(self.callback, **ctx.params)
~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Edgar López\AppData\Local\Programs\Python\Python314\Lib\site-packages\click\core.py", line 824, in invoke
return callback(*args, **kwargs)
File "C:\Users\Edgar López\AppData\Local\Programs\Python\Python314\Lib\site-packages\votify\cli.py", line 469, in main
spotify_api = SpotifyApi.from_cookies_file(cookies_path, secrets_url=spotify_secrets_url)
File "C:\Users\Edgar López\AppData\Local\Programs\Python\Python314\Lib\site-packages\votify\spotify_api.py", line 88, in from_cookies_file
return cls(sp_dc=sp_dc, **kwargs)
File "C:\Users\Edgar López\AppData\Local\Programs\Python\Python314\Lib\site-packages\votify\spotify_api.py", line 68, in init
self._set_session()
~~~~~~~~~~~~~~~~~^^
File "C:\Users\Edgar López\AppData\Local\Programs\Python\Python314\Lib\site-packages\votify\spotify_api.py", line 92, in _set_session
self._setup_authorization()
~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "C:\Users\Edgar López\AppData\Local\Programs\Python\Python314\Lib\site-packages\votify\spotify_api.py", line 178, in _setup_authorization
self._setup_authorization_with_totp()
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "C:\Users\Edgar López\AppData\Local\Programs\Python\Python314\Lib\site-packages\votify\spotify_api.py", line 147, in _setup_authorization_with_totp
check_response(response)
~~~~~~~~~~~~~~^^^^^^^^^^
File "C:\Users\Edgar López\AppData\Local\Programs\Python\Python314\Lib\site-packages\votify\utils.py", line 16, in check_response
_raise_response_exception(response)
~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^
File "C:\Users\Edgar López\AppData\Local\Programs\Python\Python314\Lib\site-packages\votify\utils.py", line 20, in _raise_response_exception
raise Exception(
f"La solicitud falló con el código de estado {response.status_code}: {response.text}"
)
Exception: La solicitud falló con el código de estado 401: {"error":{"code":401,"message":"Unauthorized","trace":"eyJoYXNoIjoiNDk3NTAzMTIxYWRkNjdiNCIsImVuY3J5cHRlZCI6IjQ0NDczMWI2ZjZjYWU5MjEzZjY4OGMxNTk4YTk5MzI1NjA5ZGQxODkxNjZjNmMwMTBjYmYwYTEwMWY4M2NkMDM5NTNiYWNmMmM5YWM3OGZhZTAzNTNlODNjNWZkOTA0ZDAyNzQ3MjE1ZmQ0ZjczYmU5Y2NhNjlmOTJjMTUwNWI2MjI3MGUyZj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yMDI2LTAyLTE0VDE2OjQxOjEwLjYwN1oifQ=="}}

I imagine Spotify has already blocked Votify, and if not, could you please fix this? Thank you in advance.
Originally created by @solarfox64-design on GitHub (Feb 14, 2026). Original GitHub issue: https://github.com/GladistonXD/votify-fix/issues/6 C:\Users\Edgar López\Configuración local\Programs\Python\Python314\Lib\site-packages\votify>votify https://open.spotify.com/intl-es/track/4wtR6HB3XekEengMX17cpc?si=0d42892aa96d416f [INFO 10:41:09] Iniciando Votify Traceback (most recent call last): File "C:\Users\Edgar López\AppData\Local\Programs\Python\Python314\Lib\site-packages\votify\utils.py", line 14, in check_response response.raise_for_status() ~~~~~~~~~~~~~~~~~~~~~~~~~^^ File "C:\Users\Edgar López\AppData\Local\Programs\Python\Python314\Lib\site-packages\requests\models.py", line 1026, in raise_for_status raise HTTPError(http_error_msg, response=self) requests.exceptions.HTTPError: 401 Client Error: Unauthorized for url: https://open.spotify.com/api/token?reason=init&productType=web-player&totp=219998&totpServer=219998&totpVer=61&_authfailed=1 During handling of the above exception, another exception occurred: Traceback (most recent call last): File "", line 198, in _run_module_as_main File "", line 88, in run_code File "C:\Users\Edgar López\AppData\Local\Programs\Python\Python314\Scripts\votify.exe_main.py", line 5, in sys.exit(main()) ~~~~^^ File "C:\Users\Edgar López\AppData\Local\Programs\Python\Python314\Lib\site-packages\click\core.py", line 1485, in call return self.main(*args, **kwargs) ~~~~~~~~~^^^^^^^^^^^^^^^^^ File "C:\Users\Edgar López\AppData\Local\Programs\Python\Python314\Lib\site-packages\click\core.py", line 1406, in main rv = self.invoke(ctx) File "C:\Users\Edgar López\AppData\Local\Programs\Python\Python314\Lib\site-packages\click\core.py", line 1269, in invoke return ctx.invoke(self.callback, **ctx.params) ~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Edgar López\AppData\Local\Programs\Python\Python314\Lib\site-packages\click\core.py", line 824, in invoke return callback(*args, **kwargs) File "C:\Users\Edgar López\AppData\Local\Programs\Python\Python314\Lib\site-packages\votify\cli.py", line 469, in main spotify_api = SpotifyApi.from_cookies_file(cookies_path, secrets_url=spotify_secrets_url) File "C:\Users\Edgar López\AppData\Local\Programs\Python\Python314\Lib\site-packages\votify\spotify_api.py", line 88, in from_cookies_file return cls(sp_dc=sp_dc, **kwargs) File "C:\Users\Edgar López\AppData\Local\Programs\Python\Python314\Lib\site-packages\votify\spotify_api.py", line 68, in init self._set_session() ~~~~~~~~~~~~~~~~~^^ File "C:\Users\Edgar López\AppData\Local\Programs\Python\Python314\Lib\site-packages\votify\spotify_api.py", line 92, in _set_session self._setup_authorization() ~~~~~~~~~~~~~~~~~~~~~~~~~^^ File "C:\Users\Edgar López\AppData\Local\Programs\Python\Python314\Lib\site-packages\votify\spotify_api.py", line 178, in _setup_authorization self._setup_authorization_with_totp() ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^ File "C:\Users\Edgar López\AppData\Local\Programs\Python\Python314\Lib\site-packages\votify\spotify_api.py", line 147, in _setup_authorization_with_totp check_response(response) ~~~~~~~~~~~~~~^^^^^^^^^^ File "C:\Users\Edgar López\AppData\Local\Programs\Python\Python314\Lib\site-packages\votify\utils.py", line 16, in check_response _raise_response_exception(response) ~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^ File "C:\Users\Edgar López\AppData\Local\Programs\Python\Python314\Lib\site-packages\votify\utils.py", line 20, in _raise_response_exception raise Exception( f"La solicitud falló con el código de estado {response.status_code}: {response.text}" ) Exception: La solicitud falló con el código de estado 401: {"error":{"code":401,"message":"Unauthorized","trace":"eyJoYXNoIjoiNDk3NTAzMTIxYWRkNjdiNCIsImVuY3J5cHRlZCI6IjQ0NDczMWI2ZjZjYWU5MjEzZjY4OGMxNTk4YTk5MzI1NjA5ZGQxODkxNjZjNmMwMTBjYmYwYTEwMWY4M2NkMDM5NTNiYWNmMmM5YWM3OGZhZTAzNTNlODNjNWZkOTA0ZDAyNzQ3MjE1ZmQ0ZjczYmU5Y2NhNjlmOTJj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J0aW1lc3RhbXAiOiIyMDI2LTAyLTE0VDE2OjQxOjEwLjYwN1oifQ=="}} I imagine Spotify has already blocked Votify, and if not, could you please fix this? Thank you in advance.
Author
Owner

@GladistonXD commented on GitHub (Feb 19, 2026):

This is a cookie error, either the cookies have expired or the account has been suspended.

<!-- gh-comment-id:3924511498 --> @GladistonXD commented on GitHub (Feb 19, 2026): This is a cookie error, either the cookies have expired or the account has been suspended.
Author
Owner

@solarfox64-design commented on GitHub (Feb 19, 2026):

This is a cookie error, either the cookies have expired or the account has been suspended.

Thank you for replying and for your help. I have one question: is there any way to bypass the credentials? Thanks again, and A hug from from México.

<!-- gh-comment-id:3924607851 --> @solarfox64-design commented on GitHub (Feb 19, 2026): > This is a cookie error, either the cookies have expired or the account has been suspended. Thank you for replying and for your help. I have one question: is there any way to bypass the credentials? Thanks again, and A hug from from México.
Author
Owner

@GladistonXD commented on GitHub (Feb 19, 2026):

What does bypassing credentials mean? I don't recommend using your main account for downloads because once Spotify recognizes multiple requests for decryption keys, the account becomes liable to be banned. It's always best to create a new account for downloading.

<!-- gh-comment-id:3926445332 --> @GladistonXD commented on GitHub (Feb 19, 2026): What does bypassing credentials mean? I don't recommend using your main account for downloads because once Spotify recognizes multiple requests for decryption keys, the account becomes liable to be banned. It's always best to create a new account for downloading.
Author
Owner

@solarfox64-design commented on GitHub (Feb 19, 2026):

What does bypassing credentials mean? I don't recommend using your main account for downloads because once Spotify recognizes multiple requests for decryption keys, the account becomes liable to be banned. It's always best to create a new account for downloading.

Thanks again for replying, there are few people like you. The reason for bypassing the credentials is that you have your main account, you create another one, it gets canceled, you have to create another one to download, and so on. Now, for example, in my case, I use WindevineProxy2, thanks to @DevLARLEY, to extract the keys, and the extension The Stream Detector to extract the URL. With that, I use any downloader to download the M4A, then M4Decrypt to decrypt the MP4, and finally MP3Tag. With this method, credentials aren't needed, which is why I bypass them. Thank you for your attention and the great work you do. A hug from México.

<!-- gh-comment-id:3928653946 --> @solarfox64-design commented on GitHub (Feb 19, 2026): > What does bypassing credentials mean? I don't recommend using your main account for downloads because once Spotify recognizes multiple requests for decryption keys, the account becomes liable to be banned. It's always best to create a new account for downloading. Thanks again for replying, there are few people like you. The reason for bypassing the credentials is that you have your main account, you create another one, it gets canceled, you have to create another one to download, and so on. Now, for example, in my case, I use WindevineProxy2, thanks to @DevLARLEY, to extract the keys, and the extension The Stream Detector to extract the URL. With that, I use any downloader to download the M4A, then M4Decrypt to decrypt the MP4, and finally MP3Tag. With this method, credentials aren't needed, which is why I bypass them. Thank you for your attention and the great work you do. A hug from México.
Author
Owner

@GladistonXD commented on GitHub (Feb 21, 2026):

But in this case, you still need to be logged into an account to access the decryption key; the problem isn't the method, but rather the speed at which the requests are made.

<!-- gh-comment-id:3938131822 --> @GladistonXD commented on GitHub (Feb 21, 2026): But in this case, you still need to be logged into an account to access the decryption key; the problem isn't the method, but rather the speed at which the requests are made.
Author
Owner

@solarfox64-design commented on GitHub (Feb 24, 2026):

But in this case, you still need to be logged into an account to access the decryption key; the problem isn't the method, but rather the speed at which the requests are made.

Hello, sorry for the delay, I'm having problems with TELMEX. Thank you for replying. Indeed, an account is needed for the keys, but with this method, they won't cancel your account. And if you don't mind, since you're a guru, a master, in Python programming, could you, if your time and other commitments allow, please update this Python package: https://github.com/widevineleak/VT.PR.WV? I'm a complete ignorant in Python (end user). Thank you for your attention, and a hug from México.

<!-- gh-comment-id:3955042746 --> @solarfox64-design commented on GitHub (Feb 24, 2026): > But in this case, you still need to be logged into an account to access the decryption key; the problem isn't the method, but rather the speed at which the requests are made. Hello, sorry for the delay, I'm having problems with TELMEX. Thank you for replying. Indeed, an account is needed for the keys, but with this method, they won't cancel your account. And if you don't mind, since you're a guru, a master, in Python programming, could you, if your time and other commitments allow, please update this Python package: https://github.com/widevineleak/VT.PR.WV? I'm a complete ignorant in Python (end user). Thank you for your attention, and a hug from México.
Sign in to join this conversation.
No labels
pull-request
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/votify-fix#4
No description provided.