Skip to content

Issue: VotifyRequestException - Pathfinder request failed with status code 401 #95

Description

@swigggis

=== ERROR LOG ===

[INFO 22:09:15] Starting Votify 1.9.5
Traceback (most recent call last):
File "/root/votify/venv/bin/votify", line 6, in
sys.exit(main())
~~~~^^
File "/root/votify/venv/lib/python3.13/site-packages/click/core.py", line 1485, in call
return self.main(*args, **kwargs)
~~~~~~~~~^^^^^^^^^^^^^^^^^
File "/root/votify/venv/lib/python3.13/site-packages/click/core.py", line 1406, in main
rv = self.invoke(ctx)
File "/root/votify/venv/lib/python3.13/site-packages/click/core.py", line 1269, in invoke
return ctx.invoke(self.callback, **ctx.params)
~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/votify/venv/lib/python3.13/site-packages/click/core.py", line 824, in invoke
return callback(*args, **kwargs)
File "/root/votify/venv/lib/python3.13/site-packages/dataclass_click/dataclass_click.py", line 137, in wrapper
return func(*args, **kwargs)
File "/root/votify/venv/lib/python3.13/site-packages/votify/cli/config_file.py", line 165, in wrapper
return func(cli_config)
File "/root/votify/venv/lib/python3.13/site-packages/votify/cli/cli.py", line 43, in wrapper
return asyncio.run(func(*args, **kwargs))
~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.13/asyncio/runners.py", line 195, in run
return runner.run(main)
~~~~~~~~~~^^^^^^
File "/usr/lib/python3.13/asyncio/runners.py", line 118, in run
return self._loop.run_until_complete(task)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^
File "/usr/lib/python3.13/asyncio/base_events.py", line 725, in run_until_complete
return future.result()
~~~~~~~~~~~~~^^
File "/root/votify/venv/lib/python3.13/site-packages/votify/cli/cli.py", line 97, in main
api = await SpotifyApi.create_from_netscape_cookies(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...<2 lines>...
)
^
File "/root/votify/venv/lib/python3.13/site-packages/votify/api/api.py", line 98, in create_from_netscape_cookies
return await cls.create(
^^^^^^^^^^^^^^^^^
...<3 lines>...
)
^
File "/root/votify/venv/lib/python3.13/site-packages/votify/api/api.py", line 112, in create
await api._initialize()
File "/root/votify/venv/lib/python3.13/site-packages/votify/api/api.py", line 119, in _initialize
await self._initialize_user_profile()
File "/root/votify/venv/lib/python3.13/site-packages/votify/api/api.py", line 209, in _initialize_user_profile
self.user_profile = await self._get_user_profile() if self.sp_dc else None
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/votify/venv/lib/python3.13/site-packages/votify/api/api.py", line 336, in _get_user_profile
user_profile = await self._pathfinder_request(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...<2 lines>...
)
^
File "/root/votify/venv/lib/python3.13/site-packages/votify/api/api.py", line 327, in _pathfinder_request
raise VotifyRequestException(
...<3 lines>...
)
votify.api.exceptions.VotifyRequestException: Pathfinder request failed with status code 401

=== ENVIRONMENT ===

Votify Version: 1.9.5
Python Version: 3.13
Path: /root/votify/venv/

=== ERROR DETAILS ===

Exception: VotifyRequestException
Status Code: 401 (Unauthorized)
Failed at: _pathfinder_request during user profile initialization

=== TROUBLESHOOTING ATTEMPTED ===

[x] Using new cookies.txt (and cross-devices too)
[x] Using new Spotify.dll
[x] Restarting/rebuilding venv
[x] Using different premium account
[x] Using different IP (VPN)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions