Developers / Travel Rule
Transfer Errors
When a beneficiary VASP rejects a transfer, it gives a rejection reason: a reason code and a message. To reject a transfer, send the reject action with one of the codes below as reject_error, together with a non-empty message. Codes are matched without regard to case. Ospree always sends and returns the code name, never a number.
Rejection reasons
Code
Description
REJECTED
Default rejection reason, when no other code fits.
UNKNOWN_WALLET_ADDRESS
VASP doesn’t control the beneficiary wallet address.
UNKNOWN_IDENTITY
The identity of a party in the transfer can’t be established.
UNKNOWN_ORIGINATOR
The originator account can’t be identified.
UNKNOWN_BENEFICIARY
The beneficiary account can’t be identified.
UNSUPPORTED_CURRENCY
VASP doesn’t support the specified cryptocurrency.
EXCEEDED_TRADING_VOLUME
VASP can’t receive more transaction inflows.
COMPLIANCE_CHECK_FAIL
VASP internal compliance check has failed.
NO_COMPLIANCE
HIGH_RISK
VASP unwilling to proceed with the transaction after risk assessment.
OUT_OF_NETWORK
Wallet address or transaction is not available on the specified blockchain network.
MISSING_FIELDS
There are missing required fields in the transaction data.
INCOMPLETE_IDENTITY
The identity record is not complete enough for compliance purposes.
VALIDATION_ERROR
There was an error validating a field in the transaction data.
COMPLIANCE_PERIOD_EXCEEDED
The review period has exceeded the required compliance timeline.
System-generated codes
These codes describe a malformed message rather than a compliance decision. Ospree or a counterparty’s system uses them; they are not meant for a manual rejection, and the Dashboard does not offer them.
Code
Description
BAD_REQUEST
The request could not be processed because it was malformed.
UNPARSEABLE_IDENTITY
Unable to parse identity record.
PRIVATE_INFO_WRONG_FORMAT
The identity data is not in the expected format.
UNPARSEABLE_TRANSACTION
Unable to parse transaction data record.
CANCELED
CANCELED exists for compatibility with other Travel Rule protocols. It is not a rejection: it means the originator withdrew the transfer. To cancel a transfer, use the cancel action, not reject with CANCELED.
Codes that appear only in webhook error.code
A webhook’s error.code can also carry these codes. You never send them.
Code
Event
Meaning
COUNTERPARTY_DECLINED
TRANSFER_REJECTED
The counterparty VASP declined the transfer over CryptoSwift.
COUNTERPARTY_RESPONSE_TIMEOUT
TRANSFER_TIMED_OUT
The counterparty VASP did not answer before the transfer’s response deadline.
INQUIRY_DISPATCH_FAILED
TRANSFER_FAILED
The transfer could not be delivered to the counterparty VASP.
INQUIRY_DISPATCH_ABANDONED
TRANSFER_FAILED
Sending the transfer was interrupted and it never reached the counterparty VASP.