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

STELLAR_TX_CONTRACT_NOT_ALLOWED

Transaction invokes a contract this API does not manage.

422 Validation Error · request handling

Example

{
  "type": "https://docs.trustlesswork.com/trustless-work/v2-en/api-rest/errors/stellar-tx-contract-not-allowed",
  "title": "Validation Error",
  "status": 422,
  "code": "STELLAR_TX_CONTRACT_NOT_ALLOWED",
  "detail": "Transaction invokes a contract this API does not manage.",
  "instance": "/…",
  "traceId": "…"
}

When it happens

The invoked contract is not a Trustless Work factory or a known escrow.

How to fix it

Only submit transactions that target Trustless Work contracts. If this is a fresh deploy, submit the exact XDR the deploy endpoint returned.