Skip to content

dns_setup_choice_required

DNS setup choice required. HTTP status 409.

The domain already has DNS records for a website or email somewhere else. The API will not change them until you say what should keep working.

What to do

Send the request again with dnsSetupPreference set to full, website-only, email-only or none. The response describes the current records in dnsSetup and gives a ready body in recovery.suggestedBody. When adding a domain, also send force: true.

What the message says

  • This domain already has website or email DNS records. Choose what should keep working before it becomes the main domain.

Example

Response 409
{
"type": "https://developer.hostup.se/errors/dns_setup_choice_required",
"title": "DNS setup choice required",
"status": 409,
"detail": "This domain already has website or email DNS records. Choose what should keep working before it becomes the main domain.",
"code": "dns_setup_choice_required",
"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