decline_failed

HTTP 502

Decline failed

Type URL

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

Example response

{
  "type": "https://developer.hostup.se/errors/decline_failed",
  "title": "Decline failed",
  "status": 502,
  "detail": "Decline failed.",
  "code": "decline_failed",
  "instance": "/api/v2/...",
  "requestId": "req_abc123",
  "timestamp": "2026-04-27T12:00:00.000Z"
}

Endpoints that may return this error

Handling this error

const response = await fetch(url, options);

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

  if (problem.code === "decline_failed") {
    // Handle: Decline failed
    console.error(problem.detail);
  }
}