Errors and limits
Every refusal has the same shape, with a stable code and a fixed message:
json
{
"requestId": "7b46ae0a-2a0c-4465-89d0-96b3c3a2d48b",
"error": { "code": "NOT_VERIFIED", "message": "The statement was read, but its transactions could not be verified, so no result is returned." }
}| Code | HTTP | Meaning |
|---|---|---|
UNAUTHORIZED | 401 | The key is missing, unknown or revoked. |
RATE_LIMITED | 429 | Too many requests for this key. Wait and retry. |
INVALID_REQUEST | 400 | No PDF in the body or form, or an invalid option. |
INVALID_FILE | 415 | The file is not a PDF. |
TOO_LARGE | 413 | The PDF is over the size limit. |
TOO_MANY_PAGES | 422 | The PDF is over the page limit. |
PASSWORD_REQUIRED | 422 | The PDF is protected. Send its password in X-Statement-Password. |
INCORRECT_PASSWORD | 422 | The password does not open the PDF. |
UNREADABLE | 422 | The PDF has no readable text. Scans and photographs are not supported yet. |
UNSUPPORTED_DOCUMENT | 422 | The document could not be read as a bank statement. |
NOT_VERIFIED | 422 | The statement was read but its transactions could not be verified, so nothing is returned. |
INTERNAL | 500 | Something went wrong on our side. Retry later. |
NOT_VERIFIED and UNSUPPORTED_DOCUMENT are how the API avoids guessing. Each one is reported to us anonymously and helps the reader learn the layout.
Limits
- 10 MB and 50 pages per PDF.
- 30 requests a minute per key.
- Up to 5 active keys per integration and 10 integrations per account.
Limits may change. We will give notice before lowering them.