"error": "Internal server error. Error: Failed to get session id, you may need to update the SUNO_COOKIE"
Closed this issue · 1 comments
Describe the bug
Hi. I've been using this api for about a week and it worked great. But recently every time i send a request to the endpoint, i get a "error": "Internal server error. Error: Failed to get session id, you may need to update the SUNO_COOKIE" response. I did try to update the SUNO_COOKIE env var in my vercel deployment, but my cookie from suno.com is the exact same as my env var (the cookie on suno.com did not change at all, and yes I did copy and paste the cookie over anyway if there was a single character diffrence).
To Reproduce
Steps to reproduce the behavior:
- Deploy Repo To Vercel
- Send any request to the domain, "api/get_limit" also gives the error
Expected behavior
I expected to the the documented JSON response, which I did get a couple days ago.
Screenshots
Reponse: (if this helps at all):
Desktop (please complete the following information):
- OS: Windows 10
- Browser Opera GX. My program uses httpclient to send requests (c#)
- Version LVL 5 (core: 109.0.5097.79)
Additional context
if any other information is needed, ill happily provide it.
Fixed. Had to log out and in of my account to generate a new SUNO_COOKIE, which had a totally difference syntax/format. Ensure your cookie doesn't start with "__client" (new cookies start with __cf)