Hi everyone!
I try to create a branch(with name of JIRA issue key) on GitLab server located in the local network by using a webhook and I catch an error: “Client error - 422 when posting to web hook at…”
atlassian-jira.log:
2018-02-19 13:34:23,971 Web-Hook-Publisher-1 DEBUG admin 792x1607x1 hkjsfa 192.168.100.170 /secure/QuickCreateIssue.jspa [c.a.webhooks.plugin.PublishTaskFactoryImpl$PublishTaskImpl] Posting to web hook at ‘http://192.168.101.28:8010/developers/gitlab-project/branches?branch=versss&ref=master&private_token=zzzzzzzzzzzzzzzzzzzz&user_id=user1&user_key=user1’, body is:
…
2018-02-19 13:34:24,082 httpclient-callbacks:thread-8 WARN anonymous [c.a.webhooks.plugin.PublishTaskFactoryImpl$PublishTaskImpl] Client error - 422 when posting to web hook at ‘http://192.168.101.28:8010/developers/gitlab-project/branches?branch=versss&ref=master&private_token=zzzzzzzzzzzzzzzzzzzz’
2018-02-19 13:34:24,082 httpclient-callbacks:thread-8 DEBUG anonymous [c.a.webhooks.plugin.PublishTaskFactoryImpl$PublishTaskImpl] Body is
…
I think I catch the error because of authentication problem. For example “private_token=” expression, but without it I see the same error …
Could somebody help me to figure out it what is this error 422 mean?