Next.js Discord

Discord Forum

Fullstack todo list app creates and loads todo items in localhost but not when deployed. Vercel.

Unanswered
Kromfohrländer posted this in #help-forum
Open in Discord
Avatar
KromfohrländerOP
The databases are made with Prisma and MongoDB.
I've entered MongoDB DATABASE_URL into vercel. It just gives me a 500 error which i entered in my code to show when it cant create a todo list.

2 Replies

Avatar
Read the vercel logs to see the error message
Avatar
Giant panda
Make sure all your environment variables are attached to the deployed project within the vercel dashboard. That can slip through the cracks and would cause the issue you’re seeing.