# BRANCH_TOO_DEEP: Branch depth exceeded

> The new branch would sit more than five levels deep, counting the project's version branch.

Sent by the management API (400). The page: https://coho-cms.com/errors/branch-too-deep/

## What to do

Branch from a ref nearer the top, such as the version branch, rather than from a branch of a branch.

## The response

```json
{
  "code": "BRANCH_TOO_DEEP",
  "type": "https://coho-cms.com/errors/branch-too-deep",
  "title": "Branch depth exceeded",
  "status": 400,
  "detail": "What went wrong in this request, in a sentence.",
  "instance": "/v1/projects/…"
}
```

Every error code: https://coho-cms.com/errors/
