Skip to content
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

Internal server error. Error: Failed to get session id, you may need to update the SUNO_COOKIE" #64

Open
VNG2000 opened this issue Apr 30, 2024 · 3 comments

Comments

@VNG2000
Copy link

VNG2000 commented Apr 30, 2024

Hi. I am using your suno api. Thanks for this great work. But i have this error "Internal server error. Error: Failed to get session id, you may need to update the SUNO_COOKIE". You know how can fix it? I am using Vercel. If I switch to another Suno account's cookie and redeploy in Vercel, it works again, but after a while, this error appears again."

Image https://drive.google.com/file/d/1JK8j7kCf_QnrWfIBPGQHFa4JG-VnNKmf/view?usp=drive_link

@thewbuk
Copy link

thewbuk commented May 1, 2024

I had the same issue. Updating the SUNO_COOKIE worked for me temporarily.

@VNG2000
Copy link
Author

VNG2000 commented May 3, 2024

I had the same issue. Updating the SUNO_COOKIE worked for me temporarily.

I found a solution. Don't use all the credits. Always keep 10 credits on the free accounts. This will keep the same cookie. Is your account paid? I'm not sure if this API works on paid accounts..

@Kevin-free
Copy link

I also encountered this problem. My analysis is that if you log in to account A and obtain COOKIE_A, then log out of account A and log in to account B, COOKIE_A will become invalid, and the new COOKIE and COOKIE_A obtained by logging in to account A in a short period of time will no longer be valid. Same. It seems that this problem didn't happen before. I wonder if it is Suno's official new restriction policy. What should I do?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants