type field to understand the category of error, and the code field for the specific reason.
Error response shape
All error responses follow this structure:The HTTP status code for this response (e.g.
400, 401, 404, 422, 500).The broad category of error. See the error types table below.
A machine-readable code that identifies the specific error within its type. See the error codes table below.
A UUID that uniquely identifies this request. Include this value when contacting scaling.cloud support.
Every response — including error responses — includes a
requestId. If you open a support ticket, include the requestId from the failing response so the scaling.cloud team can locate the relevant logs.Error types
Error codes
HTTP status codes
Common error examples
401 — Missing or invalid API key
Returned when theAuthorization header is absent or the key cannot be verified.
404 — Resource not found
Returned when you reference an ID that does not exist or does not belong to your organization.422 — Validation error
Returned when the request body fails schema validation — for example, a missing required field or a value of the wrong type. Thecode field may be empty for validation errors; the type of validation_error is the primary signal.