SignEnvoy docs
Sign in Start in the sandbox

Error reference

PDF exceeds 50 MB

The uploaded file is larger than the limit.

Problem type /problems/pdf-too-large
HTTP status 422
Emitted by REST API (/v1)
Title values
PDF exceeds 50 MB
Trigger
REST API (/v1): the PDF sent with `POST /documents` exceeds 50 MB

What happened

The PDF sent as the file part of POST /v1/documents was larger than 50 MB. The response is HTTP 422 and nothing was created.

What it means

The limit applies to the uploaded bytes, before any processing. A request whose Content-Length is over the limit is refused before its body is read; one sent without a length is refused as soon as it passes the limit.

What to do next

Reduce the file (flatten images, remove embedded fonts or attachments) and send the create again.

Problem body

Every error the API returns is an RFC 9457 problem document with media type application/problem+json. The type member is the stable identifier to switch on; docs_url is this page.

{
  "type": "/problems/pdf-too-large",
  "title": "PDF exceeds 50 MB",
  "status": 422,
  "instance": "/v1/...",
  "docs_url": "https://staging.signenvoy-docs-b4g.pages.dev/errors/pdf-too-large"
}