Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Documents Venice API error body shapes, status codes, x402 payment headers, and retry-with-backoff strategy for handling failures.
55% 91%+36 ptsof test cases passed
Passed 20 of 22 test cases with the skill, and 12 of 22 without it.
3 of 3 safety checks passed
Not used yet
Every Venice endpoint returns one of four error shapes. Knowing which shape you got tells you how to react.
StandardError — simple messageThe default shape for 4xx/5xx. Emitted when there's nothing structured to surface.
{ "error": "Unauthorized" }
DetailedError — Zod validation failureUsed for some 400 responses on malformed request bodies. When present, details is a Zod format() tree (_errors recursively keyed by field) alongside a flat issues array. Many 400s are plain StandardError without details — always handle both.
{
"error": "Invalid request",
"details": {
"_errors": [],
"messages": { "_errors": ["Field is required"] }
},
"issues": [
{ "code": "invalid_type", "path": ["messages"], "message": "Field is required" }
]
}
Render details / issues to the user so they can fix the input; don't retry — the request shape is wrong.
ContentViolationError — 422 content policyReturned when a prompt trips content policy. suggested_prompt (a model-provided safe alternative) is currently emitted by the audio generation pipeline (/audio/queue, /audio/retrieve); image and video endpoints return { error: "Content policy violation" } without suggested_prompt.
{
"error": "Content policy violation",
Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.