Error codes
Every error code the DSAIL service returns, its HTTP status, and the page that resolves it.
Every error either door returns is one envelope:
{"ok": false,
"error": {"code": "<one of the codes below>", "message": "...",
"docs": "https://docs.agents.jaxon.ai/errors/<code>.md", ...},
"versions": {"wire_version": "...", "engine_version": "...", ...}}
error.docs is the page on this site for that code. A rejection names EVERY failing field in one response (error.failures), never just the first, so one corrected resubmission converges. Codes and HTTP statuses:
| Code | HTTP | Page |
|---|---|---|
VALIDATION_REJECTED | 422 | VALIDATION_REJECTED |
COMPILE_FAILED | 422 | COMPILE_FAILED |
BUDGET_EXCEEDED | 413 | BUDGET_EXCEEDED |
RULESET_NOT_FOUND | 404 | RULESET_NOT_FOUND |
ENGINE_ERROR | 500 | ENGINE_ERROR |
BAD_REQUEST | 400 | BAD_REQUEST |
CREDENTIAL_REQUIRED | 401 | CREDENTIAL_REQUIRED |
CREDENTIAL_INVALID | 401 | CREDENTIAL_INVALID |
CREDENTIAL_SCOPE | 403 | CREDENTIAL_SCOPE |
EVALUATION_LIMIT | 429 | EVALUATION_LIMIT |