Skip to main content
General·HTTP 409·API, CLI, FE

Conflict

conflict

The request cannot be applied because of the current state of the resource. The answer's detail says what is in the way.

What this means​

Something with the same name already exists, another change to the same resource is in progress, or the resource is in a state that does not allow this action.

How to fix it​

Read the detail in the answer. Pick another name, wait for the change in progress to finish, or make the change the detail asks for first, then try again.

Retry behavior​

Retry after the state the detail describes has changed.

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/conflict",
"title": "Conflict",
"status": 409,
"code": "conflict",
"detail": "The request cannot be applied because of the current state of the resource. The answer's detail says what is in the way.",
"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.