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

Unable to clone a bitbucket git repo due to password but password is correct

I am using Atlassian Sourcetree

I can click on the remote tab and see my bitbucket repositories.

When I try to clone one of my repos it says its not a valid source path/url

When I click on details I get this.


Command: git -c diff.mnemonicprefix=false -c core.quotepath=false ls-remote
Error: remote: Too many invalid password attempts. Log in at to restore access.
fatal: unable to access '': The requested URL returned error: 403



Yet When I go to tools-options-authentication and edit my bitbucket account and refresh password  it says authentication OK



2 answers

0 votes
minnsey Atlassian Team May 14, 2018


It is possible to get your account in a state where OAuth tokesn can be generated by REST/Git actions are blocked due to too many invalid attempts.

If you use you browser to explicitly logout/login in to or https:/ it should reset any locks.

I get this error very often using Smartgit or just the command line (completely independent of Smartgit).

I believe there's some timeout on the Atlassian side. When this problem happens, I can go to a different computer, on a different network even, and log in to Bitbucket. This will fix the problem on the original computer. The problem invariably resurfaces after an extended period of time not accessing Bitbucket.

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...

4,402 views 4 8
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