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

STELLAR_TX_BAD_AUTH

The transaction signature does not match the source account, or required signers are missing.

422 Validation Error · transaction submission

Example

{
  "type": "https://docs.trustlesswork.com/trustless-work/v2-en/api-rest/errors/stellar-tx-bad-auth",
  "title": "Validation Error",
  "status": 422,
  "code": "STELLAR_TX_BAD_AUTH",
  "detail": "The transaction signature does not match the source account, or required signers are missing.",
  "instance": "/…",
  "traceId": "…"
}

When it happens

A signature is missing or wrong for the source account.

How to fix it

Sign the envelope with the wallet that owns the source account, without altering the XDR.