The REST API reports every failure as a problem document with the content type application/problem+json. The slug names the error; the HTTP status says what kind.
JSON
{ "type": "https://api.veryfront.com/errors/resource-not-found", "title": "Resource Not Found", "status": 404, "detail": "Project does-not-exist-xyz not found", "instance": "/projects/does-not-exist-xyz", "slug": "resource-not-found", "category": "RESOURCE", "suggestion": "Verify the resource ID exists and you have access to it."}A validation failure names each field:
JSON
{ "status": 400, "slug": "validation-failed", "detail": "name: Required", "errors": [{ "field": "name", "message": "Required", "code": "invalid_type" }]}Look up an error
GET /errors lists every error with its status, category and suggestion. GET /errors/{slug} adds the steps to fix it and related errors. Neither needs a key.
Shell
curl https://api.veryfront.com/errors/resource-not-foundCommon errors
The AI Gateway
The AI Gateway's /ai/v1 endpoints answer in the error shape of the SDK that calls them, so that SDK can read it: { "error": { "message", "type", "code" } } for OpenAI-style calls, and the Anthropic and Google equivalents. A provider's own error is passed through in that shape.
JSON
{ "error": { "message": "Authentication failed. Provide a Veryfront API key as a Bearer token in the Authorization header, or in x-api-key.", "type": "authentication_error", "param": null, "code": "unauthorized" }}Errors in Studio, chat and a run's events have their own page: Fix errors.