Skip to content

HTTP error pages

HTTP error pages explain why a request failed and guide users to a meaningful next step.

Usage

HTTP error pages are full-page messages for request failures such as missing pages, missing permissions, or server errors.

They are built with the info page component as the base layout.

HTTP error pages

When to use

  • When navigation to a page fails because the requested resource is unavailable or blocked.
  • When an application route represents a standalone error state, such as 401, 403, 404, or 500.

Best practices

  • Do not use them for transient background failures that can be communicated with inline notifications or toast notifications.
  • Codes can be remapped deliberately (on server side) when necessary, for example showing a 404 page for a 403 error to avoid revealing that a restricted resource exists.

Except where otherwise noted, content on this site is licensed under MIT License.