@solana/kit · Addresses and PDAs

Solana error #2800010

ADDRESSES__PDA_ENDS_WITH_PDA_MARKER

Appears as Solana error #2800010; Decode this error by running `npx @solana/errors decode -- 2800010 '…'`

Message

Program address cannot end with PDA marker.

What it means

Base58 address validation and program derived address derivation.

What to do

  • Addresses must decode to exactly 32 bytes; PDA seeds must be 32 bytes or fewer and at most 16 of them.
  • Use the PDA tool on this site to reproduce the derivation and compare bytes.

Decode it locally instead

npx @solana/errors decode -- 2800010 '<base64 context>'

In development, import from @solana/kit as usual and the full message is thrown. In production the message is stripped to keep bundles small; the error object still carries error.context with the same values this page decodes, and isSolanaError(err, SOLANA_ERROR__ADDRESSES__PDA_ENDS_WITH_PDA_MARKER) lets you branch on it.

Decode another error

Try: