Errors
dial_failed
Failed to place outbound call.
| HTTP status | Type | Code |
|---|---|---|
| 502 | api_error | dial_failed |
What it means
The carrier could not be reached or returned an error. The failed call is recorded (detail.call.id); retry, and check the number's carrier credentials if it keeps failing.
How to handle it
Retry with exponential backoff. If it keeps failing, contact support and include the requestId from the response.
Example response
{
"detail": "Failed to place outbound call.",
"error": {
"type": "api_error",
"code": "dial_failed",
"message": "Failed to place outbound call.",
"param": null,
"docUrl": "https://docs.callmitra.ai/errors/dial_failed",
"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/leads/{lead_id}/call-now— Call a lead nowPOST /api/v1/instant/call-now— Call a lead in a campaign nowPOST /api/v1/calls/— Place a call