all was running great locally then 500 error, Invalid character in header content ["Authorization"]'
'Internal server error. TypeError [ERR_INVALID_CHAR]: Invalid character in header content ["Authorization"]'
...is being read at http://localhost:3000/api/get_limit
the api was running great for awhile, I tried replacing my cookie several times. I have my 2captcha account topped off and I have 2500 monthly credits for suno.
If I have the wrong cookie, it switches to a SUNO_COOKIE error.
If anyone has a fix please let me know. Thanks
Error generating custom audio: "\n\n<html lang="en">\n
\nServer Error (500)
\n\n
WOMM… can you tell me on which environment are you using suno-api? (i.e. OS, Node version, Docker/VM/real machine, etc.)
@gohoski I'm getting the same error, i'm using windows os and hosting it locally on my own machine, node version v22.13.0
i have the same problem i use for 2 days all great and now if i go to im running in local node version v20.18.0 http://localhost:3000/api/get_limit { "error": "Internal server error. TypeError [ERR_INVALID_CHAR]: Invalid character in header content ["Authorization"]" } and if i do other request i get 500 Server Error: Internal Server Error for url: http://localhost:3000/api/generate and got this from the cmd ⨯ TypeError: Cannot read properties of undefined (reading 'data') at POST (webpack-internal:///(rsc)/./src/app/api/generate/route.ts:30:91) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async C:\Users\pabli\Desktop\suno-api-main1\node_modules\next\dist\compiled\next-server\app-route.runtime.dev.js:6:63809 at async eU.execute (C:\Users\pabli\Desktop\suno-api-main1\node_modules\next\dist\compiled\next-server\app-route.runtime.dev.js:6:53964) at async eU.handle (C:\Users\pabli\Desktop\suno-api-main1\node_modules\next\dist\compiled\next-server\app-route.runtime.dev.js:6:65062) at async doRender (C:\Users\pabli\Desktop\suno-api-main1\node_modules\next\dist\server\base-server.js:1317:42) at async cacheEntry.responseCache.get.routeKind (C:\Users\pabli\Desktop\suno-api-main1\node_modules\next\dist\server\base-server.js:1539:28) at async DevServer.renderToResponseWithComponentsImpl (C:\Users\pabli\Desktop\suno-api-main1\node_modules\next\dist\server\base-server.js:1447:28) at async DevServer.renderPageComponent (C:\Users\pabli\Desktop\suno-api-main1\node_modules\next\dist\server\base-server.js:1844:24) at async DevServer.renderToResponseImpl (C:\Users\pabli\Desktop\suno-api-main1\node_modules\next\dist\server\base-server.js:1882:32) at async DevServer.pipeImpl (C:\Users\pabli\Desktop\suno-api-main1\node_modules\next\dist\server\base-server.js:895:25) at async NextNodeServer.handleCatchallRenderRequest (C:\Users\pabli\Desktop\suno-api-main1\node_modules\next\dist\server\next-server.js:269:17) at async DevServer.handleRequestImpl (C:\Users\pabli\Desktop\suno-api-main1\node_modules\next\dist\server\base-server.js:791:17) at async C:\Users\pabli\Desktop\suno-api-main1\node_modules\next\dist\server\dev\next-dev-server.js:331:20 at async Span.traceAsyncFn (C:\Users\pabli\Desktop\suno-api-main1\node_modules\next\dist\trace\trace.js:151:20) at async DevServer.handleRequest (C:\Users\pabli\Desktop\suno-api-main1\node_modules\next\dist\server\dev\next-dev-server.js:328:24) at async invokeRender (C:\Users\pabli\Desktop\suno-api-main1\node_modules\next\dist\server\lib\router-server.js:174:21) at async handleRequest (C:\Users\pabli\Desktop\suno-api-main1\node_modules\next\dist\server\lib\router-server.js:353:24) at async requestHandlerImpl (C:\Users\pabli\Desktop\suno-api-main1\node_modules\next\dist\server\lib\router-server.js:377:13) at async Server.requestListener (C:\Users\pabli\Desktop\suno-api-main1\node_modules\next\dist\server\lib\start-server.js:140:13)