> For the complete documentation index, see [llms.txt](https://docs.visualsentinel.com/llms.txt)

# ErrorResponse data model

The ErrorResponse shape in the Visual Sentinel REST API.

## Fields

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `error` | string | No | Readable message. |
| `code` | string | No | Stable machine-readable code when the endpoint sets one, for example `SCOPE_DENIED`, `REGION_UNAVAILABLE` or `LOCATION_RESTRICTED`. |
| `message` | string | No |   |
| `details` | any | No | Validation details when available. |

## Used by

Most error responses in every API area, 59 endpoints in all. See [Errors](https://docs.visualsentinel.com/guides/errors.md) for the codes.

Generated from the OpenAPI 3.1 specification at [https://docs.visualsentinel.com/openapi.json](https://docs.visualsentinel.com/openapi.json).
