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

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


1 badge earned


Participate in fun challenges

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


Gift kudos to your peers

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


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!


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
Community Members
Community Events
Community Groups

Authentication failed: Unexpected character encountered


Attempting to enter my credentials for Bitbucket into Sourcetree and I get the following error:

Authentication Failed

Unexpected character encountered while parsing value: Y. Path ", line 0, position 0.

I have confirmed that I'm entering the correct credentials. I've tried both my email address and my username. I've tried resetting my password.

I have seen the "Solution" thread that suggests using your email as a username -- this did not work.

I am on Sourcetree version 3.4.6, Windows 10 Pro.

Here's an image:




Updating Embedded Git via the Git options menu and deleting the passwd file from AppData\Local\Atlassian\SourceTree got me around the initial error message.

Now it's giving me this when I attempt to clone a remote repo:




Never mind. Tried to refresh my password again, and now I'm back to square one and the "solution" from my first edit now isn't working. I do, however, get the same error as in my initial Edit when I try to remotely clone the repo.



For anyone that experiences this issue in the future, I have a hunch that the problem was that my username contained a special character. I'm not certain, but when I instead cloned the repo via SSH, it was successful. The only thing I can think of was that somehow my username was the problem. The special character was a hyphen.

1 answer

EDIT: Just realized I should have just updated my initial post. How do you even delete answers? :/

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events