not_found

HTTP 404

No nameservers found

Type URL

https://developer.hostup.se/errors/not_found

Possible detail messages

No nameservers found for domain ${sanitizedDomain}.
No availability record returned for ${nameParam}.
No saved preference exists for that key.

Example response

{
  "type": "https://developer.hostup.se/errors/not_found",
  "title": "No nameservers found",
  "status": 404,
  "detail": "No nameservers found for domain ${sanitizedDomain}.",
  "code": "not_found",
  "instance": "/api/v2/...",
  "requestId": "req_abc123",
  "timestamp": "2026-04-27T12:00:00.000Z"
}

Endpoints that may return this error

Handling this error

const response = await fetch(url, options);

if (!response.ok) {
  const problem = await response.json();

  if (problem.code === "not_found") {
    // Handle: No nameservers found
    console.error(problem.detail);
  }
}