DevToolsForYou

HTTP Status Codes Cheatsheet

A complete reference for HTTP response status codes — 1xx informational, 2xx success, 3xx redirection, 4xx client errors, and 5xx server errors.

Updated Apr 11, 2026
Try the HTTP Request Builder

Sections

  1. 1xx — Informational
  2. 2xx — Success
  3. 3xx — Redirection
  4. 4xx — Client Errors
  5. 5xx — Server Errors

1xx — Informational

The request was received and the process is continuing. These are interim responses.

CodeNameDescription
100ContinueThe server has received the request headers; the client should proceed to send the body.
101Switching ProtocolsThe server is switching protocols as requested (e.g., upgrading to WebSocket).
102ProcessingThe server is processing the request but has not yet completed it (WebDAV).
103Early HintsUsed to send some response headers before the final response, to allow the client to start preloading resources.

2xx — Success

The request was successfully received, understood, and accepted.

CodeNameDescription
200OKThe request succeeded. The response body contains the result.
201CreatedA new resource was created as a result of the request. Often returned after POST.
202AcceptedThe request was accepted for processing, but processing is not complete yet.
203Non-Authoritative InformationThe response is a modified version from a third-party proxy.
204No ContentThe request succeeded but there is no content to return. Common after DELETE or PUT.
205Reset ContentTells the client to reset the document view (e.g., clear a form).
206Partial ContentThe server is returning only part of the resource (range request).
207Multi-StatusProvides status for multiple independent operations (WebDAV).
208Already ReportedMembers of a DAV binding were already listed in a previous reply (WebDAV).
226IM UsedThe server fulfilled a GET request and the response is a result of one or more instance manipulations.

3xx — Redirection

Further action is needed to complete the request. Usually the client must follow a redirect.

CodeNameDescription
300Multiple ChoicesMultiple options are available; the user or user-agent should choose one.
301Moved PermanentlyThe resource has a new permanent URL. Future requests should use the new URL.
302FoundThe resource is temporarily at a different URI. Continue using the original URL.
303See OtherThe response can be found at another URI using a GET request (used after POST/PUT/DELETE).
304Not ModifiedThe cached version is still valid; the client can use its cached copy.
307Temporary RedirectSame as 302 but the method must not change (e.g., POST stays POST).
308Permanent RedirectSame as 301 but the method must not change. The new URL should be used permanently.

4xx — Client Errors

The request contains bad syntax or cannot be fulfilled by the server. The client made an error.

CodeNameDescription
400Bad RequestThe server cannot process the request due to malformed syntax or invalid parameters.
401UnauthorizedAuthentication is required and has failed or not been provided. Must include a WWW-Authenticate header.
402Payment RequiredReserved for future use; sometimes used by APIs that require payment.
403ForbiddenThe server understood the request but refuses to authorise it. Re-authenticating won't help.
404Not FoundThe server cannot find the requested resource. The URL may be wrong or the resource may not exist.
405Method Not AllowedThe HTTP method used is not supported for this endpoint (e.g., POST on a read-only route).
406Not AcceptableThe server cannot produce a response matching the Accept headers sent by the client.
407Proxy Authentication RequiredThe client must authenticate with the proxy first.
408Request TimeoutThe server timed out waiting for the client to send the full request.
409ConflictThe request conflicts with the current state of the resource (e.g., duplicate key, version mismatch).
410GoneThe resource is permanently gone and will not be available again. More definitive than 404.
411Length RequiredThe server requires a Content-Length header.
412Precondition FailedA condition in the request headers evaluated to false on the server.
413Content Too LargeThe request body is larger than the server is willing to process.
414URI Too LongThe request URI is longer than the server is willing to interpret.
415Unsupported Media TypeThe request body is in a format the server does not support (check Content-Type).
416Range Not SatisfiableThe range specified in the Range header cannot be fulfilled.
417Expectation FailedThe server cannot meet the requirements of the Expect header.
418I'm a teapotThe server refuses to brew coffee because it is a teapot. (RFC 2324 — an April Fools' joke, but real.)
421Misdirected RequestThe request was directed at a server unable to produce a response for that combination of scheme and authority.
422Unprocessable ContentThe request is well-formed but has semantic errors (e.g., validation failure). Common in REST APIs.
423LockedThe resource is locked (WebDAV).
424Failed DependencyThe request failed due to failure of a previous request (WebDAV).
425Too EarlyThe server is unwilling to process a request that might be replayed.
426Upgrade RequiredThe client must switch to a different protocol (e.g., TLS).
428Precondition RequiredThe server requires the request to be conditional to prevent 'lost update' problems.
429Too Many RequestsThe client has sent too many requests in a given time window (rate limiting).
431Request Header Fields Too LargeThe server is unwilling to process the request because headers are too large.
451Unavailable For Legal ReasonsThe resource is unavailable due to legal reasons (e.g., censorship, court order).

5xx — Server Errors

The server failed to fulfil a valid request. The error is on the server side.

CodeNameDescription
500Internal Server ErrorA generic error occurred on the server. Check server logs for details.
501Not ImplementedThe server does not support the functionality required to fulfil the request.
502Bad GatewayThe server, acting as a gateway or proxy, received an invalid response from the upstream server.
503Service UnavailableThe server is not ready to handle requests — overloaded or down for maintenance.
504Gateway TimeoutThe gateway did not receive a timely response from the upstream server.
505HTTP Version Not SupportedThe HTTP version used in the request is not supported.
506Variant Also NegotiatesTransparent content negotiation for the request results in a circular reference.
507Insufficient StorageThe server is unable to store the representation needed to complete the request (WebDAV).
508Loop DetectedThe server detected an infinite loop while processing the request (WebDAV).
510Not ExtendedFurther extensions to the request are required.
511Network Authentication RequiredThe client needs to authenticate to gain network access (e.g., captive portals).
Related guidesAll guides →