Errors
branch_moved
409 — The branch has new commits since it was checked
What happened
The request asked to merge a branch into main at a given commit (head_sha), and the branch now points at another commit. Nothing was merged.
Why it usually happens
- The developer pushed again after the page listing the branches loaded.
How to fix
- List the branches again (
GET /sites/{site_id}/branches) to read the new head. - Wait for the preview of the new head to pass, then merge with that commit.
Envelope
{
"error": {
"code": "branch_moved",
"message": "The branch has new commits since this page loaded. Reload and wait for their preview.",
"doc_url": "https://docs.fullvision.io/errors/branch_moved",
"trace_id": "tr_01HXYZ..."
}
}