Errors
whatsapp_upstream_unavailable
WhatsApp could not take the message right now.
| HTTP status | Type | Code |
|---|---|---|
| 503 | api_error | whatsapp_upstream_unavailable |
What it means
WhatsApp had a temporary problem and did not accept the message, so nothing was delivered. Retry after the Retry-After header with the same Idempotency-Key.
How to handle it
Retry with exponential backoff. If it keeps failing, contact support and include the requestId from the response.
Example response
{
"detail": "WhatsApp could not take the message right now.",
"error": {
"type": "api_error",
"code": "whatsapp_upstream_unavailable",
"message": "WhatsApp could not take the message right now.",
"param": null,
"docUrl": "https://docs.callmitra.ai/errors/whatsapp_upstream_unavailable",
"requestId": "req_3f9c2a7d1b8e4c6a9f0e2d4b6a8c0e1f"
}
}Branch on error.code; it never changes once published. The message text can change. See Errors for the envelope.
Returned by
POST /api/v1/whatsapp/messages— Send a WhatsApp message