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