General·HTTP 422·API, CLI, FE
Volume size not offered
volume_size_unknown
Volumes come in set sizes, and this isn't one of them.
What this means
The size is not one of 10 GB, 50 GB, 100 GB, 250 GB, 500 GB, 1 TB, 2 TB, 4 TB, 8 TB or 16 TB.
How to fix it
Choose one of the sizes. The list of sizes is at GET /v2/volumes/sizes.
Retry behavior
Sending the same size 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/volume_size_unknown",
"title": "Volume size not offered",
"status": 422,
"code": "volume_size_unknown",
"detail": "Volumes come in set sizes, and this isn't one of them.",
"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.