# BNK_TX_CAT_FAIL: Bank transaction categorisation failed

- Module: BNK. Bank integrations (Fio account synchronisation)
- Severity: Warning
- Impact: No impact. Bookkeeping only. Nobody is affected.
- Retry: Automatic. The platform retries or self-heals on its own.
- Reference: https://docs.bizkithub.com/en/system-codes/BNK_TX_CAT_FAIL

## What happened

After a bank sync, the automatic assignment of transactions to bookkeeping categories (regex rules plus an AI classifier) failed. The transactions themselves were imported and paired with orders; only their category is missing. The step runs again on the next sync.

## Likely causes

- The AI provider responded slowly and the request hit its timeout.
- The AI provider was temporarily unavailable or rate-limited.

## How to resolve

1. No action needed if the warning is occasional. Uncategorised transactions are retried on the next sync.
2. If it repeats for hours, check the AI provider status and the AI spend report.

## Related codes

- BNK_STMT_MISSING: Bank statement still not available
- BNK_STMT_SCA: Bank statement needs strong authorization
- BNK_FIO_INITFAIL: Fio token connected but first sync failed
- BNK_FIO_LEAK: Fio bank token used by another organisation
- BNK_FIO_TOKEN: Fio bank token registered
- BNK_STMT_FAIL: Bank statement download failed
