remote: Invalid username or password. fatal: Authentication failed for 'https://BolaDev@bitbucket.or
Asked by Mubarak Adekunle:

Hi guys, I am new to bitbucket. I am trying to clone a project from my bitbucket and it keeps requesting for a password. I didn't set any passwords apart from my login password. So it keeps giving me error anytime i input my login password. Is there a way to go about this.

P.S: I use macos


Answers:
author: Caroline R
body: Hi, [@Mubarak Adekunle](/t5/user/viewprofilepage/user-id/4602001)! Welcome to the community!

We [announced in June](https://bitbucket.org/blog/deprecating-atlassian-account-password-for-git-and-bitbucket-api-activity) that we are phasing out the use of user login passwords for REST APIs and git over HTTPS.

We [recently announced](https://bitbucket.org/blog/deprecating-atlassian-account-password-for-bitbucket-api-and-git-activity) the first phase of this, where any user with an Atlassian account created on or after UTC 00:00 on **13 September 2021** must use a Bitbucket Cloud generated [App Password](https://support.atlassian.com/bitbucket-cloud/docs/app-passwords/) for all git operations over HTTPS and for REST API authentication. So this is the reason you are facing this issue.

Please try to create and use an App Password and let me know if you have any problems using or configuring this, we will be happy to assist you.

Kind regards,  
Caroline

comments: author: nbinnajib
body: Hi, [@Caroline R](/t5/user/viewprofilepage/user-id/3934006) ,

I am also new here and having problem setting up similar for bitbucket. I set up the app password today (using <https://support.atlassian.com/bitbucket-cloud/docs/app-passwords/>) , check that it is authenticated (clipboard1.jpg) but was not able to push my code (clipboard2.jpg). While troubleshooting, I have updated my sourcetree app to the latest 3.4.7 version. Why is there a mismatch in authentication results and attempting to push my code to bitbucket? Hope you can provide some clues on what to check next.

FYI, I just finish setting up a PAT for git successfully on sourcetree and able to push my code updates.

Regards,  
Nas


author: nbinnajib
body: Hi, [@Caroline R](/t5/user/viewprofilepage/user-id/3714085) ,  
I am also new here and having problem setting up similar for bitbucket. I set up the app password today (using <https://support.atlassian.com/bitbucket-cloud/docs/app-passwords/>) , check that it is authenticated (clipboard1.jpg) but was not able to push my code (clipboard2.jpg). While troubleshooting, I have updated my sourcetree app to the latest 3.4.7 version. Why is there a mismatch in authentication results and attempting to push my code to bitbucket? Hope you can provide some clues on what to check next.

FYI, I just finish setting up a PAT for git successfully on sourcetree and able to push my code updates.

Regards,  
Nas

![bitbucket authenticated.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/170991i5D2FA65546C7539B/image-size/large?v=v2&px=999 "bitbucket authenticated.jpg")![bitbucket error .jpg](https://community.atlassian.com/t5/image/serverpage/image-id/170993i25FA8E53C63FFF71/image-size/large?v=v2&px=999 "bitbucket error .jpg")


author: Caroline R
body: Hi, [@nbinnajib](/t5/user/viewprofilepage/user-id/2270470)!

Sorry to hear you are facing this issue. I would like to ask if you could please create a new question for your problem.

We generally encourage users to create a new question for their issue instead of posting on someone else's question, because 1) the root cause and resolution may be different for each case 2) a question can become cluttered and difficult to follow if we try to troubleshoot multiple users' issues in it.

Kind regards,  
Caroline


author: nbinnajib
body: Hi [@Caroline R](/t5/user/viewprofilepage/user-id/3934006) ,

Firstly thank you for your time and attention to reply.

Sure, I have created my question as a new post to the wider community, link here for reference: <https://community.atlassian.com/t5/Bitbucket-questions/remote-Invalid-username-or-password/qaq-p/1872347>

Regards,  
N


Tags: bitbucket-cloud

cloud