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

# Interchange Error Codes

> Error codes specific to Interchange API operations

The table below describes some errors you may encounter in interchange settlement:

| HTTP status code                                                    | Error code | Error message                                                                                                                    | Description                                                                                     |
| ------------------------------------------------------------------- | ---------- | -------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- |
| [400](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/400) | ER-TRA-002 | Unknown Wallet id *walletId*                                                                                                     | The wallet was not found in the database                                                        |
| [400](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/400) | ER-TRA-003 | Request time too different from current time                                                                                     | The value of the field "requestDateTime" is too different from current time                     |
| [400](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/400) | ER-TRA-004 | Instruction count is different from the number of settlement instructions                                                        | The value of the field "instructionCount" is different from the actual number of "settlements"  |
| [400](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/400) | ER-TRA-005 | Settlement ID *settlement\_id* is already used by another settlement                                                             | The value of the field "settlementRequestId" was already used by another settlement             |
| [400](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/400) | ET-TRA-007 | An error occurred while validating settlement request *settlement\_request\_id*                                                  | An unexpected error occurred while validating settlement request                                |
| [400](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/400) | ET-TRA-008 | Pending withdrawal *withdrawal\_id* does not exist                                                                               | The id sent does not match any withdrawal of the venue                                          |
| [400](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/400) | ET-TRA-009 | Withdrawal *withdrawal\_id* already processed with different confirmation                                                        | It is not possible to change the confirmation status of a withdrawal once processed             |
| [400](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/400) | ET-2351    | Transfer violates Transfer rule in place for *wallet*                                                                            | It is currently not possible to create outgoing transfers for the mentioned wallet              |
| [400](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/400) | ET-2352    | Settlement instruction with id: *tracking\_id* does not exist                                                                    | The Settlement instruction was not found on the database when procesing the event               |
| [400](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/400) | ET-2353    | Trading venue: *venue\_id* does not support trading vault                                                                        | The venue doesn't have a settlement wallet                                                      |
| [400](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/400) | ET-2354    | Trading address for *wallet\_id*: *currency\_id* does not exist                                                                  | The address was not found on the database for that wallet                                       |
| [400](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/400) | ET-2355    | Settlement Wallet for venue : *venue\_id* not found                                                                              | The Settlement Wallet for venue was not found on the database                                   |
| [400](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/400) | ET-2356    | Entity already exists, Trading vault attributes have to be unique for name *wallet\_name* and account reference *account\_ref*   | The vault already exists; wallet name and account reference should be unique                    |
| [400](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/400) | ET-2357    | Transfers not allowed while settlement in progress                                                                               | There is an existing settlement request for that venue that is still In-progress                |
| [400](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/400) | ET-2358    | Receivable settlement is not allowed from a trading vault                                                                        | Receivable settlement is not allowed from a trading vault                                       |
| [400](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/400) | ET-2359    | Fee Buffer for wallet *wallet\_id* with account ref: *account\_ref* and currency id: *currency\_id*, is less than *fiat\_buffer* | The fee buffer from an address under the wallet is less than the allowed fiat buffer            |
| [400](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/400) | ET-2360    | Error trying to retrieve trading wallets for: *wallet\_refs*                                                                     | Error trying to retrieve trading wallets                                                        |
| [400](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/400) | ET-2362    | Multiple receivable address for *ledger*                                                                                         | Multiple receivable address were passed for the same currency                                   |
| [400](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/400) | ET-2363    | Receivable address for *ledger* is missing                                                                                       | Receivable Address for the currency indicated on a settlement with type "RECEIVE" was not found |
| [400](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/400) | ET-2364    | Receivable address: *address* for *ledger* is not a whitelisted self address                                                     | The receivable address indicated from the request was not a whitelisted address on the system   |
| [400](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/400) | ET-2365    | Netted Amount for *currency* does not match total settled                                                                        | Netted amount from the PAY and RECEIVE settlements does not match                               |
| [400](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/400) | ET-2366    | Settlement stuck inside status *status* after *duration*                                                                         | Settlement is stuck because errors haven't been resolved                                        |
| [400](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/400) | ET-2367    | Wallet Asset *currency\_id* not present in wallet *wallet\_id*: *account\_ref*                                                   | Wallet Asset with the currency is not present in wallet                                         |
| [400](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/400) | ET-2368    | Vault with ref *wallet\_id* does not exist                                                                                       | Counter party was not found for settlement                                                      |
| [400](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/400) | ET-2369    | Interchange settlements is only available for venues                                                                             | Interchange settlements is only available for venues                                            |
| [400](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/400) | ET-2370    | An interchange settlement *settlement\_req\_id* is in progress for *venue\_id*                                                   | An interchange settlement is still in progress for venue                                        |
| [400](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/400) | ET-2371    | The request date time *req\_date\_time* is of incorrect format, should be *format*                                               | The value of the field "requestDateTime" is of incorrect format                                 |
| [400](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/400) | ET-2372    | currency :*currency\_id* is not supported by venue *venue\_id*                                                                   | The given currency from request payload is not supported by venue                               |
| [400](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/400) | ET-2373    | currency :*currency\_id* and ledger :*ledger* doesn't match                                                                      | The given currency and ledger from request payload did not match                                |
| [400](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/400) | ET-2374    | Duplicated records found in file for *account\_ref* and *currency* currency                                                      | The settlement request contains several instructions with the same currency and counterparty    |
| [400](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/400) | ET-2377    | Client payment *client\_id*: *account\_id*: *vault\_id* *currency* *amount* is not complete                                      | Error related to client PAY instructions                                                        |
| [400](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/400) | ET-2378    | Failed to pay *account\_id*: *currency* *amount*                                                                                 | Error related to client and venue RECEIVE instructions                                          |
| [400](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/400) | ET-2379    | Unexpected error. Please, contact support.                                                                                       | An unexpected error occured. Please reach out to support to investigate it.                     |
| [400](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/400) | ET-2380    | Not enough funds in *client\_id*:*wallet\_id*:*wallet\_name* need: *amount* *currency\_id*                                       | The vault mentioned does not have enough fund for the settlement to proceed                     |
| [400](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/400) | ET-2384    | The sender address(s) *address* was not whitelisted                                                                              | Possible PAY net settlement not available due to unknown sender address                         |
| [400](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/400) | ET-2386    | Missing funds *currency* *amount* from Exchange                                                                                  | The venue did not sent enough fund for the settlement to proceed                                |
| [400](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/400) | ET-2388    | *ledger* is not a known ledger                                                                                                   | The value inside the field ledger is not the symbol of a supported                              |
| [400](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/400) | ET-2389    | *property* is not supported for *currency* addresses                                                                             | One of the fields is not supported and should not be populated                                  |
