suno-api icon indicating copy to clipboard operation
suno-api copied to clipboard

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

Open VNG2000 opened this issue 9 months ago • 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

VNG2000 avatar Apr 30 '24 23:04 VNG2000

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

thewbuk avatar May 01 '24 01:05 thewbuk

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

VNG2000 avatar May 03 '24 06:05 VNG2000

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?

Kevin-free avatar May 09 '24 07:05 Kevin-free

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.

k-ele avatar May 23 '24 14:05 k-ele

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

VNG2000 avatar Jun 06 '24 03:06 VNG2000