> For the complete documentation index, see [llms.txt](https://security.navidnaf.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://security.navidnaf.com/aragoogs-nest/http-s/response/status-code.md).

# Status Code

HTTP status codes are divided into five categories –

* **Informational (100-199):** The server has received part of the request and expects more information.
* **Successful (200-299):** The request was successful, and the server has returned the requested data.
* **Redirection (300-399):** The requested resource has been moved elsewhere.
* **Client Error (400-499):** There is an issue with the client's request.
* **Server Error (500-599):** The server encountered an issue while processing the request.

## Common Status Codes

### 1XX - Informational

<table data-view="cards"><thead><tr><th>Status Code</th><th>Description</th></tr></thead><tbody><tr><td><strong><code>100 Continue</code></strong></td><td>This interim response indicates that the client should continue the request or ignore the response if the request is already finished.</td></tr></tbody></table>

### 2XX - Successful

<table data-view="cards"><thead><tr><th>Status Code</th><th>Description</th></tr></thead><tbody><tr><td><strong><code>200 OK</code></strong></td><td>The request succeeded. The result meaning of "success" depends on the HTTP method.</td></tr></tbody></table>

### 3XX - Redirection

<table data-view="cards"><thead><tr><th>Status Code</th><th>Description</th></tr></thead><tbody><tr><td><strong><code>301 Moved Permanently</code></strong></td><td>The requested resource has been permanently moved to a new URL.</td></tr><tr><td><strong><code>302 Found</code></strong></td><td>The requested resource has been temporarily moved to a different URL.</td></tr></tbody></table>

### 4XX - Client Error

<table data-view="cards"><thead><tr><th>Status Code</th><th>Description</th></tr></thead><tbody><tr><td><strong><code>400 Bad Request</code></strong></td><td>The server could not understand the request due to incorrect syntax.</td></tr><tr><td><strong><code>401 Unauthorized</code></strong></td><td>Authentication is required for the request, and the user is not authenticated.</td></tr><tr><td><strong><code>403 Forbidden</code></strong></td><td>The server understood the request but refused to authorize it.</td></tr><tr><td><strong><code>404 Not Found</code></strong></td><td>The requested resource was not found at the specified URL.</td></tr><tr><td><strong><code>405 Method not Allowed</code></strong></td><td>The method specified in the request is not allowed for the resource.</td></tr></tbody></table>

### 5XX - Server Error

<table data-view="cards"><thead><tr><th>Status Code</th><th>Description</th></tr></thead><tbody><tr><td><strong><code>500 Internal Server Error</code></strong></td><td>The server encountered an error and could not process the request.</td></tr><tr><td><strong><code>503 Service Unavailable</code></strong></td><td>The server is temporarily unable to handle the request due to overload or maintenance.</td></tr></tbody></table>
