Error code

Not a valid branch name

Coho's branch names say what kind of branch each is: a version branch such as `v1.2.x`, or a working branch under a prefix such as `feature/`. This name says neither, or contradicts the `kind` you sent.

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

What to do

Rename the branch to one of the forms the detail lists.

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_BRANCH_NAME",
  "type": "https://coho-cms.com/errors/invalid-branch-name",
  "title": "Not a valid branch name",
  "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.