Skip to content

upstream_shared_hosting_shape_invalid

Upstream response invalid. HTTP status 502.

The API could not read the web hosting data it needed to answer. Listing accounts, reading one account and the pause action can return it.

What to do

Retry after a moment. After a POST or DELETE on /api/v2/shared-hosting/{accountId}/actions/pause, first call GET /api/v2/shared-hosting/{accountId}/actions/pause to see whether the pause changed.

What the message says

  • The legacy shared hosting response was not valid JSON.
  • The legacy shared hosting detail could not be normalized.
  • Shared hosting pause response could not be normalized.

Example

Response 502
{
"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",
"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