floating_ip_unassign_failed

HTTP 502

Floating IP detach failed

Type URL

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

Detail message

The floating IP could not be detached.

Example response

{
  "type": "https://developer.hostup.se/errors/floating_ip_unassign_failed",
  "title": "Floating IP detach failed",
  "status": 502,
  "detail": "The floating IP could not be detached.",
  "code": "floating_ip_unassign_failed",
  "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 === "floating_ip_unassign_failed") {
    // Handle: Floating IP detach failed
    console.error(problem.detail);
  }
}