Next.js Discord

Discord Forum

Flask Python endpoint on Nextjs 14

Unanswered
Asiatic Lion posted this in #help-forum
Open in Discord
Asiatic LionOP
I started a new project using the Flask Nextjs starter from (https://vercel.com/templates/next.js/nextjs-flask-starter) - I built out my endpoint and everything works locally, but when I went to deploy on Vercel the endpoint gets a 500 error. I also followed this how-to (https://vercel.com/guides/how-to-use-python-and-javascript-in-the-same-application) and in Vercel the endpoint is showing as a serverless function.

Has anyone ran into this issue or successfully deployed a Flask endpoint within Nextjs app on Vercel?

0 Replies