# ticket_reply_blocked (/errors/ticket_reply_blocked)

| HTTP status | Type | Code |
| --- | --- | --- |
| 409 | `conflict_error` | `ticket_reply_blocked` |

## What it means [#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 [#how-to-handle-it]

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

## Example response [#example-response]

```json
{
  "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](/errors) for the envelope.

## Returned by [#returned-by]

- `POST /api/v1/tickets/{ticket_id}/replies` — Reply to the customer