Upstream response invalid
https://developer.hostup.se/errors/upstream_shared_hosting_shape_invalid {
"type": "https://developer.hostup.se/errors/upstream_shared_hosting_shape_invalid",
"title": "Upstream response invalid",
"status": 502,
"detail": "The legacy shared hosting response was not valid JSON.",
"code": "upstream_shared_hosting_shape_invalid",
"instance": "/api/v2/...",
"requestId": "req_abc123",
"timestamp": "2026-04-27T12:00:00.000Z"
} /api/v2/shared-hosting List shared-hosting accounts GET /api/v2/shared-hosting/{accountId} Get shared-hosting account PATCH /api/v2/shared-hosting/{accountId} Rename shared-hosting account GET /api/v2/shared-hosting/{accountId}/actions/pause Get hosting pause status POST /api/v2/shared-hosting/{accountId}/actions/pause Pause shared hosting DELETE /api/v2/shared-hosting/{accountId}/actions/pause Cancel hosting pause const response = await fetch(url, options);
if (!response.ok) {
const problem = await response.json();
if (problem.code === "upstream_shared_hosting_shape_invalid") {
// Handle: Upstream response invalid
console.error(problem.detail);
}
}