bankid_personnummer_not_found

HTTP 404

BankID personnummer not found

Type URL

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

Detail message

The requested BankID personnummer entry could not be found.

Example response

{
  "type": "https://developer.hostup.se/errors/bankid_personnummer_not_found",
  "title": "BankID personnummer not found",
  "status": 404,
  "detail": "The requested BankID personnummer entry could not be found.",
  "code": "bankid_personnummer_not_found",
  "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 === "bankid_personnummer_not_found") {
    // Handle: BankID personnummer not found
    console.error(problem.detail);
  }
}