@solana/kit · React hooks

Solana error #9000001

REACT__MISSING_CAPABILITY

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

Message

`$hookName` requires the following capabilities to be installed on the client: [$capabilities]. $providerHint

Placeholders (hookName, capabilities, providerHint) are filled from the error’s context. Paste the base64 argument below to see the real values.

What it means

Misuse of the Kit React hooks.

What to do

  • Check that the wallet account supports the feature the hook needs and that the chain is supported.

Decode it locally instead

npx @solana/errors decode -- 9000001 '<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__REACT__MISSING_CAPABILITY) lets you branch on it.

Decode another error

Try: