The business-decryption-error occurs when the client receives a 421 error code from the business even after refreshing the public key. This issue prevents successful decryption of messages and disrupts WhatsApp Flows.

What Causes business-decryption-error?

This error typically happens due to:

  1. Outdated or Incorrect Public Key – The business’s public key may not be correctly refreshed or uploaded.

  2. Key Mismatch Issues – The encryption key used does not match the expected key for the WhatsApp API.

  3. WhatsApp Server or Business API Issues – A temporary problem on WhatsApp’s side may affect decryption.

How to Fix the business-decryption-error

Follow these steps to resolve the issue:

1. Re-upload the Flow's Public Key

  • Go to Meta Business Manager and check if the correct Flow public key is uploaded.

  • If not, re-upload the key and ensure it is correctly linked to the associated phone number.

2. Refresh the Public Key and Retry

Refresh the public key by generating a new one if necessary. Retry sending the Flow after updating the key.

3. Verify Key Consistency

Ensure that the encryption and decryption processes use the same key. Confirm that all API requests are correctly formatted.

4. Contact WhatsApp Support

If the issue persists, reach out to WhatsApp Business SupportProvide details such as error logs, phone number, and API request payloads to expedite troubleshooting.

By following these steps, you can fix the business-decryption-error and restore proper message decryption in WhatsApp Flows. For more troubleshooting tips related to WhatsApp API, check out heltar.com/blogs.