Help Center

Error Codes & API Usage Analytics

Handle standardized API error responses, interpret WhatsApp delivery ErrorCode values, and monitor traffic in Settings.

REST API Error Payload & Codes

All 4xx and 5xx REST responses follow a consistent JSON structure with an api_id reference ID, a readable error description, a machine-readable error_code, and an optional hint explaining how to resolve the request.

FieldTypeDescription
AUTH_MISSING / AUTH_MALFORMED401Missing or malformed HTTP Basic Authorization header.
AUTH_ID_MISMATCH / AUTH_INVALID401URL Auth ID does not match the Basic username, or the credential is invalid or revoked.
API_NOT_AVAILABLE403Public API access is not enabled for this workspace.
WHATSAPP_NOT_CONNECTED / SRC_MISMATCH400No active WhatsApp number is connected, or src does not match your connected number.
TEMPLATE_NOT_FOUND / NOT_APPROVED400 / 404Template or WABA was not found, or the template has not been approved by Meta yet.
TEMPLATE_PARAMS_MISMATCH400Submitted variable parameters do not match the template's defined placeholders.
CALLBACK_URL_INVALID400Callback URL must be a valid public https:// URL.
RATE_LIMITED429Request rate exceeded; pause until the Retry-After duration passes.
META_UNAVAILABLE / QUEUE_FAILED502 / 500Upstream WhatsApp delivery or queueing error; retry shortly and quote api_id if contacting support.
jsonExample 400 error response
{
  "api_id": "9f82a021-38c1-44df-b2a1-5b1f0f8190aa",
  "error": "src is not the WhatsApp Business number connected to this account.",
  "error_code": "SRC_MISMATCH",
  "hint": "Set src to the connected number (ends in 0001)."
}

Delivery Callback Error Codes

When WhatsApp cannot deliver a message, status callbacks and GET /Message/{message_uuid}/ return an ErrorCode and explanatory ErrorMessage covering common failure causes as well as upstream Meta delivery codes.

FieldTypeDescription
310 (Meta 133010)deliverySending phone number is not registered on the WhatsApp Business Platform.
330 (Meta 131051)deliveryUnsupported WhatsApp message type.
340 (132001 / 15 / 16)deliveryTemplate does not exist in that language, is unapproved, paused, or disabled.
350 (132000 / 05 / 12)deliveryTemplate parameter count, length, or format does not match the approved template.
360 (Meta 131031)deliveryWhatsApp Business Account is restricted or failed verification.
370 (130429 / 48 / 56)deliverySending rate limit or quality restriction reached for this business number.
380 / 131047deliveryOutside the 24-hour customer reply window; send an approved template message instead.
131049 / 131026deliveryMeta frequency capping (131049) or recipient unavailable on WhatsApp (131026).

API Usage Dashboard (/settings/api-usage)

Monitor API volume, errors, and webhook deliveries directly in WBMSG by opening Settings → Advanced Settings → View usage (/settings/api-usage).

Select 24h, 7d, or 30d views to inspect total request counts, endpoint breakdowns, per-credential traffic, top failure reasons, individual failed requests, message status history, and webhook callback attempt logs.

💡When troubleshooting webhook issues, open the Callback Attempts view inside /settings/api-usage to inspect exact response status codes, failure reasons, and delivery latency.
Still need help with Developer API?
Start free with 500 monthly messages or message our team directly.