Next.js Discord

Discord Forum

Internal server error

Bombay posted this in #help-forum
Open in Discord
Hi everyone,
I am facing issues "Internal server error".
In next js application, when I am hitting wrong url like in place of It should redirect to 404 page. It works on localhost but not on production. Sometimes it works on production too sometimes its not. Why its happening. On console its giving 500 (internal server error).
Anyone please guide me to resolve this issue

0 Replies