Error "Unable to delete branch" in Bitbucket Cloud.
Platform Notice: Cloud Only - This article only applies to Atlassian products on the cloud platform.
Summary
This article discusses a scenario when the user is trying to delete the branch, they get the below error:
1
We were unable to delete the <BRANCH_NAME> branch.
Solution
Check if there are branch restrictions configured against that branch, and whether or not these restrictions include write access for certain people with "Allow deleting this branch" checked.
If the user who is trying to delete the branch is not part of the "Only specific people or groups have write access" option, then the user needs to be added to this list so that they may delete the branch.
Updated on March 5, 2025
Was this helpful?
Still need help?
The Atlassian Community is here for you.