# E05xxx — Domains & DNS

Error codes in the `E05xxx` range that the public Bird API returns. Each code links to its own page (the page its `doc_url` points at) with the cause and what to do. Retired codes stay listed; they are never renamed or reused.

| Code                                | Name                           | Status | Message                                                                                                                                                   |
| ----------------------------------- | ------------------------------ | ------ | --------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [`E05000`](/docs/api/errors/E05000) | `DomainAlreadyExists`          | `409`  | A sending domain with this name is already registered in this workspace.                                                                                  |
| [`E05001`](/docs/api/errors/E05001) | `DomainNotFound`               | `404`  | Sending domain not found.                                                                                                                                 |
| [`E05003`](/docs/api/errors/E05003) | `SparkPostError`               | `500`  | An error occurred communicating with the mail infrastructure provider.                                                                                    |
| [`E05004`](/docs/api/errors/E05004) | `ReturnPathDomainInvalid`      | `422`  | The return-path domain must be a subdomain of the sending domain.                                                                                         |
| [`E05005`](/docs/api/errors/E05005) | `TrackingDomainInvalid`        | `422`  | The tracking domain must be a subdomain of the sending domain.                                                                                            |
| [`E05006`](/docs/api/errors/E05006) | `TrackingDomainRequired`       | `409`  | Configure a tracking domain before enabling click and open tracking.                                                                                      |
| [`E05007`](/docs/api/errors/E05007) | `TrackingRemovalBlocked`       | `409`  | Disable click and open tracking before removing the tracking domain.                                                                                      |
| [`E05008`](/docs/api/errors/E05008) | `DKIMModeUnavailable`          | `422`  | Delegated DKIM is not yet available. Use mode "txt".                                                                                                      |
| [`E05011`](/docs/api/errors/E05011) | `DomainHostnameReserved`       | `409`  | This hostname is already in use as a return-path or tracking domain. Remove that configuration first, or choose a different domain.                       |
| [`E05012`](/docs/api/errors/E05012) | `SendingDomainInvalid`         | `422`  | The domain name is not valid: it must be a registrable domain (not a public suffix or single-label name), and must not have a trailing dot.               |
| [`E05013`](/docs/api/errors/E05013) | `DomainShareNoRecipients`      | `422`  | Provide at least one recipient email address.                                                                                                             |
| [`E05014`](/docs/api/errors/E05014) | `DomainShareTooManyRecipients` | `422`  | You can send DNS records to at most 3 recipients at a time.                                                                                               |
| [`E05015`](/docs/api/errors/E05015) | `DomainShareInvalidEmail`      | `422`  | One or more recipient email addresses are invalid.                                                                                                        |
| [`E05016`](/docs/api/errors/E05016) | `TrackingDomainInUse`          | `422`  | This link tracking domain is already in use by another organization. Choose a different tracking subdomain.                                               |
| [`E05017`](/docs/api/errors/E05017) | `TrackingDomainNotConfigured`  | `422`  | This domain has no link tracking configured.                                                                                                              |
| [`E05018`](/docs/api/errors/E05018) | `InboundDomainAlreadyClaimed`  | `422`  | This domain is already receiving inbound mail for another organization. Choose a different subdomain, or contact support if you believe this is an error. |
| [`E05019`](/docs/api/errors/E05019) | `InboundDKIMNotVerified`       | `422`  | Verify the domain's DKIM before enabling inbound mail receiving, then try again.                                                                          |
| [`E05020`](/docs/api/errors/E05020) | `InboundNotConfigured`         | `501`  | Inbound mail receiving is not yet available for your account. Contact support to have it enabled.                                                         |
| [`E05021`](/docs/api/errors/E05021) | `InboundMessageNotFound`       | `404`  | The requested received email message was not found.                                                                                                       |

## Related

- [Errors](/docs/api/errors): the full wire contract, status mapping, and all code ranges
- [Error handling](/docs/guides/errors): branching on `type` and `code`, validation details, and `vendor_code`