document_too_large
Document too large
| HTTP status | 422 Unprocessable Content |
|---|---|
| Returned by | Invoicing API (/v1, API keys) |
type | English (default): https://flashpi.com.ec/docs/en/errors/document_too_largeSpanish ( Accept-Language: es): https://flashpi.com.ec/docs/errors/document_too_largeIt 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.
| Language | title | detail |
|---|---|---|
| English (default) | Document too large | The 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 grande | El 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. |