Next.js Discord

Discord Forum

Serverless not working properly

Unanswered
Spectacled bear posted this in #help-forum
Open in Discord
Spectacled bearOP
hi everyone, is anyone having problems with running sveltekit on Vercel? out of nowhere we started getting errors: [ERROR] [1687377329218] LAMBDA_RUNTIME Failed to post handler success response. Http response code: 400.
RequestId: 85a6b1d6-133f-4953-b561-ebd3b82db691 Error: Runtime exited with error: exit status 129
Runtime.ExitError

11 Replies

Spectacled bearOP
If you want to see it for yourself https://notibot.app it just started happening past 2-3 days max randomly doesn't always happen
Spectacled bearOP
I noticed these errors aswell


2023-06-22T19:51:34.566Z 1085764d-8f2b-4ba7-bb63-a5e0ec27eec5 ERROR Uncaught Exception {"errorType":"ReferenceError","errorMessage":"window is not defined","stack":["ReferenceError: window is not defined"," at Timeout._onTimeout (file:///var/task/.svelte-kit/output/server/entries/pages/invite/_page.svelte.js:5:7)"," at listOnTimeout (node:internal/timers:569:17)"," at process.processTimers (node:internal/timers:512:7)"]}
[ERROR] [1687463494569] LAMBDA_RUNTIME Failed to post handler success response. Http response code: 400.
RequestId: 0a0be2ff-d29f-4679-8ee5-c2f66ea0ac19 Error: Runtime exited with error: exit status 129
Runtime.ExitError

RequestId: 6ffbe560-b994-4b82-a0f9-77e59f060ed5 Error: Runtime exited with error: signal: segmentation fault
Runtime.ExitError
@joulev as you see, the error is 'window is not defined', which is a bug in your code to fix
Spectacled bearOP
Ill go and ask thanks
but what about the first error above the image if you scrollup
That one i dont know
If svelte server people don’t know this either probably it is a vercel issue
Contact support
@joulev Contact support
Spectacled bearOP
I did send an email to vercel been 2 days