Skip to content

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).

    RFC 9110, Section 15.2.1

  • 101Switching Protocols

    The server is switching to the protocol named in the Upgrade header (for example, WebSocket).

    RFC 9110, Section 15.2.2

  • 102Processing

    WebDAV: the server has accepted the request but has not completed it yet. Not defined in RFC 4918.

    RFC 2518

  • 103Early Hints

    Sends headers (such as Link: rel=preload) before the final response so the client can start preloading.

    RFC 8297

  • 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).

    RFC 9110, Section 15.3.1

  • 201Created

    The request succeeded and created one or more resources, usually identified by the Location header.

    RFC 9110, Section 15.3.2

  • 202Accepted

    The request has been accepted for processing, but the processing has not been completed.

    RFC 9110, Section 15.3.3

  • 203Non-Authoritative Information

    The request succeeded, but a transforming proxy modified the content from the origin server's 200 response.

    RFC 9110, Section 15.3.4

  • 204No Content

    The request succeeded and there is no content to send in the response body.

    RFC 9110, Section 15.3.5

  • 205Reset Content

    The request succeeded and the client should reset the document view (for example, clear a form).

    RFC 9110, Section 15.3.6

  • 206Partial Content

    The server is returning only the parts requested with the Range header.

    RFC 9110, Section 15.3.7

  • 207Multi-Status

    WebDAV: the body contains separate statuses for multiple resources or properties (for example, 200 and 404 for different properties in one PROPFIND).

    RFC 4918

  • 208Already Reported

    WebDAV: members of a binding have already been listed earlier in the same response and are not repeated.

    RFC 5842

  • 226IM Used

    The server applied instance manipulations (delta encoding) to the current instance of the resource.

    RFC 3229

3xx Redirection

  • 300Multiple Choices

    The target resource has multiple representations and the client can choose one.

    RFC 9110, Section 15.4.1

  • 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).

    RFC 9110, Section 15.4.2

  • 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).

    RFC 9110, Section 15.4.3

  • 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).

    RFC 9110, Section 15.4.4

  • 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.

    RFC 9110, Section 15.4.5

  • 305Use Proxy

    Deprecated. Previously told the client to access the resource through a proxy.

    RFC 9110, Section 15.4.6

  • 306(Unused)

    Used in a previous version of the specification and no longer used. The code is reserved.

    RFC 9110, Section 15.4.7

  • 307Temporary Redirect

    The resource is temporarily at the URI in Location. The client must not change the request method.

    RFC 9110, Section 15.4.8

  • 308Permanent Redirect

    The resource has permanently moved to the URI in Location. The client must not change the request method.

    RFC 9110, Section 15.4.9

4xx Client Error

  • 400Bad Request

    The server cannot process the request because of a client error (malformed syntax, invalid framing, etc.).

    RFC 9110, Section 15.5.1

  • 401Unauthorized

    The request lacks valid authentication credentials. The response includes WWW-Authenticate with the accepted schemes.

    RFC 9110, Section 15.5.2

  • 402Payment Required

    Reserved for future use.

    RFC 9110, Section 15.5.3

  • 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).

    RFC 9110, Section 15.5.4

  • 404Not Found

    The server did not find a current representation of the target resource, or will not disclose that one exists.

    RFC 9110, Section 15.5.5

  • 405Method Not Allowed

    The method is not supported by the target resource. The response includes Allow with the supported methods.

    RFC 9110, Section 15.5.6

  • 406Not Acceptable

    No representation matches the request's proactive negotiation headers (Accept, Accept-Language, and so on).

    RFC 9110, Section 15.5.7

  • 407Proxy Authentication Required

    Like 401, but the client must authenticate with the proxy (Proxy-Authenticate).

    RFC 9110, Section 15.5.8

  • 408Request Timeout

    The server did not receive a complete request within the time it was prepared to wait (request timeout).

    RFC 9110, Section 15.5.9

  • 409Conflict

    The request conflicts with the current state of the target resource (for example, an edit conflict between versions).

    RFC 9110, Section 15.5.10

  • 410Gone

    The resource is no longer available at the server and the condition is likely permanent.

    RFC 9110, Section 15.5.11

  • 411Length Required

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

    RFC 9110, Section 15.5.12

  • 412Precondition Failed

    One or more conditions in the request headers (If-Match, If-Unmodified-Since, etc.) evaluated to false.

    RFC 9110, Section 15.5.13

  • 413Content Too Large

    The request content is larger than the server is willing or able to process.

    RFC 9110, Section 15.5.14

  • 414URI Too Long

    The target URI is longer than the server is willing to interpret.

    RFC 9110, Section 15.5.15

  • 415Unsupported Media Type

    The content is in a format (Content-Type or Content-Encoding) that the target resource does not support.

    RFC 9110, Section 15.5.16

  • 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.

    RFC 9110, Section 15.5.17

  • 417Expectation Failed

    The expectation in the Expect header cannot be met by at least one of the inbound servers.

    RFC 9110, Section 15.5.18

  • 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.

    RFC 9110, Section 15.5.19

  • 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).

    RFC 9110, Section 15.5.20

  • 422Unprocessable Content

    The content type and syntax are correct, but the server cannot process the contained instructions (for example, a validation error).

    RFC 9110, Section 15.5.21

  • 423Locked

    WebDAV: the source or destination resource is locked.

    RFC 4918

  • 424Failed Dependency

    WebDAV: the method could not be performed because a requested action it depended on failed.

    RFC 4918

  • 425Too Early

    The server is unwilling to process a request that might be replayed (sent as TLS 1.3 early data).

    RFC 8470

  • 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.

    RFC 9110, Section 15.5.22

  • 428Precondition Required

    The server requires the request to be conditional (for example, If-Match), typically to prevent lost updates.

    RFC 6585

  • 429Too Many Requests

    The client has sent too many requests in a given time (rate limiting). Retry-After may say when to retry.

    RFC 6585

  • 431Request Header Fields Too Large

    The server refuses the request because a header field, or all the header fields together, are too large.

    RFC 6585

  • 451Unavailable For Legal Reasons

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

    RFC 7725

5xx Server Error

  • 500Internal Server Error

    The server encountered an unexpected condition that prevented it from fulfilling the request.

    RFC 9110, Section 15.6.1

  • 501Not Implemented

    The server does not support the functionality required to fulfill the request (for example, an unknown method).

    RFC 9110, Section 15.6.2

  • 502Bad Gateway

    The server, acting as a gateway or proxy, received an invalid response from the upstream server.

    RFC 9110, Section 15.6.3

  • 503Service Unavailable

    The server is temporarily unable to handle the request (overload or maintenance). Retry-After may be sent.

    RFC 9110, Section 15.6.4

  • 504Gateway Timeout

    The server, acting as a gateway or proxy, did not receive a timely response from the upstream server (upstream timeout).

    RFC 9110, Section 15.6.5

  • 505HTTP Version Not Supported

    The server does not support the major version of HTTP used in the request.

    RFC 9110, Section 15.6.6

  • 506Variant Also Negotiates

    Transparent content negotiation: the chosen variant is itself configured to negotiate, causing a loop.

    RFC 2295

  • 507Insufficient Storage

    WebDAV: the server cannot store the representation needed to complete the request.

    RFC 4918

  • 508Loop Detected

    WebDAV: the server detected an infinite loop while processing a request with Depth: infinity.

    RFC 5842

  • 510Not Extended (OBSOLETED)

    Obsoleted. Defined by the HTTP Extension Framework, which was moved to Historic.

    RFC 2774; status-change-http-experiments-to-historic

  • 511Network Authentication Required

    The client needs to authenticate to gain network access (for example, a captive portal on public Wi-Fi).

    RFC 6585

More tools in Network