# whatsapp_window_closed (/errors/whatsapp_window_closed)

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

## What it means [#what-it-means]

Free-form messages (text, media, interactive, location, contacts) can only be sent within 24 hours of the customer's last message. Send an approved template instead; the window opens again when the customer replies.

## 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 24-hour customer service window is closed.",
  "error": {
    "type": "conflict_error",
    "code": "whatsapp_window_closed",
    "message": "The 24-hour customer service window is closed.",
    "param": null,
    "docUrl": "https://docs.callmitra.ai/errors/whatsapp_window_closed",
    "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/whatsapp/messages` — Send a WhatsApp message