Documentation

Error Codes

Standardized error codes across all Cognigate APIs.

Overview

All errors follow a consistent format with a unique error code, HTTP status, category, and human-readable message. Error codes are stable across API versions.

{
  "error": {
    "code": "E1001",
    "category": "AUTH",
    "message": "API key is missing. Include it in the Authorization header.",
    "retryable": false,
    "docsUrl": "https://cognigate.dev/docs/authentication"
  }
}

Error Categories

CategoryCode RangeDescription
AUTHE1xxxAuthentication and authorization errors
TRUSTE2xxxTrust scoring and tier violations
CAPABILITYE3xxxCapability and permission denials
RATE_LIMITE4xxxRate limit exceeded
INTENTE5xxxIntent analysis failures
ENFORCEE6xxxPolicy enforcement errors
PROOFE7xxxProof chain generation/verification errors
ENTITYE8xxxAgent/entity not found or invalid
POLICYE9xxxPolicy configuration errors
VALIDATIONE10xxxInput validation failures
SYSTEME11xxxInternal system errors

Common Errors

CodeHTTPMessageRetryable
E1001401API key is missingNo
E1002401API key is invalid or revokedNo
E1003401API key has expiredNo
E2001403Trust score below minimum for this actionNo
E3001403Agent lacks required capabilityNo
E4001429Rate limit exceededYes
E8001404Agent not foundNo
E11001500Internal server errorYes
Tip: For the full interactive error code reference with search and filtering, use the Error Code Explorer.

Next Steps