Next.js Discord

Discord Forum

Server Actions suddenly started returning 404 in production but not locally

Answered
Red-cockaded Woodpecker posted this in #help-forum
Open in Discord
Red-cockaded WoodpeckerOP
My NextJS 14.2.3 web app was fully working until yesterday. I deploy it to Vercel.

Everything works well locally, so I didn't hesitate to push it to preview. Then everything started breaking down, I receive 404 errors but receive 0 errors in the production logs. I don't understand what I'm doing wrong. Rolling back the code to the previous version doesn't work either...
Answered by Red-cockaded Woodpecker
View full answer

2 Replies

Red-cockaded WoodpeckerOP
Red-cockaded WoodpeckerOP
Answer