Skip to content

Cookie with error 403 #8

@huypv2002

Description

@huypv2002

PS C:\Users\84795\Downloads\sunoapi\Suno-API> suno credits display
Traceback (most recent call last):
File "", line 198, in _run_module_as_main
File "", line 88, in run_code
File "C:\Users\84795\AppData\Local\Programs\Python\Python312\Scripts\suno.exe_main.py", line 4, in
File "C:\Users\84795\AppData\Local\Programs\Python\Python312\Lib\site-packages\suno\cli.py", line 16, in
client = suno.Suno(cookie=COOKIE)
^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\84795\AppData\Local\Programs\Python\Python312\Lib\site-packages\suno\suno.py", line 78, in init
self._sid = self._get_sid()
^^^^^^^^^^^^^^^
File "C:\Users\84795\AppData\Local\Programs\Python\Python312\Lib\site-packages\suno\suno.py", line 85, in _get_sid
raise Exception(f"failed to get SID: {response.status_code}")
Exception: failed to get SID: 403

How to fix ? Thanks you !

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