I have created the API token from bitbucket, and trying to push the changes but still i am getting this issue rca4ban@KOR-C-017L9:~/rca4ban-unit-testing/rbcode$ git push origin RBSM-4930-som-unit-testing-diagnostics-moduleUsername for 'https://bitbucket.org': rca4banPassword for 'https://rca4ban@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/ridebuddy-bosch/rbcode.git/'
Hello @A Rakshitha
Could you please clarify whether you created an Access Token from your Bitbucket Cloud workspace, or a user API Token?
If you're using an API Token, could you please ensure that it has the write:repository:bitbucket scope?
If it's an Access Token, please ensure that it has Read and Write permission under 'Repositories'.
Is `rca4ban` the Bitbucket username of the same account that created the API token?Does that account have write access to `ridebuddy-bosch/rbcode`?Did you create a user API token, or a repository/project/workspace access token?
Yeah, its an same account.I am not sure wether write access is provided.
Created from bitbucket cloud workspace, how do i check wether it has write:repository:bitbucket scope?
If you've created the token from your Bitbucket cloud workspace, that would be an Access Token.
Navigate to your workspace or repository settings > Security > Access tokens. Click on the token you created and you'll be shown Scopes. Can you please list what is shown?
Ideally you should have repository and repository:write. If not, please configure a new access token with the suggested scope.
It looks like you're new here. Sign in or register to get started.