Skip to content
Talk to our solutions team

Error Codes

Errors are returned as { "code": "…", "message": "…" }.

CodeHTTPMeaning
ai-flow-json-request-parse-failed400Malformed request body
ai-flow-request-required-field-not-found400A required field was missing
ai-flow-query-parsing-failed400A query filter could not be parsed
ai-flow-ctx-tenant-not-found400The CPET headers didn’t resolve to a tenant
ai-flow-global-config-is-nil500The service booted without required global config

A request to a tenant whose engine isn’t built returns 400 (dag execution engine for tenant … not found); an unknown conversation returns 400.

The /workflow/start path shares the Workflows engine, so the same status semantics apply:

HTTPMeaningRetry?
202Queued — no agent free
503No agent free (Retry-After: 5)Yes
429Queue full (Retry-After: 10)Yes
400No agent matches the selectors, or the flow/tenant is invalidNo

At execution time a task fails if the endpoint it targets — a model, a gateway route, a vector store, or an embedder — is unreachable; the failure surfaces on the node and follows the task’s error: route.