Next.js Discord

Discord Forum

Connection timeout on a mongooose.findById() page

Unanswered
Fran posted this in #help-forum
Open in Discord
This Serverless Function has timed out.

Your connection is working correctly.

Vercel is working correctly.


I'm getting the above message when trying to access a specific [id] route on the vercel deployment of a Rest API page i'm developing with mongoose and MongoDB. The rest of the routes work perfectly, just the one where i get an element by it's ID is broken and I can't find any solutions online.

0 Replies