Forums

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

Can't do sync or pull from a remote bitbucket branch

Oshan Silva
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!
March 15, 2023

I'm using VS 2022 and when I try to do a sync or pull operation using visual studio it prompts for the bitbucket password. When I enter the password (which is the same as login password for the bitbucket account) there is an error message saying "the pull operation failed". Please see the attached error log. 

P.S. I haven't had any issues until this morning.

 

Thanks

Oshan

bitbucket 1.PNG

bitbucket 2.PNG

1 answer

1 accepted

0 votes
Answer accepted
Patrik S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 16, 2023

Hello @Oshan Silva ,

Welcome to Atlassian Community!

Last year Bitbucket Cloud deprecated the usage of account passwords for git activity and API calls. The account password is the one used to login into the Bitbucket website.

Now, when using git over HTTPS you should create and use an App Password as the credential for authentication, instead of the account password.

In this case, could you try creating an app password in your bitbucket account, and using this app password when prompted by git to provide your credentials? 

Let us know how it goes and if using the app password fixes the issue.

Thank you, @Oshan Silva !

Patrik S

Oshan Silva
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!
March 16, 2023

Thanks, @Patrik S for the quick reply. I was trying to authenticate the pull/sync operations using both the app password and the account password. Both passwords got refused continuously. 
Half an hour later it got resolved automatically, and I could perform a pull operation. 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events