General·HTTP 400·API, CLI
Invalid request
invalid_request
The request could not be read as sent: a required value is missing, or a value is not in the form the endpoint accepts.
What this means
A header, a query parameter or the body is missing or malformed. The answer's detail names what was wrong.
How to fix it
Read the detail in the answer, correct that value and send the request again. The API reference lists what each endpoint accepts.
Retry behavior
Sending the same request again gets the same answer.
How it appears in the response
ComputeSphere returns errors as RFC 7807 Problem Details. The type field is the docs URL for this page — switch on code in your client.
{
"type": "https://docs.computesphere.com/errors/invalid_request",
"title": "Invalid request",
"status": 400,
"code": "invalid_request",
"detail": "The request could not be read as sent: a required value is missing, or a value is not in the form the endpoint accepts.",
"instance": "/v2/…",
"request_id": "f47ac10b-58cc-4372-a567-0e02b2c3d479",
"trace_id": null
}
The Content-Type header is application/problem+json. On field-level validation errors a non-empty errors[] array also appears, each entry carrying its own docs_url for the offending field.