INTERNAL_FIO_TOKEN_INACTIVEFio API token is inactive.
Z BizKitHub Docs, dokumentacja kodów błędów API
Nazwy i opisy kodów prowadzimy po angielsku.
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 rozwiązać
- 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.
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 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"
}