Suno-API icon indicating copy to clipboard operation
Suno-API copied to clipboard

Cookie with error 403

Open huypv2002 opened this issue 8 months ago • 0 comments

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 ?

huypv2002 avatar May 05 '25 11:05 huypv2002