I am not able to pull from BitBucket Branch to VS code
Asked by venkateswara R:

Hi Team,

I have linked my JIRA and BitBucket to VS Code and authenticate also successfully. After that, I have created one Repository and Branches and try to do the Pull request to my VS Code org but I am getting the below errors.

![JIRA and Bitbucket authenticated.PNG](/t5/image/serverpage/image-id/182976i6A40979AB6FAF854/image-size/large?v=v2&px=999 "JIRA and Bitbucket authenticated.PNG")![Clone Repository.PNG](/t5/image/serverpage/image-id/182977i9BFCA56FC438A186/image-size/large?v=v2&px=999 "Clone Repository.PNG")![Cloning Repository.PNG](/t5/image/serverpage/image-id/182979i66FC06E04B2C382C/image-size/large?v=v2&px=999 "Cloning Repository.PNG")![Error Details.PNG](/t5/image/serverpage/image-id/182980iEC291E63DBD7E9AB/image-size/large?v=v2&px=999 "Error Details.PNG")![Error Details Info.PNG](/t5/image/serverpage/image-id/182981i453A4D9958DFB168/image-size/large?v=v2&px=999 "Error Details Info.PNG")

Kindly help me on this.

Thank you,

Venkat


Answers:
author: Theodora Boudale
body: Hi Venkat,

If I understand correctly from the screenshots, the error occurs after you enter the password, is that right?

If so, are you using your account's password when you get asked for a password?

I see that your company uses SAML SSO for login to Atlassian Cloud products.  
When SAML SSO is used, the account's password will not work for cloning/pulling/pushing via HTTPS.

You will need to generate an app password for your Bitbucket Cloud account, and use it instead of a password for clone/pull/push operations via HTTPS:

* <https://support.atlassian.com/bitbucket-cloud/docs/app-passwords/>

Could you please give it a try and let me know how it goes?

Please note that we will be deprecating account passwords for Git over HTTPS for all accounts (even those that don't use SAML SSO) beginning March 1, 2022, and this change already applies for accounts created after Sep 13, 2021.

Please feel free to let me know if you have any questions.

Kind regards,  
Theodora

comments: author: Dylan Reeder
body: "Please note that we will be deprecating account passwords for Git over HTTPS for all accounts (even those that don't use SAML SSO) beginning March 1, 2022, and this change already applies for accounts created after Sep 13, 2021."  

What's the alternative once app password are deprecated?


author: Theodora Boudale
body: Hi [@Dylan Reeder](/t5/user/viewprofilepage/user-id/4708901),

App passwords are not deprecated, it is account passwords that are deprecated for Git over HTTPS and API.

Before the deprecation, users that were not using SAML SSO could use their account's password for Git over HTTPS (clone, pull, push via HTTPS) and for API calls with basic authentication. Since the deprecation, this is no longer possible and an app password should be created and used instead for these operations.

We have not deprecated app passwords.

Kind regards,  
Theodora


author: Dylan Reeder
body: Thanks for clearing up my confusion Theodora!


author: Theodora Boudale
body: You are very welcome Dylan! Please feel free to reach out if you ever need anything else!


Tags: bitbucket-cloud