---
title: "Empty Document"
description: "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."
canonical: "https://signatureapi.com/docs/v1/errors/empty-document"
source: "https://signatureapi.com/docs/v1/errors/empty-document.md"
last_verified_api_version: "1.18.0"
last_modified: "2026-11-18T11:41:57Z"
---

# 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.

_Last verified against API version 1.18.0._

## 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

```json 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](https://signatureapi.com/docs/api/resources/uploads/object) 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](https://signatureapi.com/support).
