Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Can't push or edit repository for which I am admin

mcordiner
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 17, 2025

I'm going back to a repository for the first time since I made it public about a year ago. I just wanted to edit a text file, but the edit icons are all greyed out.  So I went to the teminal and made the edits there, but upon pushing I get 

Password for 'https://<user>@bitbucket.org':

remote: You may not have access to this repository or it no longer exists in this workspace. If you think this repository exists and you have access, make sure you are authenticated.

fatal: Authentication failed for 'https://bitbucket.org/mcordiner/sublimed.git/'

I tried making an access token, and used that as the password, but after running 

git config user.email <string>@bots.bitbucket.org

...I still get the same authentication failure. It's like I'm locked out from editing my own repo. I have checked and there are no branch restrictions in place. I confirm that I can log in to bitbucket and modify the repository settings, but cannot edit the files.

Help!

1 answer

0 votes
Ronald C_
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
November 26, 2025

Hey @mcordiner 

Since you're using the repository's access token, would it be possible for us to confirm that your repository's remote URL uses the following format when you run `git remote -v`?

https://x-token-auth@bitbucket.org/mcordiner/sublimed.git

or

https://x-token-auth:<Access_Token>@bitbucket.org/mcordiner/sublimed.git

Alternatively, you can try using SSH to push the change: https://support.atlassian.com/bitbucket-cloud/docs/configure-ssh-and-two-step-verification/

Do let us know how it goes with it.

Suggest an answer

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

Atlassian Community Events