# HTTP Error Codes

### HTTP Error Codes

* **4XX** – Client errors (e.g., malformed requests). The issue lies with the request sent by the client.
* **410** – Request rate limit exceeded. Indicates a **hard rate limit break**.
* **418** – Returned when a client continues making requests after receiving a **429 (Too Many Requests)**. This will trigger **IP blocking**, with block durations increasing from **2 minutes up to 3 days** for repeated violations.
* **5XX** – Server errors. Indicates an internal issue on the API server.
* **504** – Gateway timeout. The API forwarded the request successfully, but **did not receive a response in time**.\
  ⚠️ Do **not** treat this as a failed operation. The execution status is **unknown** and may still be successful.

***

### Error Response Format

All endpoints may return an error in the following format:

```json
{
  "code": -1121,
  "msg": "Invalid symbol."
}
```


---

# 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.coinlocally.com/introduction/http-error-codes.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.
