> For the complete documentation index, see [llms.txt](https://tech.x2bee.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://tech.x2bee.com/dev-guide/developer-guide-en/pjt-prepare/framework-guide/http-status-code.md).

# HTTP Status Code

| Code                      | Description                                                                                                  |
| ------------------------- | ------------------------------------------------------------------------------------------------------------ |
| 200 OK                    | Occurs when an API request succeeds                                                                          |
| 201 Created               | Request succeeded and a new resource was created (Created)                                                   |
| 204 No Content            | The server processed the client's request but there is no data to return (Delete)                            |
| 304 Not Modified          | Occurs when the requested resource does not need to be resent (Caching)                                      |
| 500 Internal Server Error | Occurs on a server error                                                                                     |
| 900 Bad Request           | Occurs when an API request fails                                                                             |
| 901 Unauthorized          | Occurs when there is no access permission (occurs when not logged in)                                        |
| 903 Forbidden             | Occurs when performing an action outside of permission (occurs when logged in but without access permission) |
| 904 Not Found             | Occurs when there is no resource matching the given URI                                                      |
| 905 Method Not Allowed    | Occurs when requesting with an unsupported method                                                            |

{% hint style="info" %}
HTTP response status codes use the standard values as-is (400 · 401 · 403 · 404 · 405 · 500, etc.). The 900-series values in the table above are not HTTP status codes but the result code values in the response body (Response). Example: invalid parameter → HTTP 400 + code 9001 · 9002, authentication required → HTTP 401 + 9100, no permission → HTTP 403 + 9300, resource not found → HTTP 404 + 9400.
{% endhint %}
