> ## Documentation Index
> Fetch the complete documentation index at: https://documentation.idenfy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Transaction Monitoring API Errors

> Transaction Monitoring API error format, identifiers and status codes, and which errors are safe to retry.

```json theme={"system"}
{
  "message": { "currency": ["currency must be exactly 3 letters (ISO 4217)"] },
  "identifier": "INVALID",
  "documentation": "https://documentation.idenfy.com",
  "severity": "NOT_SEVERE"
}
```

| Field | Meaning |
| - | - |
| `message` | What went wrong. A string, or for validation errors an object keyed by field name with a list of messages each |
| `identifier` | A stable code to branch on, for example `INVALID`, `NOT_AUTHENTICATED`, `PERMISSION_DENIED`, `NOT_FOUND`, `THROTTLED` |
| `severity` | Our classification of the error |
| `context` | Extra structured detail, on some errors only |

Branch on the HTTP status and `identifier`. Do not parse `message`: its wording can change.

## Status codes

| Status | Meaning | Retry? |
| - | - | - |
| `200`, `201`, `204` | Done | |
| `202` | Ingest accepted, with the outcome in the body | |
| `400` | The request is invalid. `message` names each bad field | No. Fix the request |
| `401` | Missing, wrong, revoked or expired API key, or your account is suspended | No. Check the key |
| `402` | Ingest only: the transaction could not be billed (no funds or Transaction Monitoring limit left). **Nothing was stored or checked** | After topping up |
| `403` | The key lacks the permission this endpoint needs | No. Add the permission |
| `404` | Not found, or not yours | No |
| `409` | The action conflicts with the record's current state | No. Re-read the record first |
| `424` | A file the response depends on could not be read, for example in a SAR handover package | Yes, later; contact support if it persists |
| `429` | Too many requests | Yes, after `Retry-After` seconds |
| `500`, `502`, `503`, `504` | Our side failed | Yes, with exponential backoff (1s, 2s, 4s…) |

> [!WARNING]
>
> Before retrying an ingest request that timed out or returned `5xx`, check whether it was stored. Ingest has no idempotency key, so a blind retry can create a duplicate. See [Retries and duplicates](https://documentation.idenfy.com/transaction-monitoring/ingest.md#retries-and-duplicates).


## Related topics

- [Transaction Monitoring API Authentication](https://documentation.idenfy.com/transaction-monitoring/authentication.md)
- [Transaction Monitoring API Limits and Expectations](https://documentation.idenfy.com/transaction-monitoring/limits-and-expectations.md)
- [Transaction Monitoring API](https://documentation.idenfy.com/transaction-monitoring/overview.md)
- [Transaction Monitoring API: Alerts, Investigations and SARs](https://documentation.idenfy.com/transaction-monitoring/case-management.md)
- [Transaction Monitoring API: Sending Transactions](https://documentation.idenfy.com/transaction-monitoring/ingest.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.