All error codes

bucket_has_service_accounts

HTTP 409 Service accounts still use this bucket

What happened

Service accounts of the project are limited to this bucket, and a bucket cannot be deleted while service accounts use it. The detail says how many.

What to do

Delete those service accounts with DELETE /v1/object-storage/service-accounts/{name}, then repeat the same request.

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/bucket_has_service_accounts",
    "title": "Service accounts still use this bucket",
    "status": 409,
    "code": "bucket_has_service_accounts",
    "request_id": "a277dcd1ca652c65"
}

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