HTTP Status Codes List

Every HTTP response carries a three-digit status code. The first digit tells you the class of response; the rest identifies the exact outcome. Select a code for its meaning, common causes, and how to return it from your server. You can also search them all in the HTTP Status Codes tool.

1xx Informational

Informational responses: the request was received and processing continues.

2xx Success

Success: the request was received, understood, and accepted.

3xx Redirection

Redirection: the client must take additional action, usually requesting a different URL.

4xx Client Errors

Client errors: the request is malformed, unauthorized, or targets something that does not exist.

400 Bad Request

The server cannot or will not process the request due to a client error.

401 Unauthorized

Authentication is required and has either failed or not been provided.

402 Payment Required

Reserved for future use. Originally intended for digital payment systems.

403 Forbidden

The server understood the request but refuses to authorize it.

404 Not Found

The server cannot find the requested resource. The most common error on the web.

405 Method Not Allowed

The request HTTP method is not allowed for the target resource.

406 Not Acceptable

The resource cannot generate content matching the Accept headers sent by the client.

407 Proxy Authentication Required

The client must first authenticate itself with the proxy.

408 Request Timeout

The server timed out waiting for the request from the client.

409 Conflict

The request conflicts with the current state of the target resource.

410 Gone

The resource has been permanently removed and will not be available again.

411 Length Required

The server requires a Content-Length header in the request.

412 Precondition Failed

One or more conditions in the request header fields evaluated to false.

413 Content Too Large

The request body is larger than the server is willing or able to process.

414 URI Too Long

The request URI is longer than the server is willing to interpret.

415 Unsupported Media Type

The request payload format is not supported by the server for the target resource.

416 Range Not Satisfiable

The byte range requested cannot be fulfilled.

417 Expectation Failed

The Expect header in the request cannot be met by the server.

418 I'm a Teapot

The server refuses to brew coffee because it is, permanently, a teapot. (RFC 2324)

421 Misdirected Request

The request was directed at a server that cannot produce a response.

422 Unprocessable Content

The request was well-formed but semantically erroneous (WebDAV / RFC 4918).

423 Locked

The resource that is being accessed is locked (WebDAV).

424 Failed Dependency

The request failed because it depended on another request that failed (WebDAV).

425 Too Early

The server is unwilling to risk processing a request that might be replayed.

426 Upgrade Required

The client should switch to a different protocol (e.g., TLS 1.3).

428 Precondition Required

The origin server requires the request to be conditional (RFC 6585).

429 Too Many Requests

The client has sent too many requests in a given amount of time (rate limiting).

431 Request Header Fields Too Large

The server is unwilling to process the request because individual header fields are too large.

451 Unavailable For Legal Reasons

The resource is blocked due to legal demands (censorship).

5xx Server Errors

Server errors: the server failed to fulfil an apparently valid request.