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

ESCROW_CANT_RELEASE_A_MILESTONE_IN_DISPUTE

Cannot release a milestone that is in dispute.

409 Conflict · escrow contract error · multi-release v1

Example

{
  "type": "https://docs.trustlesswork.com/trustless-work/v2-en/api-rest/errors/escrow-cant-release-a-milestone-in-dispute",
  "title": "Conflict",
  "status": 409,
  "code": "ESCROW_CANT_RELEASE_A_MILESTONE_IN_DISPUTE",
  "detail": "Cannot release a milestone that is in dispute.",
  "instance": "/…",
  "traceId": "…"
}

When it happens

Simulation of the transaction fails on-chain with this contract error: Cannot release a milestone that is in dispute.

How to fix it

The escrow (or milestone) is not in the state this action requires. Fetch its current state with Get Escrow and follow the lifecycle order.