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 connect bitbucket account to sourcetree

I am using sourceTree for 2 years now and I have it connected to the bitbucket. Today all of the sudden when trying to pull I get an error: 

remote: To make a call, you need to use an app password.

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

So naturally I check my accounts and try to do the OAuth again but I didn't work. So I updated source tree to 3.0 (I am using a mac) and I was able to do the OAuth but I still could not pull. 

So I looked into the whole app password and created one, changed to basic authentication but I'm still getting the same error no mater what I try. 

I have 2FA enabled. 

Any suggestions? 

1 answer

0 votes
bgannin Atlassian Team Mar 06, 2019

Hi @Tadej,

Our apologies for the hassle. A few things to try:

1. Remove and re-add your account, using OAuth + HTTPS

2. Remove and re-add your account, using OAuth + SSH, with appropriate key

3. Remove and re-add your account, using Basic Auth (app password) + HTTPS

Let us know if that doesn't work out and we'll continue digging to get to the bottom of this.

Brian Ganninger
Principal Developer, Sourcetree

I tried all of the steps above but all result in the same error. I'm not really sure what could have happened for it to stop working all of the sudden. 

Hi, did this issue ever get resolved? I seem to have the same problem with 2FA enabled as well.

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

60,239 views 127 26
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