I sent a webhook from Bitbucket to Bamboo On Demand, but I get a 401 error.

엄성렬SA February 21, 2023

Hi there 

 

I tried it through this url

I get a 401 error. Works well with postman, but not with webhook

The difference between postman and webhook is that you can't add an authentication value to the header.

 

401 error content at the bottom

<?xml version="1.0" encoding="UTF-8" standalone="yes"?><status><status-code>401</status-code><message>Client must be authenticated to access this resource.</message></status>

 how to solve this problem.

 

thks.

1 answer

0 votes
Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 22, 2023

Hi @엄성렬SA,

It is indeed not possible to provide authentication details in a Bitbucket Cloud webhook.

You can check the suggestion in the following post:

The error message is slightly different that yours, but it is still related to authentication, and the suggestion may help.

If it doesn't, I would suggest that you post your question on the Bamboo product forum as well:

https://community.atlassian.com/t5/Bamboo/ct-p/bamboo

Kind regards,
Theodora

Suggest an answer

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

Atlassian Community Events