Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,463,768
Community Members
 
Community Events
176
Community Groups

Unable to do Git Tag! Getting: remote: Your credentials lack one or more required privilege scopes

Edited

I had to change the account that was being used to perform git pull and git tag on a branch in a repo. For that I updated user.email, user.name and remote.origin.url git global config settings. Here is how I did it:

Since doing that even though I am able to pull code but tagging branch is giving me below error:

Password for 'https://new-user-id@bitbucket.org':
     [exec] remote: Your credentials lack one or more required privilege scopes.
     [exec] fatal: unable to access 'https://new-user-id@bitbucket.org/<path>/<repo>.git/': The requested URL returned error: 403
     [exec] Result: 128

Its an EC2 server instance where I am performing these git operations. 

1 answer

0 votes

G'day!

Please try to configure an App Password if you have not done so already to authenticate over HTTPS by following the documentation at this link, then updating your remotes to reflect this change:
https://support.atlassian.com/bitbucket-cloud/docs/app-passwords/#Create-an-app-password

If this fails, can you attempt to use SSH to authenticate and see if the same occurs?

Cheers!

- Ben Pellaers (Bitbucket Cloud Support)

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events