Error generating password due to missing uuid and other error messages


I have recently been getting these errors, whenever I try and push my code through SourceTree to bitbucket.

"Error generating password due to missing uuid. Please report this to Atlassian.

Something went wrong. one or more parameters required to renew token is nil.

Password encryption failed - key to encrypt password is unavailable (nil)

remote: Invalid username or password. If you log in via a third-party service you must ensure you have an account password set in your account profile.

fatal: Authentication failed for .."


I also continue to get a prompt for me to enter Password Required


I have tried all your solutions online but nothing works. I am using MacOS sierra 10.12.16. I am using SourceTree 2.7. 


Can you kindly help me?



3 answers

0 votes

We're tracking this bug (the log was introduced to help track it down and prevent crashes) and hope to address it soon in a future update.

Brian Ganninger
Senior Mac Developer, Sourcetree

In the meanwhile, can you please remove the account and re-add it in the preference window to see if that helps?

I am getting the same error. I have tried deleting the file com.torusknot.SourceTreeNotMAS.plist and also removing my account. Nothing worked. Its very frustrating. 

Any other suggestions ? Please fix via update ASAP. 

For the record, this is the bug Brian was referring to:  SRCTREE-5324. You can watch it to get notified of further updates.



Suggest an answer

Log in or Join to answer
Community showcase
Brian Ganninger
Published Jan 23, 2018 in Sourcetree

Tip from the team: workflow and keyboard shortcuts

Supported Platforms macOS Sourcetree has a lot to offer and, like many developer tools, finding and using it all can be a challenge, especially for a new user. Everyone might not love ...

234 views 0 3
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot