ESCROW_UNAUTHORIZED_TO_CHANGE_DISPUTE_FLAG
Caller is not authorized to change the dispute flag.
403 Forbidden · escrow contract error · all variants (single/multi × v1/v2)
Example
{
"type": "https://docs.trustlesswork.com/trustless-work/v2-en/api-rest/errors/escrow-unauthorized-to-change-dispute-flag",
"title": "Forbidden",
"status": 403,
"code": "ESCROW_UNAUTHORIZED_TO_CHANGE_DISPUTE_FLAG",
"detail": "Caller is not authorized to change the dispute flag.",
"instance": "/…",
"traceId": "…"
}When it happens
Simulation of the transaction fails on-chain with this contract error: Caller is not authorized to change the dispute flag.
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.