Skip to Content
CallMitraDocs
Errors

campaign_no_eligible_leads

No leads available for calling.

HTTP statusTypeCode
409conflict_errorcampaign_no_eligible_leads

What it means

Every lead on the campaign is already called, scheduled for a retry later, or blocked by the do-not-call list. details gives the total and eligible counts. Add leads with PUT /campaigns/{campaignId}/leads.

How to handle it

Fetch the resource again to see its current state, then decide whether to retry.

Example response

{
  "detail": "No leads available for calling.",
  "error": {
    "type": "conflict_error",
    "code": "campaign_no_eligible_leads",
    "message": "No leads available for calling.",
    "param": null,
    "docUrl": "https://docs.callmitra.ai/errors/campaign_no_eligible_leads",
    "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