Why do I receive the error 422: Unable to Decrypt Data using the Card Component or Drop-In?

422 error message

If our system can’t decrypt the encrypted data you’re sending with your payment requests, you’ll receive the 422: Unable to Decrypt Data error message.


  1. Ensure your credentials for frontend authentication (origin key or client key) and for backend authentication (API key or basic authentication) are generated on the same API Credential.
  2. Check if these keys are generated in the same environment (test/live) as the endpoints you’re using. Don’t use keys generated on the test environment in requests to our live environment.
  3. Pass the encrypted values exactly how you collected them from the frontend. Make sure you’re not accidentally truncating or changing the values.
  4. Check if your payment request is structured in the correct way.

Tip: Learn more on encryption and decryption.

Let's practice

Learn more on this topic and practice what you’ve learned.

Go to your Customer Area
The illustration of support agent wearing a headset.

Do you need additional help?

Contact our support team

Send us the details of your issue by adding images or screenshots.

Submit a request