Posts under category Facebook WhatsApp Business API

Hi Team
Issue is no matter what and which type of template i create, even though its approved and active, still with that template if i want to communicate with my supporters its giving a generic error. Its as follows :
Error: {"message":"(#135000) Generic user error","type":"OAuthException","code":135000,"error_data":{"messaging_product":"whatsapp","details":"Generic user error"},"fbtrace_id":"AgdfBSttB2OBdct8nGIIY3a"}
There is no issues with account quality or template quality, but couldn't send any messages, please resolve this as soon as possible, we are unable to send any campaigns.
Thank you for your prompt attention to this matter.

While working on the message templates for Whatsapp business account, all templates have suddenly disappeared from Whatsapp manager. Templates are not lost or deleted, if i make queries via graph API, i can get a list of templates. But they are no longer visible. Also, there is a dropdown button on the top-right corner with the list of WA accounts, which had shown my accounts - well, recently at least. Now the list is empty too. Accounts themselves are accessible, just not visible in the dropdown. Looking ad devtools requests, found this: {"errors":[{"message":"Rate limit exceeded","severity":"CRITICAL","mids":["49c9f681234212bf21bfa623f02dffbb"],"code":3252001,"api_error_code":368,"summary":"You\u2019re Temporarily Blocked","description":{"__html":"It looks like you were misusing this feature by going too fast. You\u2019ve been temporarily blocked from using it."},"description_raw":{"__html":"It looks like you were misusing this feature by going too fast. You\u2019ve been temporarily blocked from using it."},} - and some more metadata, not very informative.

Yesterday all templates suddenly stopped working, even with different numbers associated with the app. Meta returns the following response:
{ "error": { "message": "(#135000) Generic user error", "type": "OAuthException", "code": 135000, "error_data": { "messaging_product": "whatsapp", "details": "Generic user error" }, "fbtrace_id": "AvBt1NvrjsxKhrhe3GS8V1b" } }
What should I do or who can I contact to solve this issue?

WhatsApp Business Cloud API: Message Accepted but Not Delivered

I’m using the WhatsApp Business Cloud API to send a template message. The API request returns a status of "accepted," but the recipient is not receiving the message.

Request Details:

  • Request URL:

    POST https://graph.facebook.com/v20.0/<phone_number_id>/messages 
  • Request Body:

    {     "messaging_product": "whatsapp",     "recipient_type": "individual",     "to": "<Mobile Number>",     "type": "template",     "template": {         "name": "booking_details",         "language": {             "code": "en"         },         "components": [             {                 "type": "body",                 "parameters": [                     {"type": "text", "text": "chennai"},                     {"type": "text", "text": "salem"},                     {"type": "text", "text": "tn15505"},                     {"type": "text", "text": "star"},                     {"type": "text", "text": "23.02.2024"},                     {"type": "text", "text": "koyambedu"},                     {"type": "text", "text": "bus stand"},                     {"type": "text", "text": "10:00 a.m."},                     {"type": "text", "text": "₹5055"},                     {"type": "text", "text": "L1/S,L2/S"}                 ]             },             {                 "type": "button",                 "sub_type": "quick_reply",                 "index": "0",                 "parameters": [                     {                         "type": "payload",                         "payload": "PAYNOW_PAYLOAD"                     }                 ]             },             {                 "type": "button",                 "sub_type": "quick_reply",                 "index": "1",                 "parameters": [                     {                         "type": "payload",                         "payload": "CHANGE_DETAILS_PAYLOAD"                     }                 ]             }         ]     } } 

Response:

{     "messaging_product": "whatsapp",     "contacts": [         {             "input": "receiver",             "wa_id": "id"         }     ],     "messages": [         {             "id": "wamid.HBgMOTE4MDU2MTg1NjI5FQIAERgSMUQwQzU3MjVENDBBMEQ5NTk5AA==",             "message_status": "accepted"         }     ] } 

What I've Tried:

  • Verified that the template is approved and matches the template ID.
  • Confirmed the recipient's phone number is registered with WhatsApp.
  • Ensured the phone_number_id and access token are correct.
  • Checked that the recipient has opted in to receive messages.
  • Verified there's no issue with my WhatsApp Business Account (no low-quality rating or rate limiting).

Despite the message being accepted, it’s not delivered to the recipient. What could be the reasons for this, and how can I troubleshoot or resolve this issue?

I have been playing with this now for a week and can't seems to find a solution. Whatsapp Business API is set up and working 100% in Live. I have verified my Webhook but are not able to see any data coming into the webhook file since the verification. Many variations of code have been tried to get data but still I don't see any data on the file, even when testing from the Quickstart > Configuration page.

The code I am currently running is from an answer provided by @Tarik at the following post: (for facebook itself but coding is the same) Facebook Messenger API - Can't verify webhook URL (PHP)

My webhook.php file is:

$message = date('Y-m-d H:i:s'); foreach ($_REQUEST as $key => $value){     $message .= "$key => $value (".$_SERVER['REQUEST_METHOD'].")\n"; } $input = file_get_contents("php://input"); $array = print_r(json_decode($input, true), true); file_put_contents('log.txt', $message.$array."\nREQUEST_METHOD: $_SERVER[REQUEST_METHOD]\n----- Request Date: ".date("d.m.Y H:i:s")." IP: $_SERVER[REMOTE_ADDR] -----\n\n", FILE_APPEND); if ( isset($_REQUEST['hub_challenge']) ){     echo $_REQUEST['hub_challenge']; } 

When sending a test from the Webhook Configuration page, the log.txt file only returns this:

2024-08-08 13:17:38 REQUEST_METHOD: GET ----- Request Date: 08.08.2024 13:17:38 IP: 173.252.107.116 ----- 

I am a bit stuck here and also lost on ideas. Can anyone advise me how to actually read the data I should receive on the webhook? I was considering playing with the verification token to see if Meta require it for some sort of asynchronous communication but that don't seem to be the case. Any assistance will be appreciated.