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." }
}
CodeHTTPMeaning
UNAUTHORIZED401The key is missing, unknown or revoked.
RATE_LIMITED429Too many requests for this key. Wait and retry.
INVALID_REQUEST400No PDF in the body or form, or an invalid option.
INVALID_FILE415The file is not a PDF.
TOO_LARGE413The PDF is over the size limit.
TOO_MANY_PAGES422The PDF is over the page limit.
PASSWORD_REQUIRED422The PDF is protected. Send its password in X-Statement-Password.
INCORRECT_PASSWORD422The password does not open the PDF.
UNREADABLE422The PDF has no readable text. Scans and photographs are not supported yet.
UNSUPPORTED_DOCUMENT422The document could not be read as a bank statement.
NOT_VERIFIED422The statement was read but its transactions could not be verified, so nothing is returned.
INTERNAL500Something 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.