部分中斷share-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é
已發問 約 5 個月前
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

6月28日 09:21
Bar

Hey André - are you still facing this issue?

7月31日 10:30
已選擇的答案
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

6月27日 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.

6月28日 09:17