Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Error with GIT using Atlassian for VS code

dominicso2 May 6, 2019

Hi guys,

So I'm trying to push my code into bitbucket and getting this error:

$ git push
Logon failed, use ctrl+c to cancel basic credential prompt.
Password for 'https://dominicso4@bitbucket.org':
remote: Invalid username or password
fatal: Authentication failed for 'https://dominicso4@bitbucket.org/lendlease_corp/salesforcecicdtest.git/'

I put the correct password and everything but I still keep getting this error. 

I also ensured that there are no special characters on my password.

Any guidance on this would be great!

 

2 answers

1 accepted

8 votes
Answer accepted
Daniel Santos
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 14, 2019

Hi @dominicso2

Thank you for sharing the tests/checks you already performed.

After checking your account we can see that your user data is managed by your organization. Due to the SSO we don't store your password hash and therefore we cannot use your normal password for this operation. You need to create an app password. The page below will give you the steps you need to create such a password:

Please let us know here if that solves the issue or not.

António Gonçalves January 26, 2022

This solve the issues for me. Thanks.

Like # people like this
João Delgado December 2, 2022

Same for me, Thanks

India Rodeia February 16, 2023

Worked for me as well. Thank you

Israel González May 9, 2023

That one works for me

If you have a prompt asking for your password when you try to pull, you have to enter the App password on that field

Like amatsukami likes this
mikellewellyn July 4, 2023

A related question - VSCode on MacOS keeps asking (every day or so) to enter this App Password again.

I would prefer it if it never asked me again.

Perhaps a VSCode question, but this doesn't happen for GitHub repos for example.

Like jhartz68 likes this
0 votes
Alexander January 12, 2024

This does not work for me. I'm on latest to date ubuntu and vscode.
Cannot clone a bitbucket project, every time it gives me:


remote: Your credentials lack one or more required privilege scopes.
fatal: unable to access 'https://bitbucket.org.....

 

tried about everything I could search on google

Tried adding app key, tried ssh tunnel, still nothing works for me.
Absolutely sure that I use the correct username and password.

Any suggestions?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events