ESCROW_AMOUNTS_TO_TRANSFER_SHOULD_BE_POSITIVE
Transfer amounts must be positive.
422 Validation Error · escrow contract error · all variants (single/multi × v1/v2)
Example
{
"type": "https://docs.trustlesswork.com/trustless-work/v2-en/api-rest/errors/escrow-amounts-to-transfer-should-be-positive",
"title": "Validation Error",
"status": 422,
"code": "ESCROW_AMOUNTS_TO_TRANSFER_SHOULD_BE_POSITIVE",
"detail": "Transfer amounts must be positive.",
"instance": "/…",
"traceId": "…"
}When it happens
Simulation of the transaction fails on-chain with this contract error: Transfer amounts must be positive.
How to fix it
Correct the request payload so it satisfies the contract's invariant described above, then rebuild and resubmit.