Next.js Discord

Discord Forum

An error occurred in the Server Components render. The specific message is omitted in production bui

Answered
Cuvier’s Dwarf Caiman posted this in #help-forum
Open in Discord
Cuvier’s Dwarf CaimanOP
Is there any way I can disable protection in nextconfig?
Answered by joulev
no
View full answer

3 Replies

Answer
you have to read the server log
the error message doesn't get sent to the client at all and this security protection cannot be disabled