| Name | Type | Description | Notes |
|---|---|---|---|
| type | TypeEnum | Closed vocabulary - see docs/adr/0003-error-model.md. | |
| message | String | ||
| requestId | String | UnifAPI request id, e.g. `unif_<id>`. Source ids are not exposed. | [optional] |
| issues | List<Object> | Present only when type=validation_error. | [optional] |
| billing | ErrorBilling | [optional] |
| Name | Value |
|---|---|
| VALIDATION_ERROR | "validation_error" |
| INVALID_ID | "invalid_id" |
| INSUFFICIENT_CREDITS | "insufficient_credits" |
| UNAUTHORIZED | "unauthorized" |
| NOT_FOUND | "not_found" |
| RATE_LIMITED | "rate_limited" |
| INTERNAL_ERROR | "internal_error" |
| RESPONSE_SHAPE_ERROR | "response_shape_error" |
| UPSTREAM_ERROR | "upstream_error" |
| UPSTREAM_UNAVAILABLE | "upstream_unavailable" |