Skip to main content
All errors returned by the Digital Certificate Confirmation API follow a consistent JSON structure that includes the HTTP status code, a machine-readable subCode string, and a human-readable message description.

Error Response Structure

Every error response has the following shape:
  • status — always "FAILED" for error responses.
  • subCode — a stable, uppercase string identifier for the error condition. Use this field in your error handling logic.
  • message — a human-readable explanation suitable for logging or displaying to developers.

HTTP Status Codes

Application Error Codes

Always check the subCode field in your error handling logic rather than branching only on the HTTP status code. Using subCode lets you respond to each failure condition precisely.