Existing invoice blocks plan change
https://developer.hostup.se/errors/existing_invoice_blocking {
"type": "https://developer.hostup.se/errors/existing_invoice_blocking",
"title": "Existing invoice blocks plan change",
"status": 409,
"detail": "Existing invoice blocks plan change.",
"code": "existing_invoice_blocking",
"instance": "/api/v2/...",
"requestId": "req_abc123",
"timestamp": "2026-04-27T12:00:00.000Z"
} /api/v2/domains/{id}/actions/renew Renew a domain GET /api/v2/domains/{id}/billing-cycle Get domain billing-period options POST /api/v2/domains/{id}/billing-cycle Change domain billing period GET /api/v2/shared-hosting/{accountId}/actions/billing-cycle Get hosting billing-cycle options POST /api/v2/shared-hosting/{accountId}/actions/billing-cycle Change hosting billing cycle POST /api/v2/shared-hosting/{accountId}/actions/renew Renew shared hosting GET /api/v2/shared-hosting/{accountId}/actions/upgrade List hosting upgrade options POST /api/v2/shared-hosting/{accountId}/actions/upgrade Change hosting plan GET /api/v2/vps/{id}/actions/billing-cycle Get VPS billing-cycle options POST /api/v2/vps/{id}/actions/billing-cycle Change VPS billing cycle ...and 4 more endpoints.
const response = await fetch(url, options);
if (!response.ok) {
const problem = await response.json();
if (problem.code === "existing_invoice_blocking") {
// Handle: Existing invoice blocks plan change
console.error(problem.detail);
}
}