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

ESCROW_MILESTONE_HAS_ALREADY_BEEN_APPROVED

Milestone was already approved.

409 Conflict · escrow contract error · multi-release v1, single-release v1

Example

{
  "type": "https://docs.trustlesswork.com/trustless-work/v2-en/api-rest/errors/escrow-milestone-has-already-been-approved",
  "title": "Conflict",
  "status": 409,
  "code": "ESCROW_MILESTONE_HAS_ALREADY_BEEN_APPROVED",
  "detail": "Milestone was already approved.",
  "instance": "/…",
  "traceId": "…"
}

When it happens

Simulation of the transaction fails on-chain with this contract error: Milestone was already approved.

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.