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

ESCROW_TOO_MANY_MILESTONES

Too many milestones; the maximum is 50.

422 Validation Error · escrow contract error · all variants (single/multi × v1/v2)

Example

{
  "type": "https://docs.trustlesswork.com/trustless-work/v2-en/api-rest/errors/escrow-too-many-milestones",
  "title": "Validation Error",
  "status": 422,
  "code": "ESCROW_TOO_MANY_MILESTONES",
  "detail": "Too many milestones; the maximum is 50.",
  "instance": "/…",
  "traceId": "…"
}

When it happens

Simulation of the transaction fails on-chain with this contract error: Too many milestones; the maximum is 50.

How to fix it

Correct the request payload so it satisfies the contract's invariant described above, then rebuild and resubmit.