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é
تم طرح السؤال منذ حوالي ‏٣‏ أشهر
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

‏٢٨ يونيو‏‏٩:٢١ ص‏111
Bar

Hey André - are you still facing this issue?

‏٣١ يوليو‏‏١٠:٣٠ ص‏111
الإجابة المحددة
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

‏٢٧ يونيو‏‏٦:٠٠ م‏111
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.

‏٢٨ يونيو‏‏٩:١٧ ص‏111