Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
badges earned

Your Points Tracker
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

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

Constantly getting login 403 error in sourcetree

I get the 'too many login attempts error' multiple times a day. I have to reset my password every time for it to work. It really slows my day down having to reset my password 5-10 times a day. Is there a fix for this issue? I see quite a few people have the same problem.



1 answer

0 votes

Hi Melissa! Can you give us some more information so we can narrow down your issue and help you out?:

  1. Are you using Sourcetree for Windows or for Mac?
  2. To which service are you connecting it? Is it Bitbucket Cloud, Bitbucket Server, Github...? Can you confirm your account was set following the steps at Connect your Bitbucket or Github account
  3. Are you getting this error consistently? Does it happen every time you perform a certain operation, or does it happen randomly?
  4. Have you tried to perform the same operation from the command line? Do you also get this error?

Best regards!


1. Mac

2. Bitbucket Server, yes I have done the connecting of the account many times. Sometimes that's the only way it will work again. Its already connected but I have to enter all my info again and it works sometimes. Other times I have to go reset my password entirely and then it will work.

3. I would say it's somewhat random, whenever I want to push or pull for the first time that day it will give me the error, then I do one of the solutions I mentioned above and it works for a little while, then I started getting the error again after a couple pushes/pulls

4. I do not have the command line set up


I have the same problem. I created a bitbucket issues for this problem BBS-77777

  • Sourcetree version: 2.7.3 on Mac
  • Bitbucket Cloud: to my company team
  • I'm login in to bitbucket and sourcetree using my company google apps account


git -c diff.mnemonicprefix=false -c core.quotepath=false -c credential.helper=sourcetree fetch origin
remote: Too many invalid password attempts. Log in at to restore access.
fatal: unable to access 'https://[my user name]': The requested URL returned error: 403
Completed with errors, see above


After I Log in at this can be read at Sourcetree

git -c diff.mnemonicprefix=false -c core.quotepath=false -c credential.helper=sourcetree fetch origin 
remote: Invalid username or password. If you log in via a third party service you must ensure you have an account password set in your account profile.
fatal: Authentication failed for 'https://[my user name]'
git -c diff.mnemonicprefix=false -c core.quotepath=false -c credential.helper=sourcetree pull --no-commit --log origin master 

branch master -> FETCH_HEAD
Updating 6476563..99a666c
src/main/filters/DEMO_PTS/ | 8 ++++----
1 file changed, 4 insertions, 4 deletions
Completed successfully
Like rejack89 likes this
Manju Atlassian Team Apr 30, 2018

Can you please enable debug logging in Sourcetree and send us some logs?

You can enable debug menu from Preference ->Advanced -> Show debug menu.

And from the new Debug menu, turn on Enable Auth logging and set log level to Verbose. 

All auth logs will be written to console. Sourcetree specific logs can be found by opening the logs folder (an option on debug menu). 

In the meanwhile, please check if this helps

In the repo browser, right click on the repo you have an issue and select convert to ssh and then convert back to https. This sets the right URL format in the remote settings. 

Also, please let us know if there is a particular pattern for this issue. May be like happens an hour after setting authentication, two hours after, etc. 

Additional question, have you added your bitbucket cloud account in Sourcetree accounts? What authentication type have you used?


Sourcetree Mac Developer

Manju Atlassian Team Apr 30, 2018

And like wise for Bitbucket server @MelissaB1517

Screen Shot 2018-04-30 at 1.38.57 PM.pngI've tried to push twice and am still getting the same error, I don't see a recent error log from today though

@MelissaB1517 Would you mind giving this custom build a try and let me know if this is any better? 

Thanks so much for the details provided and trying the new build. 

Seems to be working perfectly so far! Haven't had any issue today. Thank you so much!!

Manju Atlassian Team May 07, 2018

Glad to hear that. We will roll it out in the next beta this week. I'll post the link here and also when it gets released through regular channel. Please make sure you update to the regular build when its available to keep receiving the updates. 



I am also facing the same issues and tried custom but no luck, getting below error. please help

Screenshot 2019-03-21 at 6.39.00 PM.png

I am also getting the same error. 

Everything works smoothly on terminal. it is Sourcetree specifically that fails. 


Please help!

Like Sriram Vaitheeswaran likes this

I am using v3.3.8.

I am facing the same error from April mid I guess.

Everything is perfect on running git from cmd.

But any command (fetch, pull, push) from sourcetree fails with 403 error.

I'm behind proxy and using gitlab repo for the past 2 years.

Btw, the sourcetree terminal is also not working. This might not be related to this issue. Just letting you know.

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

3,333 views 4 5
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