For the complete documentation index, see llms.txt. This page is also available as Markdown.

ESCROW_BATCH_MILESTONE_DISPUTE_EMPTY

dispute_milestones 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-batch-milestone-dispute-empty",
  "title": "Validation Error",
  "status": 422,
  "code": "ESCROW_BATCH_MILESTONE_DISPUTE_EMPTY",
  "detail": "`dispute_milestones` requires at least one milestone index.",
  "instance": "/…",
  "traceId": "…"
}

When it happens

Simulation of the transaction fails on-chain with this contract error: dispute_milestones 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.