Skip to content

mx_record_blocked_email_forwarding

MX record blocked by email forwarding. HTTP status 400.

Email forwarding is turned on for this domain. While it is on, MX records cannot be added at the root of the domain (`@`).

What to do

Turn email forwarding off with PATCH /api/v2/domains/{id}/email-forwarding and {"enabled": false}. Then send the MX record again.

What the message says

  • Email forwarding is enabled. Disable email forwarding before adding custom root MX records.

Example

Response 400
{
"type": "https://developer.hostup.se/errors/mx_record_blocked_email_forwarding",
"title": "MX record blocked by email forwarding",
"status": 400,
"detail": "Email forwarding is enabled. Disable email forwarding before adding custom root MX records.",
"code": "mx_record_blocked_email_forwarding",
"requestId": "req_01hxa3b4c5d6e7f8g9h0j1k2m3"
}

Branch on code, not on title or detail. When you contact support about it, include the requestId. More in Errors and retries.

Endpoints that return it