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

Failed to get session id #1

Closed
jochemstoel opened this issue Apr 29, 2024 · 1 comment · Fixed by #2
Closed

Failed to get session id #1

jochemstoel opened this issue Apr 29, 2024 · 1 comment · Fixed by #2

Comments

@jochemstoel
Copy link

I copied the value of document.cookie from my devtools on suno.ai and used it in your example script.

The following error occurs:

Error: Failed to get session id
    at e.<anonymous> (c:\Users\Jochem\Desktop\sunoai\node_modules\suno-ai\dist\index.js:2:11774)
    at m (c:\Users\Jochem\Desktop\sunoai\node_modules\suno-ai\dist\index.js:2:2797)
    at Generator.<anonymous> (c:\Users\Jochem\Desktop\sunoai\node_modules\suno-ai\dist\index.js:2:4139)
    at Generator.next (c:\Users\Jochem\Desktop\sunoai\node_modules\suno-ai\dist\index.js:2:3226)
    at s (c:\Users\Jochem\Desktop\sunoai\node_modules\suno-ai\dist\index.js:2:8700)
    at r (c:\Users\Jochem\Desktop\sunoai\node_modules\suno-ai\dist\index.js:2:8903)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
Error: Error: Failed to get session id

What is the problem? Do I need something else than document.cookie, maybe it needs to be processed to JSON or something?

@hissincn
Copy link
Owner

hissincn commented May 9, 2024

i am fixing this

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

Successfully merging a pull request may close this issue.

2 participants