Error code

Cannot branch from this ref

The ref cannot be branched from or tagged as asked: an environment that points at nothing, a tag branched from with `at`, a feature branch tagged, or a tag tagged again.

Ø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
CANNOT_BRANCH_FROM
Management API
400

What to do

Drop at when branching from a tag, tag a version branch, or point the environment at something first.

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": "CANNOT_BRANCH_FROM",
  "type": "https://coho-cms.com/errors/cannot-branch-from",
  "title": "Cannot branch from this ref",
  "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.