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,464,354
Community Members
 
Community Events
176
Community Groups

Troubling making call to bitbucket via postman using APP Password

Ive created a APP Password in Bitbucket and am attempting to make the below call using POSTMAN.

https://developer.atlassian.com/cloud/bitbucket/rest/api-group-repositories/#api-repositories-workspace-get

In postman Ive set it to use BASIC AUTH where the username is my regular email username and the password is the generated APP Password.

When it hit SEND, i get the below response:

 

Bitbucket Cloud recently stopped supporting account passwords for API authentication.
See our community post for more details: https://atlassian.community/t5/x/x/ba-p/1948231
App passwords are recommended for most use cases and can be created in your Personal settings:
https://bitbucket.org/account/settings/app-passwords/
For more details on API authentication methods see our documentation:
https://developer.atlassian.com/cloud/bitbucket/rest/intro/#authentication

 

What am i doing wrong?

 

many thanks! 

1 answer

1 accepted

0 votes
Answer accepted
Patrik S Atlassian Team May 10, 2022

Hello @Kelly ,

Welcome to Atlassian Community!

From your description you are using your account's e-mail address as the username and I think this is the issue here.

To authenticate your calls to Bitbucket API using basic auth you need to provide your bitbucket username, and not e-mail address. You can find the bitbucket username of your account going to your account's personal settings (https://bitbucket.org/account/settings/), and looking for the field Username under Account Settings.

Then, you can use the bibucket username along with an App Password as your credentials for authenticating the request to Bitbucket API.

Hope that helps! Let me know if you have any question.

Thank you @Kelly .

Kind regards,

Patrik S.

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events