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: 

bitbucket link access denied in vscode

Deleted user
April 25, 2022

hi there,

i am unable to clone the bitbucket link in vs code ,tried every possible way.i am using vscode extension 1.66.2.

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
Ben
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 26, 2022

G'day Shweta!

Thank you for contacting Bitbucket Cloud Support.

The most common issue customers are experiencing related to authentication is due to the deprecation of GIT username/password in favour of App Passwords on 01/03/2022:
https://community.atlassian.com/t5/Bitbucket-articles/Announcement-Bitbucket-Cloud-account-password-usage-for-Git-over/ba-p/1948231

You will need to make use of an AppPassword for communicating to GIT via HTTPS.
We have documentation for usage of app passwords at the following link:
https://support.atlassian.com/bitbucket-cloud/docs/app-passwords/#Create-an-app-password

Essentially, when connecting via HTTPS you will use your AppPassword alongside your username seperated with a ":" character.

Therefore if you are authenticating to GIT over HTTPS to push/pull you will need to update your remote URL's to include the AppPassword:


git remote set-url origin https://USERNAME:APP_PASSWORD@bitbucket.org/username/reposlug.git


The same applies when performing git clone:


git clone https://USERNAME:APP_PASSWORD@bitbucket.org/username/reposlug.git

Hope this helps.

Cheers!

- Ben (Bitbucket Cloud Support)

TAGS
AUG Leaders

Atlassian Community Events