HTTP Status Codes
Your data never leaves your browserComplete reference for all HTTP status codes. Search, filter by category, and copy any code instantly.
- 100Continue1xx
The server has received the request headers. The client should proceed to send the request body.
- 101Switching Protocols1xx
The server is switching protocols as requested by the client, e.g. upgrading to WebSocket.
- 102Processing1xx
The server has received and is processing the request, but no response is available yet.
- 103Early Hints1xx
Used to return some response headers before the final HTTP message, allowing preloading of resources.
- 200OK2xx
The request succeeded. The response body contains the requested resource or result.
- 201Created2xx
The request succeeded and a new resource was created. Typically returned after POST.
- 202Accepted2xx
The request has been accepted for processing but has not been completed yet.
- 203Non-Authoritative Information2xx
The returned metadata was collected from a local or third-party copy, not from the origin server.
- 204No Content2xx
The request succeeded but there is no content to return. Common for DELETE and some PUT requests.
- 205Reset Content2xx
The request succeeded. The client should reset the document view, e.g. clear a form.
- 206Partial Content2xx
The server is delivering only part of the resource due to a Range header in the request.
- 207Multi-Status2xx
A WebDAV response that conveys information about multiple resources and operations.
- 208Already Reported2xx
Used in WebDAV to avoid enumerating the same bindings multiple times in a response.
- 226IM Used2xx
The server has fulfilled a GET request and the response is the result of one or more instance manipulations.
- 300Multiple Choices3xx
The request has more than one possible response. The user or user agent should choose one.
- 301Moved Permanently3xx
The URL has permanently changed. The new URL is given in the Location header. Search engines update their index.
- 302Found3xx
The URL has temporarily changed. The client should continue using the original URL for future requests.
- 303See Other3xx
The response to the request can be found at another URL using GET, often used after a POST.
- 304Not Modified3xx
The cached version of the resource is still valid. The client can use the cached copy.
- 305Use Proxy3xx
Deprecated. The requested resource must be accessed through a proxy.
- 307Temporary Redirect3xx
The URL has temporarily changed. The client must use the same HTTP method for the redirect request.
- 308Permanent Redirect3xx
The URL has permanently changed. The client must use the same HTTP method for all future requests.
- 400Bad Request4xx
The server cannot process the request due to malformed syntax, invalid request message, or deceptive routing.
- 401Unauthorized4xx
Authentication is required and has failed or has not been provided. The client must authenticate to get the resource.
- 402Payment Required4xx
Reserved for future use. Some APIs use it to indicate a payment or quota limit has been reached.
- 403Forbidden4xx
The server understood the request but refuses to authorize it. Unlike 401, re-authenticating will not help.
- 404Not Found4xx
The server cannot find the requested resource. The URL is not recognized or the resource does not exist.
- 405Method Not Allowed4xx
The HTTP method used is not supported for this resource. The Allow header lists supported methods.
- 406Not Acceptable4xx
The server cannot produce a response matching the list of acceptable values in the request's Accept headers.
- 407Proxy Authentication Required4xx
The client must first authenticate with the proxy server before this request can be served.
- 408Request Timeout4xx
The server timed out waiting for the request. The client should send the request again.
- 409Conflict4xx
The request conflicts with the current state of the server, e.g. a duplicate resource or edit conflict.
- 410Gone4xx
The resource has been permanently deleted and will not be available again. Clients should remove cached links.
- 411Length Required4xx
The request did not specify the Content-Length, which is required by the server.
- 412Precondition Failed4xx
The server does not meet one of the preconditions specified in the request headers (If-Match, If-None-Match, etc.).
- 413Content Too Large4xx
The request body is larger than the server is willing or able to process.
- 414URI Too Long4xx
The URI provided in the request is too long for the server to process.
- 415Unsupported Media Type4xx
The media format of the requested data is not supported by the server.
- 416Range Not Satisfiable4xx
The range specified by the Range header in the request cannot be fulfilled by the server.
- 417Expectation Failed4xx
The expectation indicated in the Expect request header cannot be met by the server.
- 418I'm a Teapot4xx
An April Fools joke in RFC 2324. Some APIs use it humorously for intentionally unsupported operations.
- 421Misdirected Request4xx
The request was directed at a server that is not able to produce a response.
- 422Unprocessable Content4xx
The request is well-formed but contains semantic errors, e.g. a validation error in a REST API body.
- 423Locked4xx
The resource that is being accessed is locked. Used in WebDAV.
- 424Failed Dependency4xx
The request failed because it depended on another request that also failed. Used in WebDAV.
- 425Too Early4xx
The server is unwilling to risk processing a request that might be replayed (related to TLS early data).
- 426Upgrade Required4xx
The client should switch to a different protocol, such as TLS/1.0.
- 428Precondition Required4xx
The origin server requires the request to be conditional to prevent the lost-update problem.
- 429Too Many Requests4xx
The client has sent too many requests in a given amount of time. Rate limiting is in effect.
- 431Request Header Fields Too Large4xx
The server refuses to process the request because the header fields are too large.
- 451Unavailable For Legal Reasons4xx
The resource is unavailable due to a legal demand, such as a government-issued takedown or geo-restriction.
- 500Internal Server Error5xx
The server encountered an unexpected condition that prevented it from fulfilling the request.
- 501Not Implemented5xx
The HTTP method is not supported by the server and cannot be handled.
- 502Bad Gateway5xx
The server, acting as a gateway or proxy, received an invalid response from the upstream server.
- 503Service Unavailable5xx
The server is not ready to handle the request, typically due to maintenance or overloading.
- 504Gateway Timeout5xx
The server, acting as a gateway or proxy, did not receive a timely response from the upstream server.
- 505HTTP Version Not Supported5xx
The HTTP version used in the request is not supported by the server.
- 506Variant Also Negotiates5xx
Transparent content negotiation for the request results in a circular reference.
- 507Insufficient Storage5xx
The server is unable to store the representation needed to complete the request. Used in WebDAV.
- 508Loop Detected5xx
The server detected an infinite loop while processing the request. Used in WebDAV.
- 510Not Extended5xx
Further extensions to the request are required for the server to fulfil it.
- 511Network Authentication Required5xx
The client needs to authenticate to gain network access, e.g. a captive portal on public Wi-Fi.
Share this tool
Found it useful? Help a fellow developer discover it.