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

SourceTree "fatal: Authentication failed for..." bitbucket account locked

I get this error when tryin gto push or pull changes on sourcetree:


fatal: remote error: CAPTCHA required
Your Bitbucket account has been locked. To unlock it and log in again you must
solve a CAPTCHA. This is typically caused by too many attempts to login with an
incorrect password. The account lock prevents your SCM client from accessing
Bitbucket and its mirrors until it is solved, even if you enter your password

If you are currently logged in to Bitbucket via a browser you may need to
logout and then log back in in order to solve the CAPTCHA.

i am able to log onto bitbucket when the captcha code is prompted. Please assist

1 answer

0 votes
bgannin Atlassian Team Aug 18, 2017

What OS and what version of SourceTree are you using?

Brian Ganninger
Senior Mac Developer, SourceTree

I recently started seeing this issue past few weeks and I have no idea why it started or how to fix it.

I did update the source tree to

I'm on Windows 10.

Brian, was there ever a solution to this issue? 

I think I've been experiencing a similar issue. Here's what's been happening:

  • In Sourcetree, I'm unable to pull or push changes in a project hosted on Bitbucket, and I receive a CAPTCHA error.
  • So, next, I visit Bitbucket online and I am able to successfully log in to Bitbucket.
  • However, when I return to Sourcetree, I'm still unable to pull/push changes to my project -- I get the same CAPTCHA error message.

Let me know if you need any of my description clarified. I'm running a Windows 10 system.

Would appreciate your help.




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

61,385 views 127 27
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