BizKitHub
INTERNAL_FIO_TOKEN_INACTIVE

Fio API token is inactive.

HTTP 502Platform
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.

How to resolve

  1. 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. 2

    Check whether the bank account row is still flagged as active — a deactivated account should not run sync.

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 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"
}