@solana/kit · React hooks
Solana error #9000000
REACT__MISSING_PROVIDER
Appears as Solana error #9000000; Decode this error by running `npx @solana/errors decode -- 9000000 '…'`
Message
`$hookName` was called outside of a `ClientProvider`. Mount a `<ClientProvider client={client}>` in the ancestor tree.
Placeholders (hookName) 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 -- 9000000 '<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_PROVIDER) lets you branch on it.