# BNK_FIO_INITFAIL: Fio token connected but first sync failed

- Module: BNK. Bank integrations (Fio account synchronisation)
- Severity: Error
- Impact: Operators. Organisation staff should take a look. Customers are not affected.
- Retry: Manual. Safe for an operator to retry the action.
- Reference: https://docs.bizkithub.com/en/system-codes/BNK_FIO_INITFAIL

## What happened

A Fio API token was connected in the admin, but the first sync (which detects the IBAN and imports past transactions) failed despite automatic retries. The account is kept with its connector in an error state so it can be retried or removed in Settings. Temporary causes such as Fio outages or timeouts are logged as warnings; an inactive or revoked token is logged as an error.

## Likely causes

- The Fio API token is inactive, revoked, or lacks the required permissions.
- Fio rate-limited the request or was temporarily unavailable (logged as warning).
- The initial import timed out.

## How to resolve

1. Open Bank transactions in admin and check the state of the newly connected account.
2. Verify in Fio internet banking that the token is active and allows account data access.
3. Retry the sync, or remove the account and add the token again.
4. For temporary Fio issues, wait a few minutes before retrying.

## Related codes

- BNK_FIO_LEAK: Fio bank token used by another organisation
- INTERNAL_FIO_TOK: Fio bank API token inactive
- INTERNAL_FIO_API: Fio bank API unavailable
- BNK_STMT_FAIL: Bank statement download failed
- BNK_STMT_INVALID: Bank statement response invalid
- BNK_FIO_TOKEN: Fio bank token registered
