Error code
The environment moved since you read it
Someone else promoted to this environment after you read it, so your change would undo theirs without anyone seeing it.
- Code
ENVIRONMENT_MOVED- Management API
- 400
What to do
Read the environment again, check what it serves now, and repeat the promotion if it is still what you want.
The response
Every refusal is an application/problem+json document. Its detail says what went wrong in that request; its type is this page.
{
"code": "ENVIRONMENT_MOVED",
"type": "https://coho-cms.com/errors/environment-moved",
"title": "The environment moved since you read it",
"status": 400,
"detail": "What went wrong in this request, in a sentence.",
"instance": "/v1/projects/…"
}
Every code
The error codes, in a table with a filter.