# Errors

If the Operator cannot process a request, it **must return an HTTP status code outside the 2XX range**.

If a 2XX status is returned, THNDR will assume the operation was successful.

#### Expected Response Body

```json
{
  "errors": [
    {
      "code": "ERROR_CODE",
      "isClientSafe": true
    }
  ]
}
```

* `code` - Refer to the appropriate request documentation above for valid error codes.
* `isClientSafe` (optional) - Indicates whether the error message can be safely displayed to the user. Defaults to false.

#### Example

```json
{
  "errors": [
    {
      "code": "INSUFFICIENT_BALANCE",
      "isClientSafe": true
    }
  ]
}

```


---

# 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.thndr.io/integration/server-webhooks/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.
