# Gitlab Trigger 422 Error

**URL:** <https://community.n8n.io/t/gitlab-trigger-422-error/4954>\
**Category:** Questions\
**Created:** [March 25, 2021, 2:08pm UTC](https://community.n8n.io/t/gitlab-trigger-422-error/4954 "2021-03-25T14:08:21Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![huerse](https://avatars.discourse-cdn.com/v4/letter/h/50afbb/32.png) [@huerse](https://community.n8n.io/u/huerse)\
**Post date:** [March 25, 2021, 2:08pm UTC](https://community.n8n.io/t/gitlab-trigger-422-error/4954/1 "2021-03-25T14:08:21Z")

</div>

Hi,  
I’m using n8n in docker mode for testing and I’ve added the Gitlab Trigger node with access token.

 ![image](https://europe1.discourse-cdn.com/n8n/original/2X/d/d4d52884eb89cd17d6894a343696bad1b90cd49b.png). The access token is working (I’ve tried it with the Gitlab Action node).  
I am the owner of the repository, but I can’t access my repository through the Gitlab Trigger Node. I always get an 422 ( 422 - {“error”:“Invalid url given”}\* Error.

Has anybody an idea what I am doing wrong?

**Environment (please complete the following information):**

- OS: [Ubuntu Linux 20.04]
- n8n Version [lastest]
- Node.js Version [v12.14.1]

---

<div class="post-metadata">

**Author:** ![jan](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/jan/32/9_2.png) [@jan](https://community.n8n.io/u/jan)\
**Post date:** [March 25, 2021, 2:42pm UTC](https://community.n8n.io/t/gitlab-trigger-422-error/4954/2 "2021-03-25T14:42:38Z")

</div>

Welcome to the community @huerse!

I guess you did not configure n8n correctly. You either have to set it up with a proper own domain as documented here:

> **[Server setups | n8n Docs](https://docs.n8n.io/hosting/installation/server-setups/)**
>
> Documentation for n8n, a workflow automation platform.

Or if you are really just doing some testing you have to start n8n with tunnel:

> **[Try it out | n8n Docs](https://docs.n8n.io/try-it-out/)**
>
> The n8n quickstarts.

---

<div class="post-metadata">

**Author:** ![huerse](https://avatars.discourse-cdn.com/v4/letter/h/50afbb/32.png) [@huerse](https://community.n8n.io/u/huerse)\
**Post date:** [March 25, 2021, 3:15pm UTC](https://community.n8n.io/t/gitlab-trigger-422-error/4954/3 "2021-03-25T15:15:50Z")

</div>

Hi Jan,

thank you very much for your help. I tried tunneling and now everything works fine. Thank you so much

---

<div class="post-metadata">

**Author:** ![jan](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/jan/32/9_2.png) [@jan](https://community.n8n.io/u/jan)\
**Post date:** [March 25, 2021, 4:08pm UTC](https://community.n8n.io/t/gitlab-trigger-422-error/4954/4 "2021-03-25T16:08:04Z")

</div>

Great to hear. Have fun!
