Web

HTTP Status Codes for Faster Website and API Debugging

Use status-code families to quickly separate success, redirect, client and server problems.

Related tool

HTTP Status Code Lookup helps you apply this guide directly in the browser.

Open tool

Start with the status family

Two-hundred codes generally indicate success, three-hundred codes describe redirects or caching, four-hundred codes point to request or access problems, and five-hundred codes indicate server failures.

The family narrows the investigation before you inspect the exact code, response headers and body.

The code is only the first clue

A 404 can mean a missing resource, an incorrect route or an application intentionally hiding an unauthorized page. A 500 may come from code, configuration or a failed dependency.

Use the status together with server logs, browser network details and the response body.