HTTP Status Codes
Complete reference of all HTTP status codes — 1xx informational, 2xx success, 3xx redirection, 4xx client errors, and 5xx server errors. Searchable with descriptions.
Complete reference of all HTTP status codes — 1xx informational, 2xx success, 3xx redirection, 4xx client errors, and 5xx server errors. Searchable with descriptions.
Continue
The server has received the request headers and the client should proceed to send the request body.
Switching Protocols
The server agrees to switch protocols as requested by the client (e.g. to WebSocket).
Processing
The server has received and is processing the request but no response is available yet (WebDAV).
Early Hints
Used to return some response headers before the final HTTP message, allowing a browser to preload resources.
OK
The request has succeeded. The meaning depends on the HTTP method used.
Created
The request has been fulfilled and a new resource has been created.
Accepted
The request has been accepted for processing but the processing has not been completed.
Non-Authoritative Information
The returned metadata is not exactly the same as available from the origin server, but collected from a local or third-party copy.
No Content
The server successfully processed the request and is not returning any content.
Reset Content
The server processed the request successfully and asks the client to reset the document view.
Partial Content
The server is delivering only part of the resource due to a range request from the client.
Multi-Status
A WebDAV response that conveys information about multiple resources in situations where multiple status codes might be appropriate.
Already Reported
Used inside a WebDAV response element to avoid enumerating the internal members of multiple bindings to the same collection repeatedly.
IM Used
The server has fulfilled a GET request and the response is a representation of the result of one or more instance-manipulations applied to the current instance.
Multiple Choices
The request has more than one possible response. The user or browser should choose one.
Moved Permanently
The URL of the requested resource has been changed permanently. The new URL is given in the response.
Found
The URI of the requested resource has been changed temporarily. The client should continue to use the original URI.
See Other
The response to the request can be found under a different URI and should be retrieved using a GET method.
Not Modified
The resource has not been modified since the version specified in request headers. The client can use its cached version.
Temporary Redirect
The target resource resides temporarily under a different URI. Unlike 302, the method must not change.
Permanent Redirect
The resource is now permanently located at another URI. Unlike 301, the HTTP method must not change.
Bad Request
The server cannot or will not process the request due to a client error such as malformed syntax or invalid request message framing.
Unauthorized
Authentication is required. The client must authenticate itself to get the requested response.
Payment Required
Reserved for future use. Originally intended for digital payment systems, now sometimes used by APIs to signal quota exceeded.
Forbidden
The client does not have access rights to the content. Unlike 401, the client's identity is known but access is refused.
Not Found
The server cannot find the requested resource. The URL is not recognised.
Method Not Allowed
The HTTP method used is not supported for the requested resource.
Not Acceptable
The server cannot produce a response matching the criteria given by the client's Accept headers.
Proxy Authentication Required
Authentication is required by a proxy server between the client and the target server.
Request Timeout
The server timed out waiting for the request. The client may repeat the request without modifications.
Conflict
The request conflicts with the current state of the server, e.g. an edit conflict in a wiki.
Gone
The content has been permanently deleted from the server with no forwarding address. Unlike 404, this condition is permanent.
Length Required
The server refuses to accept the request without a defined Content-Length header.
Precondition Failed
One or more conditions given in the request header fields evaluated to false on the server.
Content Too Large
The request entity is larger than limits defined by the server.
URI Too Long
The URI requested by the client is longer than the server is willing to interpret.
Unsupported Media Type
The media format of the request data is not supported by the server.
Range Not Satisfiable
The range specified in the Range header field cannot be fulfilled.
Expectation Failed
The expectation indicated in the Expect request header field cannot be met by the server.
I'm a Teapot
Any attempt to brew coffee with a teapot should result in this code. An April Fools' joke in RFC 2324 that has become an easter egg in many APIs.
Misdirected Request
The request was directed at a server that is not able to produce a response for the combination of scheme and authority.
Unprocessable Content
The request was well-formed but could not be followed due to semantic errors — commonly returned for validation failures in APIs.
Locked
The resource that is being accessed is locked (WebDAV).
Failed Dependency
The request failed because it depended on another request and that request failed (WebDAV).
Too Early
The server is unwilling to risk processing a request that might be replayed, to prevent replay attacks.
Upgrade Required
The server refuses to perform the request using the current protocol but will do so after the client upgrades.
Precondition Required
The origin server requires the request to be conditional, to prevent lost updates.
Too Many Requests
The user has sent too many requests in a given amount of time (rate limiting).
Request Header Fields Too Large
The server is unwilling to process the request because its header fields are too large.
Unavailable For Legal Reasons
The user agent requested a resource that cannot legally be provided, such as a web page censored by a government.
Internal Server Error
The server encountered an unexpected condition that prevented it from fulfilling the request.
Not Implemented
The request method is not supported by the server and cannot be handled.
Bad Gateway
The server acting as a gateway received an invalid response from an upstream server.
Service Unavailable
The server is not ready to handle the request, often due to being down for maintenance or overloaded.
Gateway Timeout
The server acting as a gateway did not receive a timely response from an upstream server.
HTTP Version Not Supported
The HTTP version used in the request is not supported by the server.
Variant Also Negotiates
The server has an internal configuration error — transparent content negotiation for the request results in a circular reference.
Insufficient Storage
The server is unable to store the representation needed to complete the request (WebDAV).
Loop Detected
The server detected an infinite loop while processing the request (WebDAV).
Not Extended
Further extensions to the request are required for the server to fulfil it.
Network Authentication Required
The client needs to authenticate to gain network access, typically used by captive portals.