Skip to content

template_not_found

Template not found. HTTP status 404.

No nameserver template of yours has this ID. The built-in template (isSystem: true) also gives this code, because it cannot be changed or deleted.

What to do

List your templates with GET /api/v2/nameserver-templates and use an id from there. To use other nameservers than the built-in template, create your own with POST /api/v2/nameserver-templates.

What the message says

  • The requested nameserver template could not be found.

Example

Response 404
{
"type": "https://developer.hostup.se/errors/template_not_found",
"title": "Template not found",
"status": 404,
"detail": "The requested nameserver template could not be found.",
"code": "template_not_found",
"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.