Skip to Content
CallMitraDocs
Errors

campaign_leads_need_confirmation

Some leads were already contacted in this campaign.

HTTP statusTypeCode
409conflict_errorcampaign_leads_need_confirmation

What it means

Removing a lead that was already called archives it from the dial queue (its call history stays). detail.leadIds lists those leads; resend the request with confirmRemovedContacted: true to remove them anyway.

How to handle it

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

Example response

{
  "detail": "Some leads were already contacted in this campaign.",
  "error": {
    "type": "conflict_error",
    "code": "campaign_leads_need_confirmation",
    "message": "Some leads were already contacted in this campaign.",
    "param": null,
    "docUrl": "https://docs.callmitra.ai/errors/campaign_leads_need_confirmation",
    "requestId": "req_3f9c2a7d1b8e4c6a9f0e2d4b6a8c0e1f"
  }
}

Branch on error.code; it never changes once published. The message text can change. See Errors for the envelope.

Returned by

  • PUT /api/v1/campaigns/{campaign_id}/leads — Add or remove leads

On this page