AegisAegis Developer Portal

Developer Search

Press ⌘K or Ctrl+K to jump through guides and public API docs for user-owned master key and scoped credential flows.

Reliability

Error Catalog

Canonical error categories for API and broker workflows. Use this table to drive retry policy, user-facing error messaging, and escalation runbooks.

CodeWhen It HappensRemediation
invalid_argumentInput schema or required fields are invalid.Validate payload shape and required selector scope format.
unauthenticatedToken missing, expired, or sender-proof verification failed.Refresh short-lived token and regenerate DPoP/mTLS proof.
permission_deniedRole or scope policy does not authorize the requested action/target.Request narrower, explicit scopes and verify caller role claims.
failed_preconditionState transition is invalid (replayed bootstrap, exhausted/revoked lease).Start a new lease/bootstrap sequence and avoid replayed artifacts.
not_foundRequested lease, challenge, or target resource cannot be found.Check identifiers and ensure tenant/principal match.
internalUnexpected server-side failure.Retry with backoff; if persistent, escalate with request ID + timestamp.

Operational Guidance

  • Always log request ID, tenant ID, principal ID, and endpoint path for debugging.
  • Do not retry `permission_denied` blindly; fix scope/role assignment first.
  • Treat repeated `unauthenticated` proof failures as possible key compromise signal.