HTTP Status Codes
Search the HTTP status codes in the IANA registry by code or keyword, with their meaning and the defining RFC.
Codes registered in the IANA HTTP Status Code Registry. Descriptions follow RFC 9110 and the listed specs.
64 status codes
1xx Informational
- 100Continue
The initial part of the request has been received; the client should continue sending the body (reply to Expect: 100-continue).
- 101Switching Protocols
The server is switching to the protocol named in the Upgrade header (for example, WebSocket).
- 102Processing
WebDAV: the server has accepted the request but has not completed it yet. Not defined in RFC 4918.
- 103Early Hints
Sends headers (such as Link: rel=preload) before the final response so the client can start preloading.
- 104Upload Resumption Supported
Indicates that the server supports resumable uploads for this request. Registered temporarily.
draft-ietf-httpbis-resumable-upload (temporary registration)
2xx Successful
- 200OK
The request succeeded. The content depends on the method (for GET, the target resource).
- 201Created
The request succeeded and created one or more resources, usually identified by the Location header.
- 202Accepted
The request has been accepted for processing, but the processing has not been completed.
- 203Non-Authoritative Information
The request succeeded, but a transforming proxy modified the content from the origin server's 200 response.
- 204No Content
The request succeeded and there is no content to send in the response body.
- 205Reset Content
The request succeeded and the client should reset the document view (for example, clear a form).
- 206Partial Content
The server is returning only the parts requested with the Range header.
- 207Multi-Status
WebDAV: the body contains separate statuses for multiple resources or properties (for example, 200 and 404 for different properties in one PROPFIND).
- 208Already Reported
WebDAV: members of a binding have already been listed earlier in the same response and are not repeated.
- 226IM Used
The server applied instance manipulations (delta encoding) to the current instance of the resource.
3xx Redirection
- 300Multiple Choices
The target resource has multiple representations and the client can choose one.
- 301Moved Permanently
The resource has permanently moved to the URI in Location. Clients may change POST to GET when following it (use 308 to keep the method).
- 302Found
The resource is temporarily at the URI in Location. Clients may change POST to GET when following it (use 307 to keep the method).
- 303See Other
Redirects to another resource at the URI in Location as an indirect response to the request; the client can retrieve it with GET or HEAD (for example, a result page after a POST).
- 304Not Modified
The condition of a conditional GET or HEAD (If-None-Match / If-Modified-Since) evaluated to false, so the representation is not sent again; typically the client's cached copy is still current.
- 305Use Proxy
Deprecated. Previously told the client to access the resource through a proxy.
- 306(Unused)
Used in a previous version of the specification and no longer used. The code is reserved.
- 307Temporary Redirect
The resource is temporarily at the URI in Location. The client must not change the request method.
- 308Permanent Redirect
The resource has permanently moved to the URI in Location. The client must not change the request method.
4xx Client Error
- 400Bad Request
The server cannot process the request because of a client error (malformed syntax, invalid framing, etc.).
- 401Unauthorized
The request lacks valid authentication credentials. The response includes WWW-Authenticate with the accepted schemes.
- 402Payment Required
Reserved for future use.
- 403Forbidden
The server understood the request but refuses to fulfill it. If credentials were sent, they are insufficient: do not automatically repeat the request with the same credentials (new or different credentials may succeed).
- 404Not Found
The server did not find a current representation of the target resource, or will not disclose that one exists.
- 405Method Not Allowed
The method is not supported by the target resource. The response includes Allow with the supported methods.
- 406Not Acceptable
No representation matches the request's proactive negotiation headers (Accept, Accept-Language, and so on).
- 407Proxy Authentication Required
Like 401, but the client must authenticate with the proxy (Proxy-Authenticate).
- 408Request Timeout
The server did not receive a complete request within the time it was prepared to wait (request timeout).
- 409Conflict
The request conflicts with the current state of the target resource (for example, an edit conflict between versions).
- 410Gone
The resource is no longer available at the server and the condition is likely permanent.
- 411Length Required
The server refuses the request without a Content-Length header.
- 412Precondition Failed
One or more conditions in the request headers (If-Match, If-Unmodified-Since, etc.) evaluated to false.
- 413Content Too Large
The request content is larger than the server is willing or able to process.
- 414URI Too Long
The target URI is longer than the server is willing to interpret.
- 415Unsupported Media Type
The content is in a format (Content-Type or Content-Encoding) that the target resource does not support.
- 416Range Not Satisfiable
None of the ranges in the Range header overlap the current extent of the selected representation, or the ranges were rejected as invalid or as too many small or overlapping ranges.
- 417Expectation Failed
The expectation in the Expect header cannot be met by at least one of the inbound servers.
- 418(Unused)
Reserved because of its use as "I'm a teapot" (RFC 2324, an April Fools' joke). It cannot be assigned until widely deployed uses stop.
- 421Misdirected Request
The request was directed at a server that cannot produce a response for this target URI (for example, a reused connection for another host).
- 422Unprocessable Content
The content type and syntax are correct, but the server cannot process the contained instructions (for example, a validation error).
- 423Locked
WebDAV: the source or destination resource is locked.
- 424Failed Dependency
WebDAV: the method could not be performed because a requested action it depended on failed.
- 425Too Early
The server is unwilling to process a request that might be replayed (sent as TLS 1.3 early data).
- 426Upgrade Required
The server refuses to process the request with the current protocol but might do so after the client switches to the protocol given in the Upgrade header.
- 428Precondition Required
The server requires the request to be conditional (for example, If-Match), typically to prevent lost updates.
- 429Too Many Requests
The client has sent too many requests in a given time (rate limiting). Retry-After may say when to retry.
- 431Request Header Fields Too Large
The server refuses the request because a header field, or all the header fields together, are too large.
- 451Unavailable For Legal Reasons
The server denies access to the resource as a consequence of a legal demand.
5xx Server Error
- 500Internal Server Error
The server encountered an unexpected condition that prevented it from fulfilling the request.
- 501Not Implemented
The server does not support the functionality required to fulfill the request (for example, an unknown method).
- 502Bad Gateway
The server, acting as a gateway or proxy, received an invalid response from the upstream server.
- 503Service Unavailable
The server is temporarily unable to handle the request (overload or maintenance). Retry-After may be sent.
- 504Gateway Timeout
The server, acting as a gateway or proxy, did not receive a timely response from the upstream server (upstream timeout).
- 505HTTP Version Not Supported
The server does not support the major version of HTTP used in the request.
- 506Variant Also Negotiates
Transparent content negotiation: the chosen variant is itself configured to negotiate, causing a loop.
- 507Insufficient Storage
WebDAV: the server cannot store the representation needed to complete the request.
- 508Loop Detected
WebDAV: the server detected an infinite loop while processing a request with Depth: infinity.
- 510Not Extended (OBSOLETED)
Obsoleted. Defined by the HTTP Extension Framework, which was moved to Historic.
- 511Network Authentication Required
The client needs to authenticate to gain network access (for example, a captive portal on public Wi-Fi).