# PreconditionFailure


[API catalog](/reference/api/) · [Docker Sandboxes overview](/reference/api/sandboxes/latest/) · [Product manual](https://docs.docker.com/ai/sandboxes-api/) · [OpenAPI specification](/reference/api/sandboxes/api.yaml)

API version: v1


> This API is experimental. Features, interfaces,
> and behavior may change.




Schema constraints and annotations:

```json
{
  "description": "Describes what preconditions have failed.\n\nFor example, if an operation failed because it required the Terms of Service to be\nacknowledged, it could list the terms of service violation in the\nPreconditionFailure message.",
  "properties": {
    "violations": {
      "description": "Describes all precondition violations.",
      "items": {
        "$ref": "#/components/schemas/PreconditionFailureViolation"
      },
      "type": "array"
    }
  },
  "title": "PreconditionFailure",
  "type": "object"
}
```



