Sourcetree pulls fail with 'fatal: Bitbucket DC OAuth Client ID must be defined'

GSHerber
Contributor
March 21, 2023

User attempts to pull a repo in Sourcetree and the operation fails as below, anyone have insight on the issue?

git -c diff.mnemonicprefix=false -c core.quotepath=false --no-optional-locks fetch --no-tags origin
fatal: Authentication failed for 'https://bitbucket.XXXX.com/scm/go/funwithalm.git/'
fatal: Bitbucket DC OAuth Client ID must be defined
fatal: Authentication failed for 'https://bitbucket.XXXX.com/scm/go/funwithalm.git/'
fatal: Bitbucket DC OAuth Client ID must be defined
fatal: Authentication failed for 'https://bitbucket.XXXX.com/scm/go/funwithalm.git/'
fatal: Bitbucket DC OAuth Client ID must be defined
fatal: Authentication failed for 'https://bitbucket.XXXX.com/scm/go/funwithalm.git/'

 

Sourcetree: 3.4.12

Git: 2.39.1

OS: Windows 10

 

1 answer

1 accepted

6 votes
Answer accepted
GSHerber
Contributor
March 21, 2023

Working with user removed C:\users\XXX\AppData\Local\Atlassian\Sourcetree\passwd file and pulls now work in Sourcetree.

Step 7: https://community.atlassian.com/t5/Sourcetree-articles/Bug-Fix-Sourcetree-for-Windows-authentication-error-when/ba-p/1965968

Nachor, Sherwin
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 25, 2024

Thanks for sharing this solution. I had same issue that was resolved using this.

Like Goran Yankov likes this
Mamatha
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 16, 2024

Issue resolved with the above method for me

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
7.21.10
TAGS
AUG Leaders

Atlassian Community Events