Posts under category Facebook WhatsApp Business API

This is the error we got after we use this link to authorize our whatsapp account for testing authorization
https://www.facebook.com/v20.0/dialog/oauth?response_type=token&display=popup&client_id=813375437548289&redirect_uri=https%3A%2F%2Fdevelopers.facebook.com%2Ftools%2Fexplorer%2Fcallback&auth_type=rerequest&config_id=890487576457728
It just go white after we select our verified phone number.We tried with different phone numbers . All go white after we verified them. What could be the issue?
```javascript p4ALoIvfokR.js:70 ErrorUtils caught an error:
Invalid stepID provided
Subsequent non-fatal errors won't be logged; see https://fburl.com/debugjs. ```

I'm in process of registering phone number to be used with Whatsapp API, when I try to generate access token for my phone number, I'm greeted with this alert.

There was a problem registering (my phone number). Unsupported post request. Object with ID '(phone_number_id)' does not exist, cannot be loaded due to missing permissions, or does not support this operation. Please read the Graph API documentation at https://developers.facebook.com/docs/graph-api

There also this message that tells me the phone number needs to be registered.

When I attempt to follow the link, it brings me to this page, it has instruction to follow and "certificate".

The these instruction link lead to documentation on how to register the phone number, however the top of documentation clearly state that this instruction no longer valid as of now because it is using on premise API. So I tried to find the one valid for cloud API, I found this documentation → https://developers.facebook.com/docs/whatsapp/cloud-api/reference/registration/

The documentation offers a way to register the phone number through API, below is the snippets I copied from the documentation.

curl 'https://graph.facebook.com/v21.0/106540352242922/register ' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer EAAJB...' \ -d ' {   "messaging_product": "whatsapp",   "pin": "212834" } 

The question is how do I get phone number ID if my phone number is not "registered" to begin with ? I tried to retrieve the phone number ID by following the link here → https://developers.facebook.com/docs/whatsapp/business-management-api/manage-phone-numbers#get-all-phone-numbers, but it only list the test phone number, my phone number does not appear.

{   "data": [     {       "verified_name": "Test Number",       "code_verification_status": "NOT_VERIFIED",       "display_phone_number": "+1 555-131-8955",       "quality_rating": "GREEN",       "platform_type": "CLOUD_API",       "throughput": {         "level": "STANDARD"       },       "id": "375420581369195"     }   ],   "paging": {     "cursors": {       "before": "xxxx",       "after": "xxxx"     }   } } 

I have been trying to create collections to organize my catalog items, but it appears that the collections feature is not functioning as expected. other community posts facing same issue:
https://developers.facebook.com/community/threads/430022226558492/?join_id=f8625f32d5ceb3f7d
https://developers.facebook.com/community/threads/1104416270863922/?join_id=f94e298b680f25352
https://developers.facebook.com/community/threads/222137454323396/?join_id=f03fb76ef0ee81fb7
https://developers.facebook.com/community/threads/1202862247527971/?join_id=f1446a6c8cfc502b8
this issue seems to be abandoned and forgotten, despite being crucial.

I'm encountering an issue with the WhatsApp Business API where template messages are not being received, despite getting a successful API response.

Issue: When sending an approved template message via the WhatsApp Business API, I receive a 200 success response, but the message is not delivered to the recipient's WhatsApp. However, normal text messages are received successfully.

Environment:

  • Using WhatsApp Business API

  • Sending messages via Postman

  • Have necessary token and phone number ID

  • Phone number registered and connected in Meta Business Manager

  • Message template approved

Template Message Payload:

{   "messaging_product": "whatsapp",   "to": "917xxxxxxxx",   "type": "template",   "template": {     "name": "billz_order",     "language": {       "code": "en_US"     },     "components": [       {         "type": "body",         "parameters": [           {             "type": "text",             "text": "₹500.00"           },           {             "type": "date_time",             "date_time": {               "fallback_value": "October 25, 2023"             }           }         ]       }     ]   } } 

API Response for Template Message:

{ "messaging_product": "whatsapp", "contacts": [ { "input": "91xxxxxxxxx", "wa_id": "917339249430" } ], "messages": [ { "id": "wamid.HBgMOTE3MzM5MjQ5NDMwFQIAERgSMkRERkFBRTRFRjNEMjA2RkM5AA==", "message_status": "accepted" } ] }

Test Message Payload (which works):

{   "messaging_product": "whatsapp",   "recipient_type": "individual",   "to": "911234567890",   "type": "text",   "text": {     "body": "This is a test message. Hello from WhatsApp API!"   } } 

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?

  1. Verified that the template is approved in the Meta Business Manager

  2. Confirmed that the phone number is correctly registered and connected

  3. Checked that the token and phone number ID are correct

  4. Ensured that the template payload matches the approved template structure


For some reason every single one of our Meta apps is showing a blank page for the following menu items:
Quickstart API Setup Configuration
See screenshot attached. This happening a few days ago.
Please assist urgently. This is a massive blocker for us, we cannot configure any of our Meta apps for whatsapp.
Thank you!