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

Can't login with my Gitlab account on SourceTree

When I try to login with my Gitlab account, it keep failing to authenticate with error "Authentication failed" no matter if it's username or email. I login on and it works perfect

I lookup Fiddler and I got a response message

{"message":"401 Unauthorized"}

Please help



2 answers

1 accepted

2 votes
Answer accepted
Mike Corsaro Atlassian Team Feb 13, 2019

Hello! Could you make sure you're using a personal access token for your account? Your normal password will not work.

Sorry for late reply. I didn't

I created personal access token and it works


Has anyone run into this issue, on Git push/pull, a password prompt comes up where the Gitlab password and the token do not work?


Screen Shot 2020-08-19 at 9.36.53 AM.pngScreen Shot 2020-08-19 at 9.31.19 AM.png

Hi did you ever get a resolution on this issue with the password.

I have generated another SSH key but to no avail.

i cant seem to get the right password. and also doing the steps again, it prompts not to save the KEY

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

7,056 views 5 13
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