STELLAR_TX_BAD_SEQ
The transaction sequence number is not the next expected one for the source account.
409 Conflict · transaction submission
Example
{
"type": "https://docs.trustlesswork.com/trustless-work/v2-en/api-rest/errors/stellar-tx-bad-seq",
"title": "Conflict",
"status": 409,
"code": "STELLAR_TX_BAD_SEQ",
"detail": "The transaction sequence number is not the next expected one for the source account. Reload the account and rebuild.",
"instance": "/…",
"traceId": "…"
}When it happens
The transaction's sequence number is stale — the source account moved on (another tx consumed it, or you re-submitted an old envelope).
How to fix it
Rebuild the transaction (call the build endpoint again), sign, and submit the fresh XDR.