Skip to main content

Private fork request refused

typehttps://docs.frem.sh/reference/api/errors/private-fork-refused
HTTP status409 Conflict

What it means

Forgejo refused the private-fork step: the fork’s name is taken, the branch has no commits the default branch lacks, the branch does not exist or is not a valid name, or Forgejo could not be reached. detail says which. The status is 409 or 422.

What to do

Act on detail: push the fix to the fork first, name an existing branch, or rename the repository that holds the fork’s name.

Response shape

All fremforge API errors are RFC 9457 problem+json:

{
  "type": "https://docs.frem.sh/reference/api/errors/private-fork-refused",
  "title": "Conflict",
  "status": 409,
  "detail": "..."
}

Branch on type, not on title or detail - those are human-readable and may be reworded.