Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Error publishing webhook. Response HTTP status: 401

vincenzo_spatafora
Contributor
June 10, 2024

Dear ALL,

I have created an automation rule for editing (PUT) in a specifc confluence page the value of a field (called in my case "% Completion").

But you get an error message saying:

Error publishing webhook. Response HTTP status: 401

Do you see a reason for that?

Find please attached my rule.

Thanks in advance, Vincenzo.

Rule_part1.pngRule_part2.pngRule_part3.png

 

1 answer

1 accepted

0 votes
Answer accepted
Florian Bonniec
Community Champion
June 13, 2024

Hi @vincenzo_spatafora 

 

401 means permission issue, you are not authenticate. Are you sure to provide the right Authentication param ?

 

Regards

vincenzo_spatafora
Contributor
June 14, 2024

Hi @Florian Bonniec

thanks for your reply.

No, I'm not sure: how can I authenticate myself? I don't know that.

Thanks, Vincenzo.

Florian Bonniec
Community Champion
June 14, 2024

Hi

 

I will use a service account if you can instead of your own, as it's this user that will be use for the action.

Also I would save the token as secret first then use the secret.

Create and edit masked secret keys for automation rules | Automation for Jira Cloud and Data Center | Atlassian Documentation

How to create the basic authen token

https://developer.atlassian.com/server/jira/platform/basic-authentication/#construct-the-authorization-header

 

Regards

vincenzo_spatafora
Contributor
June 14, 2024

Thank You @Florian Bonniec

helpful, thanks.

Kind Regards, Vincenzo.

Suggest an answer

Log in or Sign up to answer