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

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

Bug Fix: Sourcetree for Windows authentication error when updating to app password

Hello Sourcetree users!!! With the recent removal of Bitbucket Cloud account passwords for app passwords (please see our Bitbucket Cloud community post for details on why we made this change for se...

79,127 views 135 29
Read article

Atlassian Community Events