Skip to main content

Merge hold conflict

typehttps://docs.frem.sh/reference/api/errors/merge-hold-conflict
HTTP status409 Conflict

What it means

The merge hold is not in a state that allows this change.

Example detail messages returned with this error:

  • This hold was already released (released).
  • A released hold cannot be changed; create a new one.
  • That pull request is already exempted from this hold.
  • A live hold from this source already exists.

What to do

List the holds (GET /orgs/{org}/merge-holds?state=all) and act on the current state: a released hold cannot be released, extended or overridden again. Set a new hold if merges must be held again.

Response shape

All fremforge API errors are RFC 9457 problem+json:

{
  "type": "https://docs.frem.sh/reference/api/errors/merge-hold-conflict",
  "title": "Conflict",
  "status": 409,
  "detail": "..."
}

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