Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Cannot commit app changes from ServiceNow to Bitbucket Cloud


I'm using an Bitbucket App Password with all permissions checked to connect from ServiceNow to Bitbucket via HTTPS (Basic auth). The connection works fine but when i try to commit some changes i'm getting the following error:

"The repo cannot be accessed. Check URL, username, and password, and confirm user has read, write, and create branch access"

I checked my permissions on the repository and i have admin permissions so that should be oke.

Could you please help me out? Thank you in advance!


Kind Regards, Stefan


1 answer

0 votes

Hi Stefan and welcome to the community!

Since you have admin permissions to the repo, I would suggest checking its Repository settings > Branch permissions (from the website) and see if there are any branch permissions that restrict certain users from pushing to certain branches.

Other than that, we would need some additional info to investigate this:

1. What operation is ServiceNow trying to perform?

Commit creation is something that happens locally in a clone of the repo, unless you are using our API to create a commit. Is the operation perhaps a git push of commits?

Are there any logs in ServiceNow that show what is the exact git command or API call that is executed?

2. If there is such a log, is there any additional output there from the command that is executed and fails?

3. The timestamp of such a (recent) event, so we can check if there is info about it in our logs

4. Whether authentication is done with your Bitbucket user account

If you can find this info, you can post it here (after sanitizing any private info, like usernames, repo names etc) so I can take a look.

I see that your Bitbucket Cloud account has access to a workspace on a paid billing plan, so if the issue occurs with a repo on that plan, you can alternatively raise a ticket with the support team to investigate this.

The support ticket will be visible only to you and Atlassian staff, so you can share any URLs without sanitizing them. You can create a ticket via, in "What can we help you with?" select "Technical issues and bugs" and then Bitbucket Cloud as product.

Kind regards,

Suggest an answer

Log in or Sign up to answer

Atlassian Community Events