Skip to main content
When an error occurs, the Venice API returns an HTTP status code and a descriptive message. Some errors also include additional fields, such as refund status, suggested retry models, validation details, or request IDs.

Error response format

Most errors return an error field with a human-readable message:
Some endpoints include additional fields that are specific to the endpoint. For example, video moderation errors can include whether credits were refunded:
Validation errors may include details and issues fields with field-level validation information:
Some OpenAI-compatible endpoints may return OpenAI-style error objects for specific cases, such as context length errors:

Error codes