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
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)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.