> For the complete documentation index, see [llms.txt](https://docs.thndr.io/integration/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.thndr.io/integration/server-webhooks/errors.md).

# 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
    }
  ]
}

```
