not_available_in_country

HTTP 403

Not available in country

Type URL

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

Example response

{
  "type": "https://developer.hostup.se/errors/not_available_in_country",
  "title": "Not available in country",
  "status": 403,
  "detail": "Not available in country.",
  "code": "not_available_in_country",
  "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 === "not_available_in_country") {
    // Handle: Not available in country
    console.error(problem.detail);
  }
}