# Errors & Status Codes

## **Status Codes**

All status codes are standard HTTP status codes. The below ones are used in this API.

* **2XX -** Success of some kind
* **4XX -** Error occurred in client’s part
* **5XX -** Error occurred in server’s part

| **Status Code** | **Description**                                       |
| :-------------: | ----------------------------------------------------- |
|       200       | OK                                                    |
|       201       | Created                                               |
|       202       | Accepted (Request accepted, and queued for execution) |
|       400       | Bad request                                           |
|       401       | Authentication failure                                |
|       403       | Forbidden                                             |
|       404       | Resource not found                                    |
|       405       | Method Not Allowed                                    |
|       409       | Conflict                                              |
|       412       | Precondition Failed                                   |
|       413       | Request Entity Too Large                              |
|       500       | Internal Server Error                                 |
|       501       | Not Implemented                                       |
|       503       | Service Unavailable                                   |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.pezesha.com/get_started/errors.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
