interactive flow not calling data_exchange api
1

I have defined a Flow for my Whatsapp Business. You can find the link to it below. This involves a data exchange with an API that is publicly accessible over TLS when I am testing.

While running the flow from the meta whatsapp business manager flows UI in interactive mode, I am getting the expected dynamic response. However when I send this flow to my personal Whatsapp account, I am receiving the message, but when I open it, I get the message that "Something went wrong" on a blank screen. I am unable to debug this further. Please help me understand what is the problem while testing with my phone.

SuperLuna
Pregunta realizada hace aproximadamente 5 meses
Respuesta seleccionada
1

Hi SuperLuna,

You can find the link to it below

can't find it unfortunately.

when I open it, I get the message that "Something went wrong" on a blank screen 1) Is your flow in draft mode currently?

2) Which flow_action are you using when you are sending the message? navigate or data_exchange? (see https://developers.facebook.com/docs/whatsapp/flows/gettingstarted/sendingaflow)? - If it's navigate, double check that you are sending correct screen name in the message. - If it's data_exchange, make sure that the public key is uploaded to the number which you are sending the message from (see https://developers.facebook.com/docs/whatsapp/cloud-api/reference/whatsapp-business-encryption#set-business-public-key)

31 de mayo a las 11:29 a. m.
Dmitry
SuperLuna
  1. the flow was in draft mode. i tried publishing it and made it live as well. it still did not work.

  2. it is a data_exchange flow. the public key is uploaded. given that it works well on the whatsapp business manager flows UI in interactive mode, i assume that the public key has been uploaded correctly.

is there any way to structurally identify what is the exact error code in executing the flow on the android/ios device? it would be great if there is a way to identify something that maps to the error codes mentioned in the below docs: 1. https://developers.facebook.com/docs/whatsapp/cloud-api/support/error-codes 2. https://developers.facebook.com/docs/graph-api/guides/error-handling#errorcodes

1 de junio a las 11:51 a. m.
Dmitry

if everything works in interactive preview, then the closest suspect is message payload content. Can you share an example of what you send in the "interactive" field when you invoke message sending API?

5 de junio a las 3:24 p. m.