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é
Ditanyakan sekitar 3 bulan yang lalu
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

28 Juni pukul 09.21
Bar

Hey André - are you still facing this issue?

31 Juli pukul 10.30
Jawaban yang Dipilih
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

27 Juni pukul 18.00
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.

28 Juni pukul 09.17