ESCROW_TARGET_EXCEEDS_APPROVERS
A milestone approvals.target cannot exceed roles.approvers.length.
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-exceeds-approvers",
"title": "Validation Error",
"status": 422,
"code": "ESCROW_TARGET_EXCEEDS_APPROVERS",
"detail": "A milestone approvals.target cannot exceed roles.approvers.length.",
"instance": "/…",
"traceId": "…"
}When it happens
Simulation of the transaction fails on-chain with this contract error: A milestone approvals.target cannot exceed roles.approvers.length.
How to fix it
Correct the request payload so it satisfies the contract's invariant described above, then rebuild and resubmit.