Invalid credentials
https://developer.hostup.se/errors/invalid_credentials {
"type": "https://developer.hostup.se/errors/invalid_credentials",
"title": "Invalid credentials",
"status": 401,
"detail": "The current password is incorrect.",
"code": "invalid_credentials",
"instance": "/api/v2/...",
"requestId": "req_abc123",
"timestamp": "2026-04-27T12:00:00.000Z"
} const response = await fetch(url, options);
if (!response.ok) {
const problem = await response.json();
if (problem.code === "invalid_credentials") {
// Handle: Invalid credentials
console.error(problem.detail);
}
}