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
Community Members
Community Events
Community Groups

Authentication issue with API


Hello, sorry for reopening this thread. But I have a strange issue.

curl -L -X GET --user username:password<workspace>/

On Centos 7 this gives me:

Bitbucket Cloud recently stopped supporting account passwords for API authentication.
See our community post for more details:
App passwords are recommended for most use cases and can be created in your Personal settings:
For more details on API authentication methods see our documentation:

But on Fedora and Ubuntu works.

I need to make it work on CentOS 7, can you help me?

1 answer

0 votes

Hi @Giovanni Cappellini,

We deprecated Bitbucket Cloud account passwords for Bitbucket API and Git activity earlier this year:

You will need to generate an app password for the Bitbucket Cloud account you use to authenticate with:

and then use your Bitbucket Username + app password for authentication in API calls.

The output on Centos is expected if you are using your account's password.

The strange thing is that you mention that it works in Fedora and Ubuntu.

  • Are you executing these API calls with curl from a terminal application in all 3 operating systems?
  • Are you passing the same credentials for username and password in all 3 cases?
  • I checked the Bitbucket Cloud account that has the same email as your community account, but I see that it doesn't have access to any repos. Are you facing this issue with a different Bitbucket account?

Just a heads up, I moved your question to a new post. It's best to create a separate question if you need assistance with an issue, as it can become difficult and confusing to troubleshoot multiple users' issues in one post.

Kind regards,

One more thing I forgot to mention:

We display this message that you saw in Centos when an incorrect app password is used for authentication (and not only when someone uses their password).

In case you are already using app passwords, please make sure you provide the correct value.

If the issue persists, please leave an answer to the 3 questions I asked in my previous reply and we can further investigate.

Kind regards,

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bitbucket

Git push size limits are coming to Bitbucket Cloud starting April 4th, 2022

Beginning on April 4th, we will be implementing push limits. This means that your push cannot be completed if it is over 3.5 GB. If you do attempt to complete a push that is over 3.5 GB, it will fail...

2,234 views 2 9
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you