Next.js Discord

Discord Forum

How to use the digest property in Vercel errors?

Unanswered
Russo-European Laika posted this in #help-forum
Open in Discord
Russo-European LaikaOP
In my Vercel logs I see an error like so:
[Error: An error occurred in the Server Components render. The specific message is omitted in production builds to avoid leaking sensitive details. A digest property is included on this error instance which may provide additional details about the nature of the error.] {
  digest: 'xxx'
}


Where am I supposed to use the digest to see the actual error?

2 Replies

Asian paper wasp
The full error message is outputted in the server side stderr.

You should be able to see that by searching the server side log with the digest, depending what you used to host your site.
E.g. this is my site hosting on vercel