Closed banxian007 closed 3 months ago
something wrong
me too,why
Go to https://app.suno.ai/, make sure you are logged in, and perform the operation on the console
function getCookieStringByDomain(domain) {
const cookies = document.cookie.split(';');
let cookieString = '';
cookies.forEach(cookie => {
const [name, value] = cookie.trim().split('=');
cookieString += `${name}=${value}; `;
});
return cookieString;
}
getCookieStringByDomain('clerk.suno.ai');
You can get the cookie. Give it a try
@banxian007 @hiboydidi
Tried all three browsers, Google Chrome, Firefox, and edge.
@GitPusher99
Look at the screenshot you sent, posted cookies contain special characters, you check to try
Look at the screenshot you sent, posted cookies contain special characters, you check to try
What special characters, I don't quite understand, like this?% I don't know what the problem is.@GitPusher99
@banxian007
Hi, I have the same issue both when I run it with npm and with docker.
I got the cookie ID with the function given above.
I inserted it in the example file like this:
I am on a Ubuntu machine.
{ "error": "Internal server error. TypeError [ERR_INVALID_CHAR]: Invalid character in header content [\"Cookie\"]" }