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

Variable kind conflict

variable_kind_conflict

This variable already exists as a plain variable or as a secret.

What this means​

A variable is either plain or secret. The request set it as the other kind.

How to fix it​

Delete the variable first to change its kind, then set it again.

Retry behavior​

Retry after the variable has been deleted.

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/variable_kind_conflict",
"title": "Variable kind conflict",
"status": 409,
"code": "variable_kind_conflict",
"detail": "This variable already exists as a plain variable or as a secret.",
"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.