project_busy
HTTP 409 Another operation on this project or account is in progress
What happened
Another operation is in the way: the project is being deleted (from the 202 of its deletion on, every change to it except the deletion itself and revoking its keys is refused; if the deletion does not go through, for up to ten minutes), a change of the project was still being made when its deletion was asked for (the deletion is refused instead, and nothing is marked), another project of this account is being created at this very moment, another key of the project is being issued, the project has a running task, or a server of the project is being transferred. The detail says which.
What to do
If Retry-After is present, wait that long and send the same request again with the same Idempotency-Key. A project that is being deleted stays refused until it is gone (GET /v1/projects/{id} answers 404); a transfer has to finish or be cancelled first.
Retrying
The request itself is fine. Repeat it later. After a 5xx to a write request, read the resource first and repeat with a new idempotency key - the operation may have started - unless this page or the detail of the response says nothing was started or changed; then, as after a 409 or a 429, repeat the request as it is.
How it arrives
{
"type": "https://docs.fiberax.com/errors/project_busy",
"title": "Another operation on this project or account is in progress",
"status": 409,
"code": "project_busy",
"request_id": "a277dcd1ca652c65"
}
Branch your code on code, never on the wording of title.