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

ESCROW_UNAUTHORIZED_APPROVER

Caller is not in roles.approvers.

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-unauthorized-approver",
  "title": "Forbidden",
  "status": 403,
  "code": "ESCROW_UNAUTHORIZED_APPROVER",
  "detail": "Caller is not in roles.approvers.",
  "instance": "/…",
  "traceId": "…"
}

When it happens

Simulation of the transaction fails on-chain with this contract error: Caller is not in roles.approvers.

How to fix it

Build and sign the transaction with a wallet that holds the required role on this escrow (check the escrow's roles with a read endpoint), or update the roles first.