Tx Doctor / Solana error library / Invalid target owner

Raydium AMM 26 (0x1a)0x1a

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

How to fix it

  1. Derive the target orders PDA from this pool's program ID and pool state instead of copying it from another pool.
  2. Fetch the pool account and read the target orders key it records; pass exactly that.
  3. If you are not touching order-based liquidity, use a route that does not require target orders at all.
  4. 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

Related Solana errors

Not enough tick array accounts

Raydium CLMM 6023 (0x1787)

Not enough remaining accounts

Raydium LaunchLab 6018 (0x1782)

Expected mint

Raydium AMM 2 (0x2)

Wrong accounts number

Raydium AMM 24 (0x18)

Position not empty — cannot close

Raydium CLMM 6003 (0x1773)

Tick out of range

Raydium CLMM 6004 (0x1774)