Forums

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

Cannot access repository

bryant_fujimoto
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!
October 29, 2025

I am using git bash. When attempting to push I get the message
remote: You may not have access to this repository or it no longer exists in this workspace.

The repository has an access token, I can see "it in Repository Settings > Access tokens". Only one token is listed.
1. I have tried
git remote set-url origin https://{my bitbucket name}:{access token}@bitbucket.org/{project}/{repository}.git

That doesn't change anything, I am still denied access.

2. I have also tried
git config user.email {token in repository settings}@bots.bitbucket.org

This also doesn't change anything.
The second token was in the details displayed when I clicked on the token in the list of access tokens.

I wasn't sure about the scopes for the token, so I selected all of them. The scopes for the token are
pipeline
pipeline:variable
pipeline:write
pullrequest
pullrequest:write
repository
repository:admin
repository:delete
repository:write
runner
runner:write
webhook

1 answer

0 votes
Ben
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 30, 2025

Hi @bryant_fujimoto 

To troubleshoot this further, we will need verbose log output from your terminal. These logs would not be appropriate to share on a public forum such as community as they contain sensitive data.

I can see you're a member of a paid workspace. Can you please raise a ticket directly with our support team so that we may assist further?

Cheers!

- Ben (Bitbucket Cloud Support)

Suggest an answer

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

Atlassian Community Events