Self-diagnosis

Diagnosing a /api/protect 401 via correlation_id

When AiEGIS rejects a request, the 401 response body carries a correlation_id. Use it to query registry-side diagnostics and understand why the request was rejected.

Status: Placeholder. Stub-flow shown; concrete examples land during observation week (2026-05-08 → 2026-05-15).

The 401 response

When the parser rejects a request, it returns 401 with a body of approximately the shape:

{
  "error": {
    "code": "verifier_fail",
    "correlation_id": "<uuid>",
    "support_ref": "<short-token>",
    "reason_code": "<machine-readable code>"
  }
}
Privacy guarantee (ratified 2026-05-07): The 401 body does not include a classification field. Classification is a registry-side post-hoc tag added when the verifier failure is logged to anomaly_events; it is not present at the parser request boundary.

Self-diagnosis path

  1. Capture the correlation_id from your 401 response body.
  2. Call GET /registry/anomaly/my_events?correlation_id=<id> with your operator HMAC.
  3. The response includes severity, reason_code, agent_id, detail, observed_at, source, classification, and classification_version — see my_events self-diagnosis.

Common reason_code values (placeholder)

The full list lands during observation week as real-traffic codes are catalogued. Initial set:

Each row above will be expanded with: probable cause, customer remediation, and when to escalate.

When to escalate

Escalation criteria placeholder — observation-week triage data sets the bar. For now: if the correlation_id is not surfaced in /registry/anomaly/my_events within 5 minutes of the 401, file a support ticket including correlation_id and support_ref.