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

remote: Invalid username or password. Edited


OS: Win 10 Home

ST Version:


I logged into BitBucket with my google account.

Added a new App Password and copied it

Downloaded SourceTree

I went to [Tools > Options > Authentication]

I used these parameters:

- Hosting Service: BitBucket

- Host URL:

- Protocol: HTTPS

- Authentication: Basic

- Typed Username and Refreshed password and the window says "Authentication OK"

- Created my repository and pushed some changes. All was good

Today (36 hours later) I tried to pull/push and BAM! invalid username or password. All I did was to turn off the computer and turn it on. Didn't even log into BitBucket during those 36 hours. 

I tried basic authentication with an App Password and OAuth (refreshing the token) and in the window everything seems cool... but as soon as I try to do something... "invalid username or password". Heck, I can even see my google avatar inside Sourcetree but as soon as I to to do a pull/push I get the error.

I clic the "Remote" button and it opens a <default browser> and takes me to my repository without any issue.

On the left menu, under "TAGS", inside "REMOTES" I see my *origin*, I clic it and I see all the files inside it.

Still, I can't do anything.

Any help would be much appreciated, been hours trying to solve this and I can't even understand how is it possible that I was able to push the new files in one computer, pull them in another... and a day later, I can't a thing. 

1 comment


I tried something new. I deleted my local repository and tried to download it again. I entered my credentials and used OAut authentication method. 

It says my password is ok, it detects my git repository on bitbucket, it acknowledges my linked account... and when I try to clone it, it asks the password and no matter how many times I write it, it does not work. 

What gives?

Everything on Sourcetree says the connection to the remote server is perfectly set but as soon as I try to pull, I get the endless login window.


Log in or Sign up to comment
Community showcase
Published in Bitbucket Pipelines

Bitbucket Pipelines Runners is now in open beta

We are excited to announce the open beta program for self-hosted runners. Bitbucket Pipelines Runners is available to everyone. Please try it and let us know your feedback. If you have any issue...

758 views 15 10
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