API error
DOCUMENT_TYPE_INELIGIBLE
HTTP 422
What it means
The uploaded file cannot be used as a signing document, for example a PDF that cannot be read.
What to do
Upload a readable PDF. The message names what was wrong.
The response
HTTP/1.1 422
content-type: application/json
{
"error": {
"code": "DOCUMENT_TYPE_INELIGIBLE",
"message": "The uploaded file cannot be used as a signing document, for example a PDF that cannot be read.",
"requestId": "req_9Tx4pLm2",
"docs": "https://signrs.com/docs/errors/DOCUMENT_TYPE_INELIGIBLE"
}
}