api_key_not_found

HTTP 404

API key not found

Type URL

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

Detail message

The requested API key could not be found.

Example response

{
  "type": "https://developer.hostup.se/errors/api_key_not_found",
  "title": "API key not found",
  "status": 404,
  "detail": "The requested API key could not be found.",
  "code": "api_key_not_found",
  "instance": "/api/v2/...",
  "requestId": "req_abc123",
  "timestamp": "2026-04-27T12:00:00.000Z"
}

Handling this error

const response = await fetch(url, options);

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

  if (problem.code === "api_key_not_found") {
    // Handle: API key not found
    console.error(problem.detail);
  }
}