I already have permission to access repo, but unfortunately I can clone the repo. Error return as per below:
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
May I know which protocol you're using to authenticate (ie HTTPS/SSH)? The error message could be one of two things:
The error message implies SSH, we have troubleshooting articles for this below - the most common reason you may be receiving this is because of a key mismatch - in which case it's easiest to generate fresh SSH keys and add this to your user account:
Otherwise, if HTTPS - it could be the way you've configured your API token.
To start using API tokens with Bitbucket Cloud - you'll need to create the API token and specify the scope - this is mentioned in our deprecation documentation:
Click the gear cog icon, select Atlassian Account settings > Security tab > Create and manage API Tokens
Click Create API token with scopes and select Bitbucket Cloud
If you want to be able to clone/push/pull to the repository - you'll need to tick both read:repository:bitbucket and write:repository:bitbucket - clone only would just be read:repository:bitbucket. More information on scopes can be found in our API scopes documentation.
Perform the clone using the API token by executing either of the commands below (if using the first command - you can find your username by clicking the gear cog icon and selecting Personal Bitbucket Settings - it's visible under the Bitbucket Profile Settings heading):
If the above does not help you resolve the issue - please raise a ticket with our support team by selecting Technical Issues & Bugs > Bitbucket, as I can see you are a member of a paid workspace:
If you encounter issues raising a ticket - please let me know your timezone and I will raise one on your behalf with the team who operates during your working hours.
Cheers!
- Ben (Bitbucket Cloud Support)
Cant clone the repo
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.