Athena

Error Handling

Athena response envelope and common error classes.

Athena APIs use a standard envelope:

{
  "status": "success | error",
  "message": "human-readable summary",
  "data": {},
  "error": {}
}

Common Failure Categories

CategoryTypical Status
Missing/invalid client routing400 / 503
Auth or rights failure401 / 403
Resource not found404
Validation or syntax failure400
Constraint violation409
Timeout504
Backend connectivity503
Unexpected server error500

Troubleshooting Steps

  1. Confirm X-Athena-Client is set and valid.
  2. Validate key transport header and rights scope.
  3. Check route availability via /router/registry and /openapi.yaml.
  4. Inspect client health and logs (/health/cluster, metrics, admin stats).
  5. For async operations, inspect backup/deferred job status endpoints.