Web Status Code Guides
1xx Informational Responses:
100 Continue: The server acknowledges the initial part of the request and asks the client to proceed with the rest.
101 Switching Protocols: The server confirms that the client should switch to a different protocol.
2xx Successful Responses:
200 OK: The request was successful, and the server returns the requested resource.
201 Created: The request was successful, and a new resource was created as a result.
202 Accepted: The server has accepted the request but has not yet completed it.
203 Non-Authoritative Information: The server successfully processed the request but is returning information from a different source.
204 No Content: The request was successful, but there is no content to return.
205 Reset Content: The server asks the client to reset the document view that sent the request.
206 Partial Content: The server successfully fulfills a partial GET request.
3xx Redirection Messages:
300 Multiple Choices: The requested resource has multiple choices available, each with its own URI and response.
301 Moved Permanently: The requested resource has been permanently moved to a new location.
302 Found: The requested resource has been temporarily moved to a different location.
303 See Other: The server sends a response to redirect the client to another URI.
304 Not Modified: The requested resource has not been modified since the last request.
307 Temporary Redirect: The requested resource is temporarily located at a different URI.
308 Permanent Redirect: The requested resource has permanently moved to a different URI.
4xx Client Error Responses:
400 Bad Request: The server cannot process the request due to invalid syntax or parameters.
401 Unauthorized: The client must authenticate itself to access the requested resource.
402 Payment Required: Reserved for future use.
403 Forbidden: The server refuses to fulfill the request, even with authentication.
404 Not Found: The requested resource could not be found on the server.
405 Method Not Allowed: The requested HTTP method is not allowed for the resource.
406 Not Acceptable: The server cannot produce a response matching the client's requested characteristics.
407 Proxy Authentication Required: The client must authenticate with the proxy before the request can be served.
408 Request Timeout: The server timed out waiting for the request.
409 Conflict: The request conflicts with the server's current state or another request.
410 Gone: The requested resource is no longer available and will not be available again.
411 Length Required: The server requires a content length for the request.
412 Precondition Failed: One or more conditions given in the request header fields evaluated to false.
413 Payload Too Large: The server rejects the request because the payload is too large.
414 URI Too Long: The server rejects the request because the URI is too long.
415 Unsupported Media Type: The server does not support the request's media type.
416 Range Not Satisfiable: The server cannot fulfill the request's byte range.
417 Expectation Failed: The server cannot meet the requirements of the "Expect" request header field.
418 I'm a Teapot: This code is defined in jest and is not intended to be used seriously.
421 Misdirected Request: The server is unable to produce a response due to a misdirected request.
422 Unprocessable Entity: The server understands the content type of the request entity but cannot process it.
423 Locked: The requested resource is locked and is not available for access.
424 Failed Dependency: The request failed because it relied on another request that failed.
425 Too Early: The server is unwilling to risk processing a request that might be replayed.
426 Upgrade Required: The server refuses to perform the request using the current protocol but may be willing to do so after upgrading.
428 Precondition Required: The server requires the request to be conditional.
429 Too Many Requests: The user has sent too many requests in a given amount of time.
431 Request Header Fields Too Large: The server refuses to process a request because the request header fields are too large.
451 Unavailable For Legal Reasons: The server is denying access to the resource as a consequence of legal demand.
5xx Server Error Responses:
500 Internal Server Error: An unexpected error occurred on the server.
501 Not Implemented: The server does not recognize or support the functionality required to fulfill the request.
502 Bad Gateway: The server acting as a gateway or proxy received an invalid response from an upstream server.
503 Service Unavailable: The server is temporarily unable to handle the request due to maintenance or overload.
504 Gateway Timeout: The server acting as a gateway or proxy did not receive a timely response from an upstream server.
505 HTTP Version Not Supported: The server does not support the HTTP protocol version used in the request.
506 Variant Also Negotiates: The server has an internal configuration error.
507 Insufficient Storage: The server is unable to store the representation needed to complete the request.
508 Loop Detected: The server detected an infinite loop while processing the request.
510 Not Extended: Further extensions to the request are required for the server to fulfill it.
511 Network Authentication Required: The client needs to authenticate to gain network access.
Last updated