Skip to content
Dashboard

Vercel now supports customizing platform error pages

Link to headingHow it works

500/page.tsx
export default function CustomErrorPage() {
return (
<div className="flex min-h-screen flex-col items-center justify-center">
<h1 className="text-4xl font-bold">500</h1>
<p className="mt-4 text-lg text-gray-600">Internal Server Error</p>
<p className="mt-2 text-sm text-gray-500">
Request ID: ::vercel:REQUEST_ID::
</p>
<p className="mt-2 text-sm text-gray-500">
Code: ::vercel:ERROR_CODE::
</p>
<p className="mt-2 text-sm text-gray-500">
Something went wrong on our end. Please try again later.
</p>
<a href="/" className="mt-6 text-blue-600 hover:underline">
Go back home
</a>
</div>
);
}

We strongly recommend including the request ID and error code to aid debugging and support investigations.