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

Pending variables changed

pending_changed

The variables waiting for a deploy aren't the ones you expected. Read them again, then retry.

What this means​

The request sent expect_pending, and the variables waiting for a deploy differ from those names: another change was saved since you read them.

How to fix it​

Read the variables again (pending_changes on the env-vars read), check what would go live, and send expect_pending with those names.

Retry behavior​

Retry with the names you read.

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://computesphere.com/docs/errors/pending_changed",
"title": "Pending variables changed",
"status": 409,
"code": "pending_changed",
"detail": "The variables waiting for a deploy aren't the ones you expected. Read them again, then retry.",
"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 a docs_url to its error code's page.