# whatsapp_template_not_approved (/errors/whatsapp_template_not_approved)

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

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

Only templates WhatsApp has approved can be sent. The message says the current status (for example PENDING, REJECTED or PAUSED). Wait for approval or fix the template, then retry.

## 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 template is not approved.",
  "error": {
    "type": "conflict_error",
    "code": "whatsapp_template_not_approved",
    "message": "The template is not approved.",
    "param": null,
    "docUrl": "https://docs.callmitra.ai/errors/whatsapp_template_not_approved",
    "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