fatal: could not read Password for 'https://xxxxx-xx@bitbucket.org': Device not configured
Asked by Kenneth Su:

Not sure what's wrong but happened after I upgraded to latest sourcetree.

When I manually pull from command line, it works fine.


Answers:
author: bgannin
body: We've identified the fix and will roll out a new build later today. Our apologies for the hiccup.

comments: author: Manju
body: We identified the issue here and fixed it over the weekend. Please update the build to 2.7 (167) and you should be good with this version. Sincere apologies for the inconvenience and appreciate the patience.

Thanks,  
Manjunath  
Sourcetree Mac Developer


author: Daniele Gibertoni
body: Same issue here, on Mac OS. Only with the last Sourcetree version (2.7.2). I found a workaround using the System Git instead of Embedded Git.

comments: author: Manju
body: Restarting the Mac solved this issue for me in the past. Please give it a try and let us know if that doesn't help.


author: Ryan Sherman
body: Tried using the System Git instead of the Embedded Git but that didn't work for me. Still getting the same error.


author: tonholis
body: That's solved for me (using System Git).

Thanks!


author: andj
body: Using System git works for me too. Thanks!


author: Celso Soares
body: I restarted the SO and i worked


author: Alexander Joiseus
body: I downgraded to 2.7.2 and I can now use the finish feature. I guess I will just stick to 2.7.2


author: Jason Shanks
body: I'm experiencing the same error but specifically using Git Flow tool+BitBucket:

* MacOS 10.14 (Mojave)
* SourceTree 2.7.6 (177)
* Initially tried using Embedded Git (2.17), switched to System Git 2.18.0
* using Embedded git-flow (version not reported in SourceTree) (but I also tried System version 0.4.1 installed via Brew)

I've tried all the above including:

* rebooting
* switching Bitbucket (Atlassian account creds) account from HTTPS to OAUTH.

I can manually perform the same git functions within SourceTree, and also use the git flow tool successfully on local repos.

Do I need to create an app-specific OAUTH password within Bitbucket settings?

comments: author: Manju
body: If this error is specific to git-flow actions only, we are aware of a bug on the git-flow module. We are working on it and will hav an update on it soon. Please let us know if you see this on anything other than git-flow actions.


author: Jason Shanks
body: Hi - Is this bug still unresolved? After a few Source Tree updates I am still getting an authentication error with git-flow actions specifically.

I try reconnecting account through OAuth which is successful, but when I go to close a Hotfix for instance I still get:

```
fatal: could not read Password for 'https://account-name@bitbucket.org': Device not configured
Fatal: Could not fetch hotfix/responsive-videos from origin.
```


author: Kalman
body: [@Manju](/t5/user/viewprofilepage/user-id/222564) Still unresolved, Mac, Latest SourceTree, Git Flow


author: michaelgambold
body: Still unresolved (MacOS catalina, source tree 4.0.1)


author: piero_sifuentes
body: still unresolved MacOS catalina 10.15.4, source tree 4.0.1 (234)


author: martin_jondzic
body: Unresolved - MacOS Mojave 10.14.3, SourceTree 4.0.1 (234)


author: Anti?a
body: Unresolved - MacOS Mojave 10.14.6, SourceTree 4.0.1 (234)


author: Joe Engler
body: still unresolved! sourcetree 3.3.8 for windows


author: monihabib
body: Sourcetree-\>Preferrence-\>Accounts-\>Select the Account that contains the branch to be finished. Then edit and change **https** to **auth** type and then select *Connect Account* , give your username and password to dialog, after successful authentication a list of repositories will be shown. select the target repository and click on **Clone** button, a dialog will be shown and select clone in Sourcetree, then it will locate the local repository and select the repository. after selecting just press gitflow. ![Screen Shot 2018-08-10 at 1.15.20 AM.png](https://community.atlassian.com/t5/image/serverpage/image-id/29071i640CCC3AC75A91A4/image-size/large?v=v2&px=999 "Screen Shot 2018-08-10 at 1.15.20 AM.png")![Screen Shot 2018-08-10 at 1.25.44 AM.png](https://community.atlassian.com/t5/image/serverpage/image-id/29072i4E74A5AE9509BC61/image-size/large?v=v2&px=999 "Screen Shot 2018-08-10 at 1.25.44 AM.png")