Skip to main content

Error Codes

Overview

Our system returns structured error responses to help developers and users understand what went wrong and how to resolve the issue. These errors are typically returned in JSON format and include error codes, messages, and metadata.

Error Response Structure

A typical error response follows this format:

{
"responseStatus": {
"errorCode": "ERROR_IDENTIFIER",
"message": "A human-readable description of the error",
"errors": [
{
"errorCode": "SPECIFIC_ERROR_CODE",
"fieldName": "Field where the error occurred",
"message": "Detailed error message",
"meta": {
"AdditionalContext": "Further details about the error"
}
}
]
}
}

Example

Here’s an example of an error when a signee does not have a valid mobile certificate on their mobile phone:

{
"responseStatus": {
"errorCode": "NOT_A_MOBILE_SIGNATURE_USER",
"message": "No mobile certificate found for Ssn: 1111111119, Phone number: 1234567",
"errors": [
{
"errorCode": "NOT_A_MOBILE_SIGNATURE_USER",
"fieldName": "CreateSigningProcesses[0].CreateSignees[0].PhoneNumber",
"message": "No mobile certificate found for Ssn: 1111111119, Phone number: 1234567",
"meta": {
"Ssn": "1111111119",
"PhoneNumber": "1234567",
"PropertyName": "Phone Number",
"PropertyValue": "1234567",
"CollectionIndex": "0"
}
}
]
}
}

Error object properties

FieldDescription
errorCodeA unique identifier for the error. Helps developers handle specific cases programmatically.
messageA human-readable explanation of what went wrong.
errorsA list containing more details about specific fields that caused the error.
fieldNameThe exact field where the error occurred in the request.
metaAdditional metadata about the error, such as user input values or collection indices.

Common Error Codes Examples

When handling errors in our system, refer to the table below for common error codes, their descriptions, and suggested resolutions.

Error CodeDescriptionSuggested Fix
NOT_A_MOBILE_SIGNATURE_USERNo valid mobile certificate found for the user.Ensure the user has a registered mobile certificate.
SMS_SIGNUP_NOT_SUPPORTEDSMS signup is not supported for the phone number, or SignatureType is not Qualified.Change the CommunicationDeliveryType from SMS if SignatureType is Simple or ClickToSign.
INVALID_INPUTA provided field has incorrect data.Verify the format and constraints of the input.
MISSING_REQUIRED_FIELDA mandatory field is missing.Check the request body and add the required field.
UNAUTHORIZED_ACCESSThe request is not authorized.Ensure the correct authentication credentials are used.
RESOURCE_NOT_FOUNDThe requested resource does not exist.Verify the resource identifier (e.g., user ID, process key).