All HTTP status codes

Every standard HTTP status code, what it means in plain English, and how to fix it when something goes wrong.

1xx Informational

2xx Success

3xx Redirection

4xx Client Error

400
Bad Request
The server could not understand the request due to a problem on the client side.
401
Unauthorized
Authentication is required and either missing or invalid.
402
Payment Required
Payment is required to access this resource.
403
Forbidden
The server understood the request but refuses to authorize it.
404
Not Found
The server could not find the requested page.
405
Method Not Allowed
The HTTP method is not allowed for this resource.
406
Not Acceptable
The server cannot produce a response matching the client's accept headers.
407
Proxy Authentication Required
Authentication is required for the proxy server.
408
Request Timeout
The server timed out waiting for the request.
409
Conflict
The request conflicts with the current state of the server.
410
Gone
The resource is permanently gone and will not return.
411
Length Required
The server requires a Content-Length header.
412
Precondition Failed
A precondition in the request headers was not met.
413
Payload Too Large
The request body is larger than the server is willing to process.
414
URI Too Long
The URL is longer than the server is willing to interpret.
415
Unsupported Media Type
The server does not support the media type of the request.
416
Range Not Satisfiable
The requested byte range cannot be served.
417
Expectation Failed
The server cannot meet the requirements of the Expect header.
418
I'm a teapot
The server refuses to brew coffee because it is a teapot.
421
Misdirected Request
The request was directed to a server that cannot produce a response.
422
Unprocessable Entity
The request was well-formed but contained semantic errors.
423
Locked
The resource is locked and cannot be modified.
424
Failed Dependency
The request failed because of a previous failed request.
425
Too Early
The server is unwilling to risk processing a request that might be replayed.
426
Upgrade Required
The client must upgrade to a different protocol.
428
Precondition Required
The server requires the request to be conditional.
429
Too Many Requests
The client has sent too many requests in a given time period.
431
Request Header Fields Too Large
The request headers are too large for the server to process.
451
Unavailable For Legal Reasons
The resource is unavailable due to legal restrictions.

5xx Server Error