> ## Documentation Index
> Fetch the complete documentation index at: https://docs.wavix.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Service unavailable

> The service was temporarily unavailable and couldn't take the request or the message.

**Error code:** `SERVICE_UNAVAILABLE`

**Should you try again?** Yes, after a short wait.

## How to fix it

1. For an API response, send the request again with exponential backoff. To avoid sending a message twice, send the same `idempotency_key` with each retry.
2. For a delivery error, Wavix already sent the message again itself before it reported the error. Send the message again later, as a new request with a new `idempotency_key`. A request with the same key returns the original message and sends nothing.
3. If the error persists, contact [support@wavix.com](mailto:support@wavix.com). For an API response, include the `instance` value. For a delivery error, include the message ID (`uuid`, or `message_uuid` in the event).

## Technical details

| Detail | Value |
| - | - |
| Returned in | The response to an API request, or a delivery error: the `whatsapp.message.failed` event in `data.error`, and the `error` field of [Retrieve a WhatsApp message](https://docs.wavix.com/api-reference/whatsapp/retrieve-a-whatsapp-message.md) and [List WhatsApp messages](https://docs.wavix.com/api-reference/whatsapp/list-whatsapp-messages.md) |
| HTTP status | `503` (API response only) |
| Code | `SERVICE_UNAVAILABLE`: `error_code` in an API response, `code` in a delivery error |
| `error_class` | `retriable` (API response only) |
| `subcode` | `null`: this code has no subcodes (delivery error only) |
| `action` | `resend_later` (delivery error only) |

For the error format and how to handle it, see [Request errors](https://docs.wavix.com/api-reference/errors.md#request-errors) and [WhatsApp delivery errors](https://docs.wavix.com/messaging/whatsapp/troubleshooting.md#how-delivery-errors-reach-you).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.