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-module
Username for 'https://bitbucket.org': rca4ban
Password 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'.
Created from bitbucket cloud workspace,
how do i check wether it has write:repository:bitbucket scope?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello @A Rakshitha
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?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yeah, its an same account.
I am not sure wether write access is provided.
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.