-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error Response - 401 [Unauthorized] #24
Comments
just make a new cookie |
I updated the cookie and it worked for one song but it went back to the same error |
pip install -U suno_songs and try again |
I reinstalled it but it's the same thing, it gives one generation, but after that, when I try to run it again, it gives the same 401 error |
your terminal can connect google? curl google.com |
Yep, I'm pretty sure, since it works very rarely for one song, but then just keeps giving error 401 whenever I send a request |
you need another net... |
I used IPs from different countries, took cookies from different browsers, but still had the same problem. And until May 4, everything worked fine. |
It's still not working for me as well, I tried all of the solutions and I know the problem isn't my net |
{"detail": "Unauthorized"} Error response <Response [401]> {"detail": "Unauthorized"} Error response <Response [401]> Ignoring exception in command generate: Traceback (most recent call last): File "/home/container/main.py", line 53, in generate sg1.save_songs(prompt, "./output", make_instrumental=instrumental, is_custom=False) File "/home/container/.local/lib/python3.12/site-packages/suno/suno.py", line 287, in save_songs self.get_songs( File "/home/container/.local/lib/python3.12/site-packages/suno/suno.py", line 228, in get_songs raise Exception(f"Error response {str(response)}") Exception: Error response <Response [401]> During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/container/.local/lib/python3.12/site-packages/discord/commands/core.py", line 131, in wrapped ret = await coro(arg) ^^^^^^^^^^^^^^^ File "/home/container/.local/lib/python3.12/site-packages/discord/commands/core.py", line 1013, in _invoke await self.callback(ctx, **kwargs) File "/home/container/main.py", line 55, in generate sg2.save_songs(prompt, "./output", make_instrumental=instrumental, is_custom=False) File "/home/container/.local/lib/python3.12/site-packages/suno/suno.py", line 287, in save_songs self.get_songs( File "/home/container/.local/lib/python3.12/site-packages/suno/suno.py", line 228, in get_songs raise Exception(f"Error response {str(response)}") Exception: Error response <Response [401]>
The code was working till last week, but it stopped working when I tried it a couple days ago, and I got the same error when I tried it again today. Any help would be appreciated! I have rechecked that the cookie is correct and updated it again, and I'm not getting an error for that as I got before I updated it, so I know that's not the problem, so I can't figure out what it is
The text was updated successfully, but these errors were encountered: