# provider_unavailable: HTTP 503
URL: https://emailforagents.ai/docs/errors/provider_unavailable
Summary: A dependency outside this system, the mail provider, did not respond usefully, so the operation could not be completed now. What triggers it in the implementation, and how to resolve it.

## provider_unavailable

HTTP 503 Retry with backoff REST API

A dependency outside this system, the mail provider, did not respond usefully, so the operation could not be completed now.

### How to fix it

1. Retry with backoff when the message says to try again shortly. Those responses carry retryable: true.
2. Do not retry a paused inbox provisioning. Contact support with the request id from the response; the address is already reserved and retrying can only add ambiguity.
3. Keep the request id. Every response carries x-request-id and it is the fastest way to have one specific attempt looked at.
4. Distinguish this from temporarily_unavailable. This code points at the mail provider; the other points at this service or its own dependencies.

### Which rule fired

This code is reserved for the provider boundary specifically, which is why it is distinct from temporarily_unavailable. It covers provisioning that is not configured, a provider status check that failed, and inbox or domain set-up whose outcome at the provider is unknown. The case worth understanding is the ambiguous one: when a provider inbox creation cannot be confirmed either way, the address reservation is kept and the inbox is left paused rather than released, and the message tells you to contact support with the request id before retrying. That is not a generic outage message, it is an instruction not to retry into an unknown state.

| In error.message | Means |
| --- | --- |
| `Live inbox provisioning is not configured.` | Creating a live inbox when live inbox provisioning is not configured on this deployment. |
| `The exact address is reserved and paused because provider creation could not be confirmed. Contact support with this request ID before retrying.` | Provider inbox creation on the platform domain could not be confirmed. The address stays reserved, the inbox stays paused, and retryable is false. |
| `Provider creation completed but activation could not be confirmed. The address remains reserved; contact support with this request ID.` | The provider created an inbox on the platform domain, but activating it here failed. The address stays reserved, and retryable is false. |
| `Inbox provisioning could not be confirmed. The address is reserved and paused; contact support before retrying.` | Provider inbox creation on a custom domain could not be confirmed. The address stays reserved and the inbox stays paused. |
| `Inbox creation was deferred before contacting the provider, but reservation release could not be confirmed. Contact support before retrying.` | Inbox creation was deferred before the provider was contacted, and releasing the local reservation could not be confirmed. retryable is false. |
| `Provider setup is temporarily unavailable. No domain creation was confirmed; try verification again shortly.` | Verifying a domain, the provider could not be asked to set it up, and nothing was created there. |
| `Provider attachment could not be confirmed. This domain is reserved; contact support before retrying attachment.` | Verifying a domain, the provider already holds a domain of that name, or creating it there failed or could not be confirmed once the request was sent. The domain is held for support. |
| `Provider custody requires reconciliation.` | Verifying a domain, the provider created it, but the domain's record here changed before the attachment could be saved. |
| `Provider status could not be checked. Try again shortly.` | Verifying a domain, or creating an inbox on it, the provider's status for the domain could not be read. |
| `Provider domain identity does not match its saved custody. Contact support.` | Verifying a domain, or creating an inbox on it, the provider reports a different id or name than the one saved. Sending and receiving are switched off for support review. |

**Why it works this way:** Never labelling an uncertain provider outcome as a failure is the rule this follows. A timeout is not proof that nothing happened, so the system records uncertainty and holds its reservations rather than rolling back and risking a duplicate.

### Example

POST /v1/projects/{project_id}/domains/{domain_id}/verify → 503

```
{
  "error": {
    "code": "provider_unavailable",
    "message": "Provider status could not be checked. Try again shortly.",
    "request_id": "req_8Kd2x91",
    "retryable": true,
    "details": {}
  }
}
```

#### Where it appears

- `POST /projects/{project_id}/inboxes`
- `POST /projects/{project_id}/domains/{domain_id}/verify`

Paths are relative to `https://api.emailforagents.ai/v1`.

### Often confused with

[temporarily_unavailable](https://emailforagents.ai/docs/errors/temporarily_unavailable) [rate_limited](https://emailforagents.ai/docs/errors/rate_limited)
