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

ESCROW_APPROVER_ALREADY_APPROVED_MILESTONE

This approver already approved this milestone.

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

Example

{
  "type": "https://docs.trustlesswork.com/trustless-work/v2-en/api-rest/errors/escrow-approver-already-approved-milestone",
  "title": "Conflict",
  "status": 409,
  "code": "ESCROW_APPROVER_ALREADY_APPROVED_MILESTONE",
  "detail": "This approver already approved this milestone.",
  "instance": "/…",
  "traceId": "…"
}

When it happens

Simulation of the transaction fails on-chain with this contract error: This approver already approved this milestone.

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.