upstream_tax_lookup_failed

HTTP 502

Tax lookup failed

Type URL

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

Detail message

Tax information could not be retrieved right now.

Example response

{
  "type": "https://developer.hostup.se/errors/upstream_tax_lookup_failed",
  "title": "Tax lookup failed",
  "status": 502,
  "detail": "Tax information could not be retrieved right now.",
  "code": "upstream_tax_lookup_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 === "upstream_tax_lookup_failed") {
    // Handle: Tax lookup failed
    console.error(problem.detail);
  }
}