Skip to documentation content
Docs

Errors

Safe public error envelope and operation-specific codes.

Error body and correlation #

Code example
{
  "error": {
    "code": "SOME_CODE",
    "message": "Safe message",
    "details": {}
  }
}

The error body has no top-level request_id. Use the X-Request-Id: req_<UUIDv4> response header for correlation. Internal SQL, provider, and database errors are not public.

Public error matrix #

HTTPApplies toCodes
400VerificationINVALID_JSON, VALIDATION_ERROR
400Reporting request validationINVALID_JSON, VALIDATION_ERROR, INVALID_IDEMPOTENCY_KEY
401All five operationsUNAUTHORIZED
403All five operationsFORBIDDEN
404Reporting status and evidenceREPORT_NOT_FOUND, EVIDENCE_NOT_FOUND
409Applicable Reporting operationsIDEMPOTENCY_CONFLICT, PARTNER_REFERENCE_CONFLICT, EVIDENCE_LIMIT_EXCEEDED, UPLOAD_AUTHORIZATION_EXPIRED, EVIDENCE_NOT_UPLOADED, EVIDENCE_OBJECT_MISMATCH
429AdmissionRATE_LIMIT_EXCEEDED, MONTHLY_QUOTA_EXCEEDED
500Commercial authentication/server setupINTERNAL_ERROR
500VerificationINTERNAL_SERVER_ERROR, LOOKUP_FAILED
500ReportingINTERNAL_ERROR
503Authentication/admissionUSAGE_ENFORCEMENT_UNAVAILABLE
503VerificationRISK_DATA_UNAVAILABLE
503ReportingREPORTING_UNAVAILABLE, STORAGE_UNAVAILABLE, UPLOAD_AUTHORIZATION_UNAVAILABLE

404 for missing, cross-client, or cross-environment Reporting resources is non-enumerating. Do not infer another organization's resource ownership.

Handling #