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

Getting an error while pushing the code to remote through source tree in Mac.



Authentication failed for BITBUCKET.

remote: Invalid username or password.

Need help on this.


1 answer

0 votes
Ana Retamal Atlassian Team Jul 15, 2019

Hi Saswati, welcome to the Community :)

The error message is showing that there's some problem with the credentials. Can you answer the following to help us troubleshoot your issue?:

  1. Do you get this error when pushing from the command line too? 
  2. Have you changed your credentials recently?
  3. Do you have more than one account associated with Sourcetree?
  4. Does this happen when you perform any operation?
  5. Have you tried wiping Sourcetree preferences?

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

7,020 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