ESCROW_DUPLICATE_MILESTONE_INDEX
Duplicate milestone indices are not allowed in the batch.
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-duplicate-milestone-index",
"title": "Validation Error",
"status": 422,
"code": "ESCROW_DUPLICATE_MILESTONE_INDEX",
"detail": "Duplicate milestone indices are not allowed in the batch.",
"instance": "/…",
"traceId": "…"
}When it happens
Simulation of the transaction fails on-chain with this contract error: Duplicate milestone indices are not allowed in the batch.
How to fix it
Correct the request payload so it satisfies the contract's invariant described above, then rebuild and resubmit.