Next.js Discord

Discord Forum

one request: Vercel 504, but Browser 200

Unanswered
Ray posted this in #help-forum
Open in Discord
RayOP

4 Replies

Its probably because you have suspense or some streaming thing... I say this because its returns with 200 to begin with and then shows the rest of data... The 504 error is because you went past the 10sec limit (so vercel decided to show error code, but client already had to get the good one)

https://nextjs.org/docs/app/building-your-application/routing/loading-ui-and-streaming#status-codes
Also vercel just made it 60 sec iirc
@Ray Thank you for your response. I will check on this situation.
hi, just checking to ensure you got it working!