BizKitHub
INTERNAL_FIO_STATEMENT_INVALID

Fio bank statement is malformed.

Z BizKitHub Docs, dokumentacja kodów błędów API

Nazwy i opisy kodów prowadzimy po angielsku.

HTTP 502Platforma
A statement file received from Fio (GPC or transaction JSON) is missing required fields or breaks the expected structure (no 074 header, empty payload, unparseable transaction line). The offending row or snippet is appended to the error message.

Jak to rozwiązać

  1. 1

    Re-fetch the statement from Fio — a one-off corrupted response can happen on flaky connections.

  2. 2

    Inspect the snippet that follows the colon to see which line failed parsing, and compare with the Fio data file format spec.

  3. 3

    If the structure is genuinely new (Fio rarely changes the GPC layout), `core/bank/fio/parseFioResponse*` must be updated.

Przykładowa odpowiedź

API odpowiada statusem HTTP 502 i treścią w formacie JSON. Porównuj errorCode, nie message. Komunikaty mogą się zmieniać, kody pozostają stałe.

application/json
{
  "state": "error",
  "code": 502,
  "message": "Fio bank statement is malformed.",
  "errorCode": "INTERNAL_FIO_STATEMENT_INVALID",
  "hint": "A statement file received from Fio (GPC or transaction JSON) is missing required fields or breaks the expected structure (no 074 header, empty payload, unparseable transaction line). The offending row or snippet is appended to the error message.",
  "documentationUrl": "https://docs.bizkithub.com/errors/INTERNAL_FIO_STATEMENT_INVALID"
}
Dokumentacja referencyjna:Kody błędów API|Platforma|HTTP 502