opengovsg / postmangovsg

Templated message sending for public officers
https://postman.gov.sg
60 stars 16 forks source link

fix: use normalised recipient in templateMessageToSend #2214

Closed jia1 closed 1 year ago

jia1 commented 1 year ago

We previously fixed normalising recipient before querying flamingo for which WA client id to use.

But, resend failed because recipient in templateMessageToSend is not normalised.

jia1 commented 1 year ago

For now, we are not merging until we have an idea of the root cause.

jia1 commented 1 year ago

Found root cause: https://developers.facebook.com/docs/whatsapp/on-premises/reference/contacts/ Cmd+F "predictable"