Next.js Discord

Discord Forum

Draft Mode Error

Unanswered
American black bear posted this in #help-forum
Open in Discord
American black bearOP
Dynamic server usage: Route /api/hello couldn't be rendered statically because it used draftMode().enable(). See more info here: https://nextjs.org/docs/messages/dynamic-server-error

I am getting this error when i build my next app and also tell how to avvoid to call all GET api during build

0 Replies