ESCROW_TARGET_CANNOT_BE_ZERO
A milestone approvals.target must be greater than zero.
422 Validation Error · escrow contract error · multi-release v2, single-release v2
Example
{
"type": "https://docs.trustlesswork.com/trustless-work/v2-en/api-rest/errors/escrow-target-cannot-be-zero",
"title": "Validation Error",
"status": 422,
"code": "ESCROW_TARGET_CANNOT_BE_ZERO",
"detail": "A milestone approvals.target must be greater than zero.",
"instance": "/…",
"traceId": "…"
}When it happens
Simulation of the transaction fails on-chain with this contract error: A milestone approvals.target 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.