INTERNAL_FIO_STATEMENT_INVALIDFio bank statement is malformed.
HTTP 502Platform
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.
How to resolve
- 1
Re-fetch the statement from Fio — a one-off corrupted response can happen on flaky connections.
- 2
Inspect the snippet that follows the colon to see which line failed parsing, and compare with the Fio data file format spec.
- 3
If the structure is genuinely new (Fio rarely changes the GPC layout), `core/bank/fio/parseFioResponse*` must be updated.
Example response
The API answers with HTTP 502 and a JSON body. Match on errorCode, not on message: messages may be reworded, codes are stable.
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"
}