Hi Mohammad Imran,
I'm glad that you were able to resolve your issue and thank you for posting your solution so that others experiencing the same thing can easily reference this!
Since the Microsoft Q&A community has a policy that "The question author cannot accept their own answer. They can only accept answers by others ", I'll repost your solution in case you'd like to "Accept " the answer.
Issue:
ACS WhatsApp Messages are Not Being Delivered
Solution:
I think I found the issue. I have been testing using template which also need a document to be sent in the message. I just tested with only text message, and it worked. Now I need to find what is the issue with document URI. Btw, I'm sending a link of pdf document from storage account with SAS token in the URI. Will need to understand if there is any limitation regarding this either from ACS or Meta.
Regarding your question about using named variables with template-based messages in ACS, currently, named variables usage might not be fully supported or documented for ACS. The Microsoft docs do predominantly refer to number variables, which must be maintained in sequence.
You must send values using positional parameters (e.g., {{1}}
, {{2}}
) in the exact order defined in the template, because named parameters are not supported by ACS yet.
Please click Accept Answer and kindly upvote it so that other people who faces similar issue may get benefitted from it.