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

ESCROW_ONLY_PLATFORM_ADDRESS_CAN_EXECUTE

Only the platform address can perform this action.

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

Example

{
  "type": "https://docs.trustlesswork.com/trustless-work/v2-en/api-rest/errors/escrow-only-platform-address-can-execute",
  "title": "Forbidden",
  "status": 403,
  "code": "ESCROW_ONLY_PLATFORM_ADDRESS_CAN_EXECUTE",
  "detail": "Only the platform address can perform this action.",
  "instance": "/…",
  "traceId": "…"
}

When it happens

Simulation of the transaction fails on-chain with this contract error: Only the platform address can perform this action.

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.