Skip to content

document_too_large

Document too large

HTTP status422 Unprocessable Content
Returned byInvoicing API (/v1, API keys)
typeEnglish (default): https://flashpi.com.ec/docs/en/errors/document_too_large
Spanish (Accept-Language: es): https://flashpi.com.ec/docs/errors/document_too_large
It changes with the language of the answer: branch on code.
Retry?No: the same request gets the same answer. Change the request, or the state of what it acts on, first.

What to do

  • The unsigned XML is over 304 KiB, so the signed document would exceed the SRI’s 320 KB. Split it into several documents, or shorten long descriptions and additional fields. See Limits.

Texts of the answer

The title and detail of the answer, in English by default and in Spanish when the Accept-Language entry with the highest priority (q) is es or es- plus a region, such as es-EC. A detail can be more specific than this one, and {name} marks a value of each occurrence.

Languagetitledetail
English (default)Document too largeThe document XML has {size} bytes; Flashpi accepts at most {max} bytes so that the signed document stays within the SRI limit.
Spanish (Accept-Language: es)Comprobante demasiado grandeEl XML del comprobante tiene {size} bytes; Flashpi acepta como máximo {max} bytes para que el comprobante firmado no supere el límite del SRI.