All error codes

storage_not_reserved

HTTP 409 The project has no reserved storage yet

What happened

Buckets live in the reserved storage of the project, and this project has no storage reserved yet, so a bucket cannot be created. Nothing was created.

What to do

Reserve storage with PUT /v1/object-storage first - that needs a payment card or credit on the account - then repeat the same request. An automation that creates the reservation and the bucket in one run must create the reservation first and the bucket only after it has succeeded. This refusal is not stored against the Idempotency-Key, so the repeat runs the request again.

Retrying

Change the state this refers to, then repeat the same request with the same idempotency key.

How it arrives

{
    "type": "https://docs.fiberax.com/errors/storage_not_reserved",
    "title": "The project has no reserved storage yet",
    "status": 409,
    "code": "storage_not_reserved",
    "request_id": "a277dcd1ca652c65"
}

Branch your code on code, never on the wording of title.