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

Unable to authenticate to BitBucket repository

I'm able to log-in to the portal

and use the credentials on the options->authentication

But on repository operations it doesn't accept those credentials.

Am I missing something here?

1 answer

0 votes



Have you checked access for the repo from bitbucket UI? 

It will be good if you provide more detail info, like logs



Gonchik Tsymzhitov

Not sure what do you mean by bitbucket UI.

On SourceTree->Edit Hosting Account -> Refresh Password

I get Authentication OK

On git Command line Push to bitbucket , it requests the password and accepts it.

On SourceTree Push to bitbucket It get

git -c diff.mnemonicprefix=false -c core.quotepath=false --no-optional-locks -c credential.helper= -c credential.helper="C:/Users/Abir/AppData/Local/ATLASS~1/SOURCE~1/GIT_EX~1/GIT-CR~2.EXE" push -v --tags origin master:master
fatal: HttpRequestException encountered.
An error occurred while sending the request.

remote: Invalid username or password
fatal: Authentication failed for ''

Pushing to
Completed with errors, see above.

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