Stripe | Financial Infrastructure to Grow Your Revenue

Stripe | Financial Infrastructure to Grow Your Revenue

5282 articles

Error handling


Private preview

Error handling Private preview

Handle errors that occur during on-ramp sessions.

For general error handling, see the Stripe error handling guide.

For error codes specific to the cryptocurrency on-ramp, see Cryptocurrency on-ramp error codes.

Web

React Native

Android

iOS

API errors

Transaction blocked errors

Transactions can be blocked to meet compliance or risk requirements. For compliance reasons, Stripe can’t provide additional details about why a specific transaction was blocked. If you believe a transaction was blocked incorrectly, contact Stripe.

Error codeDescriptionHow to handle
crypto_onramp_transaction_blockedThe transaction was blocked to meet compliance or risk requirements.Show a generic error message. If you believe the transaction was blocked incorrectly, contact Stripe.

Note

When testing, use the test values to avoid triggering compliance or risk checks.

Wallet ownership verification errors

The getWalletOwnershipChallenge and submitWalletOwnershipSignature EU Travel Rule wallet ownership methods reject with an error whose code is one of the following:

codeDescriptionHow to handle
the related settingThe wallet isn’t registered on the authenticated user.Register the wallet with registerWalletAddress, then request a new challenge.
the related settingThe network doesn’t support wallet ownership verification. It only supports EVM-compatible networks and Solana.Don’t retry with this network.
the related settingThe challenge expired.Request a new challenge, collect a new signature, then submit again.
the related settingThe challenge is invalid or was already used.Request a new challenge, then submit again.
the related settingThe signature doesn’t prove control of the wallet.Restart the full challenge and signing flow. Don’t resubmit the same signature.

These codes are consistent across the web, React Native, Android and iOS SDKs. Other failures – such as an unauthenticated user or a rate-limited request – aren’t specific to wallet ownership verification and reject with the non-specific the related setting code. Handle them with your general error handling.

Last verified 2026-09-25

Is this helpful?