Where do I enable anonymous access for a bamboo webhook

Jonathan Craft
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!
January 22, 2025

I’m attempting to run a bamboo build on a commit to my repository.  I get an error 401 on bitbucket.org stating that anonymous users cannot access the repository.  Where do I enable anonymous access?

1 answer

0 votes
Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 24, 2025

Hi Jonathan and welcome to the community!

A Bitbucket Cloud repository can be either private or public. A private repository is visible only to Bitbucket users who have been granted access to it, while a public repo is visible to all Bitbucket users and even non-users who have its URL. The option to make a repository private or public can be found on Bitbucket's website if you open the repo, go to Repository settings > Repository details > checkbox This is a private repository.

A 401 error indicates an unauthorized request, e.g. authentication details were not provided or they were provided but they are incorrect or the authenticated user doesn't have access.

If you make the repo public, then clone via HTTPS is possible even without credentials, but I'm not sure if you want to open your repo to the world.

If you have a private repo, then you'll need to provide to Bamboo authentication details so that it can clone the repo. Have you provided authentication details to Bamboo as per this doc, specifically step 5.3?

If so, which of the authentication methods have you provided?

Can you also please confirm if the operation that fails in Bamboo with 401 is a git clone of the repo, or something different?

Kind regards,
Theodora

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Product Admin Site Admin
TAGS
AUG Leaders

Atlassian Community Events