Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,559,728
Community Members
 
Community Events
185
Community Groups

Not able to push to remote: unauthorized

Using SourceTree, when I try to push to the remote bitbucket repository, I am asked to log into the Atlassian account. I tried both the username as well as the email. I tried both the password for the account as well as the app password. It throws this error:

remote: Invalid username or password
fatal: Authentication failed for 'https://Linda_Stewart@bitbucket.org/km_gissolutions/fme-server-workspaces.git/'

I then use Terminal to run the "git push" command, that same login dialog box pops up and I get this error in the message window:

fatal: ArgumentOutOfRangeException encountered.
Specified argument was out of the range of valid values.
Parameter name: resultType

Then another dialog pops up asking for the bitbucket username which I put in the same username as that of my Atlassian account. Then it asks for the password. I use the same one that was throwing the inavlid error. It worked and I am able to push my changes to the remote repository. 

I'm positive of the username and password as I am able to do it through git command. So what is the difference between using SourceTree? 

1 answer

1 accepted

0 votes
Answer accepted
Mike Corsaro
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Sep 21, 2018

Hello! This might be related to an issue with the git-credential-manager-for-windows. Could you try the following:

That totally worked. Thanks Mike.

Thanks Mike! Simple and fast! 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events