Skip to Content
CallMitraDocs
Errors

dial_rejected

The carrier rejected the call.

HTTP statusTypeCode
400invalid_request_errordial_rejected

What it means

The carrier refused the dial before it rang, usually because the destination or caller number is not valid for it. The message has the carrier's reason; the failed call is recorded and its id is in detail.call.id.

How to handle it

Fix the request before sending it again; retrying the same request returns the same error. error.param names the offending field when there is one.

Example response

{
  "detail": "The carrier rejected the call.",
  "error": {
    "type": "invalid_request_error",
    "code": "dial_rejected",
    "message": "The carrier rejected the call.",
    "param": null,
    "docUrl": "https://docs.callmitra.ai/errors/dial_rejected",
    "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 now
  • POST /api/v1/instant/call-now — Call a lead in a campaign now
  • POST /api/v1/calls/ — Place a call

On this page