# Gitlab integration with Jenkins receiving 401 Unauthorized

**URL:** <https://community.jenkins.io/t/gitlab-integration-with-jenkins-receiving-401-unauthorized/4246>\
**Category:** Ask a question\
**Created:** [October 20, 2022, 1:36pm UTC](https://community.jenkins.io/t/gitlab-integration-with-jenkins-receiving-401-unauthorized/4246 "2022-10-20T13:36:21Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![wojg21](https://avatars.discourse-cdn.com/v4/letter/w/7bcc69/32.png) [@wojg21](https://community.jenkins.io/u/wojg21)\
**Post date:** [October 20, 2022, 1:36pm UTC](https://community.jenkins.io/t/gitlab-integration-with-jenkins-receiving-401-unauthorized/4246/1 "2022-10-20T13:36:21Z")

</div>

I have a local Gitlab and Jenkins server running in docker. Webhooks work when merging into master and executing build but unable to get the Gitlab Jenkins integration to work. Receiving 401 unauthorized. I do see logs on Jenkins showing the response from Gitlab. I have an admin user that I have an API Token created. I am using the username and Api Token for the password but still no luck. What am I missing here? Thank you in advance.
