INTERNAL_FIO_TOKEN_INACTIVEFio API token is inactive.
Z BizKitHub Docs, reference chybových kódů API
Názvy a popisy kódů udržujeme v angličtině.
HTTP 502Platforma
Fio refused the request with `<status>error</status>`. This almost always means the API token stored in `shop__bank` for this account has been revoked, expired, or never activated. Fio tokens must be activated manually in Fio internet banking and have a fixed validity window.
Jak to vyřešit
- 1
Log in to Fio internet banking, generate a new API token, activate it, and update the value in `shop__bank` (and in the admin UI for the bank account).
- 2
Check whether the bank account row is still flagged as active — a deactivated account should not run sync.
Ukázka odpovědi
API odpoví statusem HTTP 502 a tělem ve formátu JSON. Porovnávejte errorCode, ne message. Zprávy se mohou přeformulovat, kódy zůstávají stejné.
application/json
{
"state": "error",
"code": 502,
"message": "Fio API token is inactive.",
"errorCode": "INTERNAL_FIO_TOKEN_INACTIVE",
"hint": "Fio refused the request with `<status>error</status>`. This almost always means the API token stored in `shop__bank` for this account has been revoked, expired, or never activated. Fio tokens must be activated manually in Fio internet banking and have a fixed validity window.",
"documentationUrl": "https://docs.bizkithub.com/errors/INTERNAL_FIO_TOKEN_INACTIVE"
}