Tx Doctor / Solana error library / Invalid target owner
Solana error: Invalid target owner (0x1a)
The target-orders account is not owned by the authority the pool expects. Target orders hold the pool's OpenBook order state and must belong to this specific pool.
Why it happens
- The target orders account was derived for a different pool or market and pasted into the transaction.
- A pool was forked and the target orders account was recreated without updating the pool's recorded owner.
- The pool predates a program upgrade that changed how target orders ownership is validated.
- A client cached the account list from another pool on the same market.
How to fix it
- Derive the target orders PDA from this pool's program ID and pool state instead of copying it from another pool.
- Fetch the pool account and read the target orders key it records; pass exactly that.
- If you are not touching order-based liquidity, use a route that does not require target orders at all.
- On old pools, verify against a known-good transaction before assuming your derivation is right.
What it looks like in the logs
Program 675kPX9MHTjS2zt1qfr1NYHuzeLXfQM9H24wFSUt1Mp8 failed: custom program error: 0x1a RPC simulation: Transaction simulation failed: Error processing Instruction: custom program error: 0x1a Wallet UI: "Transaction failed" — custom program error 0x1a (26)
One failure, three places it shows up: the raw transaction log, the RPC simulation error, and the wallet's short message. Match on the code, never on the wording.
What this means for your funds
Solana transactions are atomic: if any instruction fails, every state change in that transaction is reverted, so token balances end exactly where they started. The network fee is still charged, because validators did the work of executing and rejecting it. A failed transaction never moves your tokens to someone else.
Seeing this error right now? Paste your transaction signature and get the exact instruction, program and code that failed.
Diagnose my transaction