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

I get 'remote: Invalid credentials' whenever I try to push to my new bitbucket repository

christopher marek July 4, 2023

I have opened a DOS window from my local git repo. I am trying to do a push to the remote repo. A pop up ATLASSIAN comes up with user name cjmarek, and a blank box for me to input a password. I press 'Continue', and then on the dos window I see it telling me 'remote: Invalid credentials.

Password for 'https://cjmarek@bitbucket.org
remote: Invalid credentials

I have tried resetting my password. I am able to sign in to the bitbucket website with my reset credentials. But the DOS window to my local repo will not let me push to the remote:


git push -u origin master  or 
git push origin master

My credentials are not accepted as valid.

My email is cjmarek1@gmail.com if you want to reply to me by email.

BitBucketProblems.png

1 answer

0 votes
Syahrul
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 5, 2023

G'day @christopher marek 

You are using incorrect credentials, as we no longer accept account passwords for Git. You'll need to generate an App Password as your password credentials. Please check our guide below on how to generate one:

App passwords 

I hope this helps.

Regards,
Syahrul

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Site Admin
TAGS
AUG Leaders

Atlassian Community Events