504 Gateway Timeout Error on Vercel
Hello, everyone.
I've been really bugged with this error as you've seen above. Anytime I try to host my full stack NextJS application which has MongoDB has it's database, I get that error. Please, how can I fix this?
2 Replies
Vercel has a limit of 10 seconds for each serverless function execution. You are probably exceeding these limits. Mongo shouldn’t be taking this long to execute, for simple functions
Hmmm, thanks.