Error code

Not a valid target for this tier

The ref does not exist, or is not the kind the environment's tier serves: snapshot environments serve tags, and live ones follow branches.

Ø100 · 20 teethfree one way, locked the otherABC
Fig. 03 Ratchet and pawlThe wheel turns freely one way, and the pawl stops it turning back.
Code
INVALID_PROMOTION_TARGET
Management API
400

What to do

Promote a tag to a snapshot environment such as prod, a branch to a live one such as dev, and check the name.

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": "INVALID_PROMOTION_TARGET",
  "type": "https://coho-cms.com/errors/invalid-promotion-target",
  "title": "Not a valid target for this tier",
  "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.