Skip to Content
CallMitraDocs
Errors

ticket_reply_blocked

The reply cannot be sent to the customer.

HTTP statusTypeCode
409conflict_errorticket_reply_blocked

What it means

Nothing was sent. detail.code says why: replies_off (customer replies are turned off in ticket settings), no_number or number_offline (no connected WhatsApp number to reply from), no_phone (the lead has no valid phone number), dnc (the customer is on do-not-contact), opted_out (the customer opted out of WhatsApp), window_closed (the 24-hour window is closed: send templateEvent instead of text), or another reason in detail.message.

How to handle it

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

Example response

{
  "detail": "The reply cannot be sent to the customer.",
  "error": {
    "type": "conflict_error",
    "code": "ticket_reply_blocked",
    "message": "The reply cannot be sent to the customer.",
    "param": null,
    "docUrl": "https://docs.callmitra.ai/errors/ticket_reply_blocked",
    "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/tickets/{ticket_id}/replies — Reply to the customer

On this page