ESCROW_MILESTONE_TO_APPROVE_DOES_NOT_EXIST
Milestone to approve does not exist.
404 Not Found · escrow contract error · multi-release v2, single-release v1, single-release v2
Example
{
"type": "https://docs.trustlesswork.com/trustless-work/v2-en/api-rest/errors/escrow-milestone-to-approve-does-not-exist",
"title": "Not Found",
"status": 404,
"code": "ESCROW_MILESTONE_TO_APPROVE_DOES_NOT_EXIST",
"detail": "Milestone to approve does not exist.",
"instance": "/…",
"traceId": "…"
}When it happens
Simulation of the transaction fails on-chain with this contract error: Milestone to approve does not exist.
How to fix it
Check the contract id / milestone index against the escrow's current state.