# Errors

The Card Issuing API uses standard HTTP status codes and JSON error responses.

```json
{
  "code": 400,
  "message": "Bad request"
}
```

## Common status codes

| Status | Meaning |
|  --- | --- |
| `400` | The request body, query, or path parameter is invalid. |
| `401` | The request is not authenticated. |
| `403` | The customer, partner, or current state does not allow the requested action. |
| `404` | The requested customer, account, card, topup, transaction, or KYC resource was not found. |
| `409` | The requested state transition conflicts with current resource state. |
| `500` | xMoney could not process the request due to an internal error. |


Do not retry `4xx` responses without changing the request or customer state. Retry transient `5xx` responses according to your integration retry policy.