infobip-api-php-client icon indicating copy to clipboard operation
infobip-api-php-client copied to clipboard

WHATSAPPAPI USING API TEMPLATE

Open FMPAUL1 opened this issue 1 year ago • 8 comments

HELLO , my template is verified already, when i try sending whatsapp message with the default sender i.e 44 to my registgered sender it is successfull but when i use my phone number that is registered and verified as the sender and the template that is also approved, i get this "Failed to match template parameters (code: 7008)" in my LOG.... i have funded my accounts, done everything i know... the placeholder , i ensured i placed the actual parameter yet it still not delivering

FMPAUL1 avatar Sep 03 '24 01:09 FMPAUL1

Outbound WhatsApp messages Undeliverable - Handset errors Failed to match template parameters (code 7008) Reason: UNDELIVERABLE_REJECTED_OPERATOR

dbhardwaj-busy avatar Nov 25 '24 09:11 dbhardwaj-busy

we are also facing same issue Outbound WhatsApp messages Undeliverable - Handset errors Failed to match template parameters (code 7008) Reason: UNDELIVERABLE_REJECTED_OPERATOR

dbhardwaj-busy avatar Nov 25 '24 09:11 dbhardwaj-busy

Hi @FMPAUL1 and @dbhardwaj-busy, thank you very much for the reported issue and I'm sorry for the late reply.

Could you please share the actual code you are using to send WhatsApp template messages? Also, have you maybe tried calling the API directly? Do you get the same response?

As a matter of fact, for this particular issue, I recommend to contact us on [email protected] directly. However, please provide the answers to my questions above and we'll try to find where the issue is.

Best regards, Filip

ib-fsrnec avatar Dec 16 '24 20:12 ib-fsrnec

  • use this json body as below, and be sure that your template status is "Active - Quality pending" and the language should be the same, for the example below i'm using "en_US"

  • the API key, should have all scopes needed at least whatsapp one

  • for my case i have bought a number from infobip to test with and already approved in Meta business portal FYI: i tried Postman, and infobip support is very baaaaad Capture d’écran 2024-12-27 173600 Capture d’écran 2024-12-27 173356

{
  "messages": [
    {
  "from": "your purchased number",
  "to": "destination number",
      "content": {
        "templateName": "authentication template name",
        "templateData": {
          "body": {
            "placeholders": [
              "12345667"
            ]
          },
          "buttons": [
            {
              "type": "URL",
              "parameter": "12345667"
            }
          ]
        },
        "language": "en_US"
      }
    }
  ]
}

salimido avatar Dec 27 '24 16:12 salimido

I'm having the exact same issue

TommyGun-hyphen avatar Jan 28 '25 16:01 TommyGun-hyphen

Thank you Salimido, it solved issue at my side.

iurahul avatar Mar 16 '25 05:03 iurahul

Thank you Salimido, it solved issue at my side.

How did you solve it?

ViniciusCarvalhoDev avatar Jun 25 '25 13:06 ViniciusCarvalhoDev

hello i'm facing the same issue here did you guy fix it?

Rayan-Allali avatar Oct 05 '25 16:10 Rayan-Allali