# Status codes

> HTTP status codes and how they compare.

Source: https://apiguide.dev/status-codes
Full text: https://apiguide.dev/llms/status-codes.txt

- [100 Continue](https://apiguide.dev/status-codes/100.md): The server has received the request headers and the client should proceed to send the request body.
- [101 Switching Protocols](https://apiguide.dev/status-codes/101.md): The server understands the Upgrade header field sent by the client and is switching protocols.
- [102 Processing](https://apiguide.dev/status-codes/102.md): The server has received and is processing the request, but no response is available yet.
- [103 Early Hints](https://apiguide.dev/status-codes/103.md): Allows the server to send link headers to prefetch resources while compiling the main response.
- [200 OK](https://apiguide.dev/status-codes/200.md): The request has succeeded. The response payload contains the requested resource representation.
- [201 Created](https://apiguide.dev/status-codes/201.md): The request has been fulfilled and has resulted in a new resource being created.
- [202 Accepted](https://apiguide.dev/status-codes/202.md): The request has been accepted for processing, but the processing has not been completed.
- [203 Non-Authoritative Information](https://apiguide.dev/status-codes/203.md): The server is a transforming proxy that received a 200 OK from its origin but is returning a modified payload.
- [204 No Content](https://apiguide.dev/status-codes/204.md): The request was successful, but the response body is intentionally empty.
- [205 Reset Content](https://apiguide.dev/status-codes/205.md): The server fulfilled the request and desires that the user agent reset the document view.
- [206 Partial Content](https://apiguide.dev/status-codes/206.md): The server is delivering only part of the resource due to a Range header sent by the client.
- [207 Multi-Status](https://apiguide.dev/status-codes/207.md): The response body contains multiple independent status codes for a batch of sub-operations.
- [208 Already Reported](https://apiguide.dev/status-codes/208.md): Used inside a 207 Multi-Status response to avoid repeatedly enumerating the same bound resource.
- [226 IM Used](https://apiguide.dev/status-codes/226.md): The server has fulfilled a request for the resource and the response represents the result of applying one or more instance manipulations.
- [300 Multiple Choices](https://apiguide.dev/status-codes/300.md): The request has more than one possible response and the user agent or user should choose one.
- [301 Moved Permanently](https://apiguide.dev/status-codes/301.md): The requested resource has been assigned a new permanent URI and future references should use it.
- [302 Found](https://apiguide.dev/status-codes/302.md): The requested resource resides temporarily under a different URI.
- [303 See Other](https://apiguide.dev/status-codes/303.md): Directs the client to get the requested resource at another URI using a GET request.
- [304 Not Modified](https://apiguide.dev/status-codes/304.md): Instructs the client that the cached version of the resource is still valid.
- [305 Use Proxy](https://apiguide.dev/status-codes/305.md): Deprecated. Indicated that the requested resource had to be accessed through the proxy given in the response.
- [306 Unused](https://apiguide.dev/status-codes/306.md): Reserved. Formerly defined as "Switch Proxy" in an early draft, this code was never used and is no longer part of the standard beyond being reserved.
- [307 Temporary Redirect](https://apiguide.dev/status-codes/307.md): The resource resides temporarily under a different URI. Method must not be changed.
- [308 Permanent Redirect](https://apiguide.dev/status-codes/308.md): The resource has been permanently moved. Method must not be changed.
- [400 Bad Request](https://apiguide.dev/status-codes/400.md): The server cannot process the request due to client error (e.g., malformed syntax, invalid framing).
- [401 Unauthorized](https://apiguide.dev/status-codes/401.md): The request lacks valid authentication credentials. The client must authenticate.
- [402 Payment Required](https://apiguide.dev/status-codes/402.md): Reserved for future use by RFC 9110. APIs use it when a request is valid but the account cannot pay for it.
- [403 Forbidden](https://apiguide.dev/status-codes/403.md): The client is authenticated but does not have access rights to the content.
- [404 Not Found](https://apiguide.dev/status-codes/404.md): The server cannot find the requested resource or URI route.
- [405 Method Not Allowed](https://apiguide.dev/status-codes/405.md): The requested URI exists, but the HTTP method used is not supported.
- [406 Not Acceptable](https://apiguide.dev/status-codes/406.md): The server cannot produce a response matching the Accept headers sent by the client.
- [407 Proxy Authentication Required](https://apiguide.dev/status-codes/407.md): The client must first authenticate itself with the proxy server.
- [408 Request Timeout](https://apiguide.dev/status-codes/408.md): The server timed out waiting for the client to complete the request.
- [409 Conflict](https://apiguide.dev/status-codes/409.md): The request conflicts with the current state of the target resource.
- [410 Gone](https://apiguide.dev/status-codes/410.md): The resource is permanently deleted and has no redirect address.
- [411 Length Required](https://apiguide.dev/status-codes/411.md): The server refuses to accept the request without a defined Content-Length header.
- [412 Precondition Failed](https://apiguide.dev/status-codes/412.md): One or more preconditions in the request headers evaluated to false.
- [413 Content Too Large](https://apiguide.dev/status-codes/413.md): The request body size exceeds the maximum limit allowed by the server.
- [414 URI Too Long](https://apiguide.dev/status-codes/414.md): The URI requested by the client is longer than the server is willing to interpret.
- [415 Unsupported Media Type](https://apiguide.dev/status-codes/415.md): The request payload media format is not supported by the server.
- [416 Range Not Satisfiable](https://apiguide.dev/status-codes/416.md): The requested byte range cannot be satisfied by the server.
- [417 Expectation Failed](https://apiguide.dev/status-codes/417.md): The server cannot meet the requirements of the Expect request header.
- [418 Unused](https://apiguide.dev/status-codes/418.md): Reserved. Defined as "I'm a teapot" in the April 1 joke RFC 2324, and reserved by RFC 9110 because the joke was deployed too widely to reassign.
- [421 Misdirected Request](https://apiguide.dev/status-codes/421.md): The request was directed at a server that is not able to produce a response.
- [422 Unprocessable Content](https://apiguide.dev/status-codes/422.md): The request body was syntactically correct but failed semantic business rules validation.
- [423 Locked](https://apiguide.dev/status-codes/423.md): The resource that is being accessed is locked.
- [424 Failed Dependency](https://apiguide.dev/status-codes/424.md): The request failed because it depended on another action that failed.
- [425 Too Early](https://apiguide.dev/status-codes/425.md): The server is unwilling to risk processing a request that might be replayed.
- [426 Upgrade Required](https://apiguide.dev/status-codes/426.md): The server refuses to perform the request using the current protocol.
- [428 Precondition Required](https://apiguide.dev/status-codes/428.md): The origin server requires the request to be conditional.
- [429 Too Many Requests](https://apiguide.dev/status-codes/429.md): The user has sent too many requests in a given amount of time.
- [431 Request Header Fields Too Large](https://apiguide.dev/status-codes/431.md): The server refuses to process the request because header fields are too large.
- [451 Unavailable For Legal Reasons](https://apiguide.dev/status-codes/451.md): The server operator has received a legal demand to deny access to the resource.
- [500 Internal Server Error](https://apiguide.dev/status-codes/500.md): The server encountered an unexpected condition that prevented it from fulfilling the request.
- [501 Not Implemented](https://apiguide.dev/status-codes/501.md): The server does not support the functionality required to fulfill the request.
- [502 Bad Gateway](https://apiguide.dev/status-codes/502.md): An upstream server returned an invalid response to the gateway proxy.
- [503 Service Unavailable](https://apiguide.dev/status-codes/503.md): The server is temporarily down or overloaded. The client should retry.
- [504 Gateway Timeout](https://apiguide.dev/status-codes/504.md): The upstream server failed to send a timely response to the gateway proxy.
- [505 HTTP Version Not Supported](https://apiguide.dev/status-codes/505.md): The server does not support the HTTP protocol version used in the request.
- [506 Variant Also Negotiates](https://apiguide.dev/status-codes/506.md): Content negotiation for the request results in a circular reference.
- [507 Insufficient Storage](https://apiguide.dev/status-codes/507.md): The server is unable to store the representation needed to complete the request.
- [508 Loop Detected](https://apiguide.dev/status-codes/508.md): The server terminated the operation because it detected an infinite loop.
- [510 Not Extended](https://apiguide.dev/status-codes/510.md): Further extensions to the request are required for the server to fulfill it.
- [511 Network Authentication Required](https://apiguide.dev/status-codes/511.md): The client needs to authenticate to gain network access.
