floating_ip_assign_failed

HTTP 502

Floating IP assignment failed

Type URL

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

Detail message

The floating IP could not be attached.

Example response

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