Client error - 422 when posting to web hook

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?

GitLab REST API for creating a branch here https://docs.gitlab.com/ce/api/branches.html
Example:
curl --request POST --header “PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK” “https://gitlab.example.com/api/v4/projects/5/repository/branches?branch=newbranch&ref=master

Did I write webhook wrong for applying in JIRA webhook?

I figured it out.
I just learn how REST API works. That’s why I thought the expression in curl and webhook is different. Actually it the same.

I used wrong URL in webhook: ‘http://192.168.101.28:8010/developers/gitlab-project
Should use: “https://gitlab.example.com/api/v4/projects…”