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

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

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,712 views 4 12
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