The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results forĀ 
Search instead forĀ 
Did you mean:Ā 

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

7 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

Ilyas
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!
August 28, 2025

Thanks, it worked for me!  I got help from many people, unable to resolve the issue for me. 

DEPLOYMENT TYPE
SERVER
VERSION
7.21.10
TAGS
AUG Leaders

Atlassian Community Events