gcui-art/suno-api

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

Opened this issue · 5 comments

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

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

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..

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?

I solved the same issue so will share the solution:

・Logout the current account
・Delete the cache for the suno.ai site
I used this Chrome extension:
https://chromewebstore.google.com/detail/editthiscookie/fngmhnnpilhplaeedifhccceomclgfbg?hl=en&pli=1
・Login the account
・Get new Cookie in the standard way

I hope this will help you guys.

I solved the same issue so will share the solution:

・Logout the current account ・Delete the cache for the suno.ai site I used this Chrome extension: https://chromewebstore.google.com/detail/editthiscookie/fngmhnnpilhplaeedifhccceomclgfbg?hl=en&pli=1 ・Login the account ・Get new Cookie in the standard way

I hope this will help you guys.

Still works??