Back to Home

HTTP Status Codes

Complete reference guide to HTTP status codes and their meanings.

49 Status Codes

2xx Success Codes (5)

3xx Redirect Codes (5)

4xx Client Error Codes (28)

400
Bad Request

The server cannot process the request due to invalid syntax or malformed request.

402
Payment Required

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

401
Unauthorized

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

403
Forbidden

The server understood the request but refuses to authorize it.

404
Not Found

The server can not find the requested resource.

405
Method Not Allowed

The request method is not supported for the requested resource.

406
Not Acceptable

The server cannot produce a response matching the list of acceptable values.

407
Proxy Authentication Required

Authentication is required to access the proxy server.

409
Conflict

The request could not be completed due to a conflict with the current state of the resource.

411
Length Required

The server refuses to accept the request without a defined Content-Length header.

412
Precondition Failed

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

408
Request Timeout

The server timed out waiting for the request.

410
Gone

The requested resource is no longer available and will not be available again.

413
Payload Too Large

The request entity is larger than limits defined by the server.

414
URI Too Long

The URI provided was too long for the server to process.

415
Unsupported Media Type

The media format of the requested data is not supported by the server.

416
Range Not Satisfiable

The range specified in the request's Range header field cannot be fulfilled.

417
Expectation Failed

The expectation given in the request's Expect header field could not be met by the server.

418
I'm a teapot

This is a joke status code from RFC 2324. It indicates that the server refuses to brew coffee because it is a teapot.

421
Misdirected Request

The request was directed at a server that is not able to produce a response.

422
Unprocessable Entity

The request was well-formed but contains semantic errors.

423
Locked

The resource that is being accessed is locked.

424
Failed Dependency

The request failed because it depended on another request that failed.

426
Upgrade Required

The server refuses to perform the request using the current protocol.

428
Precondition Required

The origin server requires the request to be conditional.

431
Request Header Fields Too Large

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

429
Too Many Requests

The user has sent too many requests in a given amount of time.

451
Unavailable For Legal Reasons

The server is denying access to the resource as a consequence of a legal demand.

5xx Server Error Codes (11)