Forums

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

I have created the API token for bitcuket

A Rakshitha
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!
May 15, 2026

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/'

2 answers

2 votes
Arkadiusz Wroblewski
Community Champion
May 16, 2026

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?

A Rakshitha
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!
May 17, 2026

Yeah, its an same account.
I am not sure wether write access is provided.

1 vote
Vipul Reddy
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 17, 2026

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'.

A Rakshitha
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!
May 18, 2026

Created from bitbucket cloud workspace, 

how do i check wether it has write:repository:bitbucket scope?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events