Next JS API routes returning 404
apurvmahesh
HOBBY
25 days ago
Any url - like https://puramicsmarket.com/api/auth/callback/google?state=***
or https://puramicsmarket.com/api/hello in production environment, returns 404 not found in networks
It works fine in local development environment, and loads the root page layout for url's like localhost:3000/api/***
From the error when i searched over the internet,it says, that next js api routes are not enabled
1 Replies
Railway
BOT
25 days ago
Hey there! We've found the following might help you get unblocked faster:
If you find the answer from one of these, please let us know by solving the thread!