ESCROW_AMOUNT_CANNOT_BE_ZERO
Amount must be greater than zero.
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-amount-cannot-be-zero",
"title": "Validation Error",
"status": 422,
"code": "ESCROW_AMOUNT_CANNOT_BE_ZERO",
"detail": "Amount must be greater than zero.",
"instance": "/…",
"traceId": "…"
}When it happens
Simulation of the transaction fails on-chain with this contract error: Amount must be greater than zero.
How to fix it
Correct the request payload so it satisfies the contract's invariant described above, then rebuild and resubmit.