Partial Outageshare-external
Issue with missing encypted parameters when sending flow example to test number to my server
2

Hello,

I'm currently implementing an endpoint for flows using these Facebook's Booking Appointments documentation https://developers.facebook.com/docs/whatsapp/flows/guides/implementingyourflowendpoint and this https://developers.facebook.com/blog/post/2024/02/27/appointments-with-whatsapp-flows/

I've set up my server and configured the private/public keys. When I send a Health Check to the setup endpoint, I receive the encrypted message with the parameters encrypted_aes_key, initial_vector, and encrypted_flow_data, which I can successfully decrypt, resulting in a successful Health Check request.

However, when I send a flow example to my test number, I don't receive these three parameters (encrypted_aes_key, initial_vector, and encrypted_flow_data). This causes my application to crash.

Could anyone provide guidance on why these parameters might be missing and how to resolve this issue?

Thank you in advance for your assistance.

André
Asked about 5 months ago
André

I added an PhotoPicker component from media upload to the flow, but the image I receive at the endpoint is not being decrypted.

https://developers.facebook.com/docs/whatsapp/flows/reference/flowjson/components/media_upload

June 28 at 9:21 AM
Bar

Hey André - are you still facing this issue?

July 31 at 10:30 AM
Selected Answer
1

Have you setup your business? https://developers.facebook.com/docs/whatsapp/flows/gettingstarted and registered the phone number to the business? https://developers.facebook.com/docs/whatsapp/cloud-api/phone-numbers

June 27 at 6:00 PM
Sherman
André

yes, i've already make all setup, and using the test number provided by meta, my other flows are working correctly without the flow endpoint. however, i'm having trouble with the encryption and decryption process for this specific flow endpoint.

June 28 at 9:17 AM