부분 중단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일 오전 9: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일 오후 6: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일 오전 9:17