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

Cannot access my account push, fetch stopped working

Ben Goldenberg May 6, 2023

Suddenly I cannot push or fetch

I have the correct ssh keys in my developer settings,

but it sopped working, it used to work.

 

I am getting an error:

The requested repository either does not exist or you do not have access. If you believe this repository exists and you have access, make sure you're authenticated.
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

 

I have another repository on the project that works well 

1 answer

0 votes
Ben
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 8, 2023

G'day Ben!

Thank you for contacting Bitbucket Cloud Support.

I would suggest executing the following command to check how you have your repositories remote connections configured:

git remote -vvv

If the working repository path differs from the repository that is not working - I would suggest updating your remote URL's to include your App Password as we stopped supporting username/password authentication over HTTPS some time ago:

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

The same applies when performing a git clone:

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

I would suggest ensuring also that all stored passwords related to authentication over GIT are cleared from your machine (ie Credential Manager for Windows, Access Keychain for Mac or /etc/shadow folder for Linux).

Hope this helps.

If you are still encountering issues, please let me know and I will open a support ticket on your behalf.

Cheers!

- Ben (Bitbucket Cloud Support)

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events