Error reference / pdf-too-large
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): upload exceeds 50 MB |
What happened
The body of PUT /v1/documents/{id}/content was larger than 50 MB. The response is HTTP 422 and nothing was stored.
What it means
The limit applies to the uploaded bytes, before any processing. The draft is still waiting for its upload.
What to do next
Reduce the file (flatten images, remove embedded fonts or attachments) and upload again to the same uploadUrl within the upload window.
Problem body
Every error 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://docs.signenvoy.com/errors/pdf-too-large"
}