# Error Handling

Requests to our APIs can result in several different types of error responses. A list of error messages, along with their correspinding example, is provided in the following description.

## Error Responses

An API request that fails tipically results in the following error response:


```
{
  "error_type": "PAYEE_ID_INVALID",
  "error_message": "Payee ID Invalid"
}
```

- `error_type`: The type of error.
- `error_message`: Error description in human-readable form.


| ERROR TYPE | ERROR MESSAGE | KIND OF ERROR |
|  --- | --- | --- |
| INVALID_REQUEST | We can't process your request | Operative |
| INTERNAL_ERROR | There was an error while processing your request | Operative |
| PAYEE_ID_INVALID | Payee ID Invalid | Operative |
| PAYEE_SERVICE_UNAVAILABLE | Payee service is not available at this time, retry in 5 minutes | Operative |
| PAYER_ACCOUNT_INVALID | Invalid payer account | Operative |
| PAYER_ACCOUNT_NOT_FOUND | Payer account not found for the Payee | Operative |
| CANNOT_FULFILL_REQUEST | We cannot currently fulfill requests for this Payee | Integration |
| AMOUNT_INSUFFICIENT | The Payee minimum amount was not met | Operative |
| AMOUNT_FORMAT_INVALID | The amount format is incorrect | Operative |
| TOPUP_AMOUNT_NOT_AVAILABLE | The Topup amount is not available | Integration |
| CURRENCY_INVALID | The Payee does not accept this currency | Operative |
| PAYEE_TIMEOUT | Payee service is not responding at this time | Integration |
| PAYEE_CONNECTION_ERROR | Error with the Payee connection | Integration |
| UPLOAD_FILE_S3_FAILED | The file upload to s3 bucket failed | Operative |