Concepts

API reference

Errors

The error envelope and every error code, with its status.

{
  "error": {
    "type": "invalid_request_error",
    "code": "VALIDATION_ERROR",
    "message": "level must be one of l1, l2, l3, l4",
    "param": "level",
    "doc_url": "https://docs.didconnect.xyz/api-reference/errors#validation_error",
    "request_id": "req_8f2c1e"
  }
}
Field
typeinvalid_request_error, authentication_error, permission_error, not_found_error, conflict_error, rate_limit_error, api_error
codeStable: switch on it
messageFor a person and a log. Do not parse it
paramThe field at fault, when there is one
request_idQuote it to support

A resource of another project, mode or account answers 404, like one that does not exist.

Codes

CodeStatusWhen
UNAUTHORIZED401No key, or a key that is not valid
PRODUCT_DISABLED403The product is not enabled for your account
ACCESS_DENIED403The role of the member is not enough
KYB_REQUIRED403A live key before your business is verified
NOT_FOUND404No such resource in this project and mode
VALIDATION_ERROR422The body or a parameter is not valid
VERIFY_INVALID_TRANSITION409The session cannot move to this state, or it changed meanwhile
VERIFY_FOUR_EYES_REQUIRED403The flow needs two reviewers of the dashboard
VERIFY_FOUR_EYES_SAME_REVIEWER409The second approval is by the first reviewer
VERIFY_ATTESTATION_ALREADY_REVOKED409Already revoked
VERIFY_ALERT_ALREADY_RESOLVED409Already resolved
VERIFY_PROOF_REQUEST_CLOSED409The proof request was answered, cancelled or expired
NETWORK_AGREEMENT_REQUIRED403Reporting to the shared lists without the agreement
LIVE_ONLY422The route works with a live key only
CORTEX_UNAVAILABLE503Cortex cannot answer right now. Retry later
RATE_LIMITED429Too many requests. Retry after Retry-After seconds
INTERNAL_ERROR500An error of the API. Retry with the same idempotent identifier

On this page