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

Failed to list grouping for user

Hello I'm trying to login to my bitbucket server in SourceTree (during setup) but when I do I get the message. "Failed to list grouping for user" I have no idea what this message means or how to resolve it. Could someone please help me

4 answers

I had the same problem.

One point to make it clear: if you are getting the 'failed to list grouping for user', this means that you more likely have the right URL and have a valid log in credentials.

Which is good.

Here is how I fix this crap:

1. Went to my bitbucket server and checked one project URL. Mine was like :

2. I removed the "MYUSER' from the URL and passed it to the SourceTree URL field and hit Enter.

3. SourceTree gave me the 'failed to list' bs.

4. I removed the aproject.git for the URL and tried again (eg

5. SourceTree gave the same bs error. So I removed the / and tried again (as

6. SourceTree again bs me with the same error. I removed the 'someothercrap' from it.

 7. SourceTree bs me again. I then removed the /

8. Success! I got in.


Crap man! 

This actually worked but I had to go down to the level

1 vote
Deleted user Aug 19, 2018

+ to the previous posts. Unable to install it

Had the same issue with version 3.3.9 on Windows 10 and had tried all these solutions before I came here.  What finally worked for me was uninstalling in Add/Remove Programs, deleting the C:\Users\<username>\AppData\Local\Atlassian folder, then installing 3.3.8 WITHOUT rebooting.  Somehow Winders was putting the ...AppData\Local\Atlassian folder back on reboot.

0 votes
Ana Retamal Atlassian Team May 08, 2017

Hi Brett! Which version of SourceTree are you using? Can you try with the latest one?

If after this the issue is still not solved, let us know which OS are you using so I can continue helping you.




The version I'm using is which is the current version.

The OS I'm using is Windows 7 Professional.

Kind regards,


Ana Retamal Atlassian Team May 08, 2017

Hi Brett, what you can do in this case is to skip that step in the welcome wizard and try and add your account via Tools > Options > Accounts instead. It will be easier to see what is going on from there. During this step SourceTree tries to query the Bitbucket REST API for all the repos, and looks like that call is failing for some reason. 

Let us know how it goes from there and send us a screenshot if you get any other error.



This answer is not useful at all.  As soon as you try to create a repo the same error appears again.

Mikael Sandberg Community Leader Oct 16, 2017

Go to Tools > Options > Network and see if changing the Proxy Server Settings to use default operating system settings works. Mine was set to custom proxy settings and that is when I got the "failed to list groupings for user" error.

Hey Ana,

i am having same problem while setting sourcetree, i downloaded latest version but no luck

i am using window 10.


Please suggest.



I'm unable to install it on WinServer2012R2. Same problem, SourceTree version 2.5.5.

It seems to be related to enabled two-factor authentication.

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,260 views 5 14
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