Forums

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

Incoming Webhook URL Change broke GitLab

Nathan H_ April 11, 2025

The URL change coming in May has got us to update or webhook rules in GitLab in preparation. Now that they have a new URL and secret token the gitlab tests are failing with an HTTP 400. I've used curl and can successfully hit the API and can confirm it in the automation audit logs. A 400 error is generic and I'm having troubles figuring this out on my own. 

 

Is there additional GitLab configurations now needed for for the web hooks? Mostly just need merge request to trigger my Jira automations. 

3 answers

1 accepted

1 vote
Answer accepted
Nathan H_ April 14, 2025

A custom header is needed in the GitLab web hook:

  1. Select, Add custom header
    1. Header name: X-Automation-Webhook-Token
    2. Header value: <Add you secret here>

Screenshot 2025-04-14 at 16.29.08.png

0 votes
Vikrant Yadav
Community Champion
April 11, 2025

@Nathan H_  Welcome to Atlassian Community!

Have you tested Automation incoming webhook URL and Token in postman ? 
In postman also getting 400 error code. 

https://support.atlassian.com/automation/kb/check-if-the-incoming-webhook-trigger-in-an-automation-rule-is-correct/

Vikrant Yadav
Community Champion
April 11, 2025

Or you try this webhookURL\Token

Nathan H_ April 14, 2025

I have not as the way I read the article it was an alternative to curl, is there a benefit to using Postman over Curl? If not, then I would prefer not to install extra software and create additional accounts. 

0 votes
Nathan H_ April 11, 2025

I'm using the same secret for both API URL's. This is the output from gitlab:

Hook executed successfully but returned HTTP 400 {"errorMessage":null,"message":null,"warningMessages":[],"errorMessages":["Missing token"],"errors":{},"status":400}

Screenshot 2025-04-11 at 15.25.18.png

Suggest an answer

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

Atlassian Community Events