Menu

Vercel now supports customizing platform error pages - Vercel
📰
0

Vercel now supports customizing platform error pages - Vercel

Vercel News·Chandan Rao·4 days ago
#aCDlyQHk
Reading 0:00
15s threshold

You can now customize error pages for platform errors on Vercel, replacing generic error pages with your own branded experiences. Custom error pages display when Vercel encounters uncaught errors like function invocation timeouts or other platform errors . Link to heading How it works You can implement custom error pages using your framework’s conventions and Vercel will automatically locate them, for example with Next.js you can simply place a 500/page.tsx or static 500.html page in the public directory. To enrich error pages with request-specific context, you can use the following metadata tokens: ::vercel:REQUEST_ID:: - Contains the Vercel request ID ::vercel:ERROR_CODE:: - The specific error code e.g.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.

Read More