Skip to content

Errors

Empty Document

A document in the request, or an upload you inspect, is a zero-byte file. Check that the file at the URL has content, then send the request again.

What Happened

The file at a document’s url is empty. The server downloaded zero bytes from it, or the upload you asked to inspect has no content. In the detail property, documents[0] is the first item of the documents array.

Example response

422 Unprocessable Content (application/problem+json)
{
  "type": "https://signatureapi.com/docs/v1/errors/empty-document",
  "title": "Empty Document",
  "status": 422,
  "detail": "documents[0] is empty."
}

How to Fix

  • Download the file from the url and open it locally to confirm it has content.
  • If you use the Uploads resource, send the file as the binary body of the upload request, not an empty body.
  • If the URL points to a generated file, wait until the generation finishes before you create the envelope.

  Still stuck? Contact support.