Reputation: 1
I am working on WhatsApp integration using the WhatsApp Cloud API. I successfully generated a test number after completing the WhatsApp Business Login process. However, when I try to send a message using this test number through the API, I receive the following error:
{"error": {"message": "The account is not registered","type": "OAuthException","code": 133010,"error_subcode": 2593006,"is_transient": false,"error_user_title": "Account does not exist","error_user_msg": "Account does not exist in Cloud API. Please use/register API to create an account first.","fbtrace_id": "Avju9R0h5nI7P8EYGmhLtMe"}}
What I Have Done So Far:
Generated a test number via Meta Developer Console.
Checked the test number in the Meta Business Manager under WhatsApp settings.
Verified API permissions (whatsapp_business_messaging
, whatsapp_business_management
).
Attempted to send a message using the following API request:
curl -X POST "https://graph.facebook.com/v18.0/YOUR_PHONE_NUMBER_ID/messages" \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"messaging_product": "whatsapp",
"to": "RECIPIENT_PHONE_NUMBER",
"type": "text",
"text": {
"body": "Hello, this is a test message from WhatsApp Cloud API!"
}
}'
👉 Expected Output: The message should be sent successfully.
❌ Actual Output: The "Account does not exist" error.
How do I activate the test number so it can send and receive messages?
Do I need to manually register the test number before using it with the Cloud API?
What additional steps are required after generating a test number for successful message delivery?
Are there any settings in the Meta Business Manager that need to be enabled for the test number to work?
Upvotes: 0
Views: 16