Skip to content

not_a_vps

VPS required. HTTP status 400.

The `vpsId` points to a service that is not a VPS. Only VPS services can join a placement group.

What to do

Send the ID of a VPS in vpsId. GET /api/v2/placement-groups/candidates lists the VPSes you can add.

What the message says

  • Only VPS services can be added to a placement group.

Example

Response 400
{
"type": "https://developer.hostup.se/errors/not_a_vps",
"title": "VPS required",
"status": 400,
"detail": "Only VPS services can be added to a placement group.",
"code": "not_a_vps",
"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