Skip to content

has_unpaid_invoice

Cloud VM conversion blocked. HTTP status 409.

This VPS cannot be converted to a Cloud VPS while it has an unpaid invoice or a pending order.

What to do

Find the invoice with GET /api/v2/billing/invoices and pay it with POST /api/v2/billing/invoices/{id}/actions/pay. Then retry the conversion. blockerReasons in the response lists any other blockers.

What the message says

  • Pay the outstanding invoice on this VPS before converting.

Example

Response 409
{
"type": "https://developer.hostup.se/errors/has_unpaid_invoice",
"title": "Cloud VM conversion blocked",
"status": 409,
"detail": "Pay the outstanding invoice on this VPS before converting.",
"code": "has_unpaid_invoice",
"requestId": "req_01hxa3b4c5d6e7f8g9h0j1k2m3"
}

Branch on code, not on title or detail. When you contact support about it, include the requestId. More in Errors and retries.

Endpoints that return it