ESign Docs

Errors

The unified JSON error envelope and the stable error codes the API returns.

All errors use standard HTTP status codes with a JSON body containing a stable machine-readable code and a human-readable message:

{
  "error": {
    "code": "not_found",
    "message": "Document not found"
  }
}

Error codes

HTTPcodeWhen
400bad_requestInvalid or malformed request (including validation failures).
401unauthorizedMissing, invalid, expired, or revoked API key.
403forbiddenThe key's owner lacks permission for the resource.
404not_foundThe resource does not exist or is not visible to the key.
409conflictThe request conflicts with current state.
429rate_limitedPer-key rate limit exceeded.
500internalUnexpected server error.

The code values are stable and safe to branch on; message is for humans and may change.

On this page