ESCROW_RELEASE_MILESTONES_EMPTY
release_funds requires at least one milestone index.
422 Validation Error · escrow contract error · multi-release v2
Example
{
"type": "https://docs.trustlesswork.com/trustless-work/v2-en/api-rest/errors/escrow-release-milestones-empty",
"title": "Validation Error",
"status": 422,
"code": "ESCROW_RELEASE_MILESTONES_EMPTY",
"detail": "`release_funds` requires at least one milestone index.",
"instance": "/…",
"traceId": "…"
}When it happens
Simulation of the transaction fails on-chain with this contract error: release_funds requires at least one milestone index.
How to fix it
Correct the request payload so it satisfies the contract's invariant described above, then rebuild and resubmit.