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

ESCROW_SIGNER_MUST_BE_APPROVER_AND_RELEASE_SIGNER

approve_and_release_milestones requires the signer to be in BOTH roles.approvers and roles.release_signers.

403 Forbidden · escrow contract error · multi-release v2, single-release v2

Example

{
  "type": "https://docs.trustlesswork.com/trustless-work/v2-en/api-rest/errors/escrow-signer-must-be-approver-and-release-signer",
  "title": "Forbidden",
  "status": 403,
  "code": "ESCROW_SIGNER_MUST_BE_APPROVER_AND_RELEASE_SIGNER",
  "detail": "approve_and_release_milestones requires the signer to be in BOTH roles.approvers and roles.release_signers.",
  "instance": "/…",
  "traceId": "…"
}

When it happens

Simulation of the transaction fails on-chain with this contract error: the combined approve_and_release_milestones action requires one wallet that holds both roles. It is raised when the signing wallet is in only one of roles.approvers or roles.release_signers.

How to fix it

Sign with a wallet listed in both roles.approvers and roles.release_signers, or run the approve and release steps separately with their respective signers.