Skip to content

Errors

Validation Error

The request body has invalid or missing fields. Read the errors array in the response, fix each listed field, and send the request again.

What Happened

The request could not be processed because there is one or more validation errors in the body of the request.

The response includes an errors property with a list of the specific problems.

Example response

422 Unprocessable Content (application/problem+json)
{
  "type": "https://signatureapi.com/docs/v1/errors/validation-error",
  "title": "Validation Error",
  "status": 422,
  "errors": [
    "documents[0].url protocol must be HTTPS",
    "recipients[0].email must be a valid email address"
  ]
}

How to Fix

  • Review the list of errors in the errors property returned in the response.
  • Ensure that all required fields are included in the request and are correctly formatted.
  • Verify that the data types of the fields match the expected types (e.g., strings, integers, dates).
  • Check that all fields adhere to any specified constraints (e.g., length, range, format).
  • Check the field’s reference page in the API documentation for accepted values.

  Still stuck? Contact support.