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

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Too many invalid password attempts


since few weeks I receive this error message when I update my bitbucket repo with sourcetree:


Pushing to

remote: Too many invalid password attempts. Try logging in through the website with your password.

fatal: unable to access '': The requested URL returned error: 403

To fix it I have to remove my account, wait a little, and then re-add it.

Is there a way to fix it definitely?

I login with google sign in, can it be the problem?



2 answers

Their own git client, Sourcetree, has serious problems authenticating with Bitbucket accounts and always has. It constantly causes problems for anyone trying to reliably commit their code. I recommend staying far away from it. It will literally cost you money, a client, or a job one day. 

0 votes
minnsey Atlassian Team Apr 10, 2018


Bitbucket will semi lock your account if it gets too many errors. You can unlock it by going to the Bitbucket website, logout and then log back in.

This can happen if Sourcetree is making repeated REST calls using bad credentials for example. If you are using HTTPS and OAuth credentials Sourcetree should be auto-refreshing the OAuth tokens to prevent this from happening.

Are you using SSH or HTTPS for your git/hg remote urls and are you using OAuth or just Basic Auth for account credentials in Sourcetree?

Ok but the credentials are correct, I would like to change the password but I can't because my account is logged in with Google.

I'm using Source tree with OAuth and SSH.

I'm source tree user from different years and it never gave me this kind of problems.

@minnsey That is probably the case, but I am not able to figure from where these requests are coming from which are causing the BitBucket account to get locked. Is there a way in Bitbucket to find this?

minnsey Atlassian Team Jun 18, 2019

@Syed Waqas unfortunately not

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Sourcetree

Tip from the team: configure your repos for hosting goodness!

Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...

5,842 views 4 13
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you