# GitLabAPI error

**URL:** <https://community.n8n.io/t/gitlabapi-error/22838>\
**Category:** Questions\
**Created:** [February 9, 2023, 6:42am UTC](https://community.n8n.io/t/gitlabapi-error/22838 "2023-02-09T06:42:49Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![bestwishCT](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/bestwishct/32/20939_2.png) [@bestwishCT](https://community.n8n.io/u/bestwishCT)\
**Post date:** [February 9, 2023, 6:42am UTC](https://community.n8n.io/t/gitlabapi-error/22838/1 "2023-02-09T06:42:49Z")

</div>

Gitlab API error

 ![image](https://europe1.discourse-cdn.com/n8n/original/3X/e/2/e21f2f73fe751e6468d343be8c6de1caeee855ea.png)

 ![image](https://europe1.discourse-cdn.com/n8n/original/3X/4/f/4f0a835b6aadd74eb14955b9b70bec38e9c84536.png)

but Version: 0.210.2 is no problem  
The parameter values are the same

 ![image](https://europe1.discourse-cdn.com/n8n/original/3X/1/1/1159bba7c1829402b41ebdb825f973ed4a43df53.png)

## Information on your n8n setup

- \*\*n8n version:\*\*0.214.2
- \*\*Database you’re using (default: SQLite):\*\*Mysql
- **Running n8n with the execution process [own(default), main]:**
- \*\*Running n8n via [Docker, npm, n8n.cloud, desktop app]:\*\*docker

---

<div class="post-metadata">

**Author:** ![Jon](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/jon/32/40174_2.png) [@Jon](https://community.n8n.io/u/Jon)\
**Post date:** [February 9, 2023, 9:40am UTC](https://community.n8n.io/t/gitlabapi-error/22838/2 "2023-02-09T09:40:59Z")

</div>

Hey @bestwishCT,

That could be my fault, The credential test was updated to use `/api/v4/personal_access_tokens/self` which doesn’t require some of the scopes that were needed before for the test.

The good news is the node itself should still work it is just the credential test that will fail, Could you tell me about your Gitlab token and what scopes are set for it?

---

<div class="post-metadata">

**Author:** ![bestwishCT](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/bestwishct/32/20939_2.png) [@bestwishCT](https://community.n8n.io/u/bestwishCT)\
**Post date:** [February 10, 2023, 1:31am UTC](https://community.n8n.io/t/gitlabapi-error/22838/3 "2023-02-10T01:31:31Z")

</div>

Hey Jon  
 ![image](https://europe1.discourse-cdn.com/n8n/original/3X/a/f/af08ecdba664f2ca7c988dc084eb122536ad1060.png)

---

<div class="post-metadata">

**Author:** ![Jon](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/jon/32/40174_2.png) [@Jon](https://community.n8n.io/u/Jon)\
**Post date:** [February 10, 2023, 9:17am UTC](https://community.n8n.io/t/gitlabapi-error/22838/4 "2023-02-10T09:17:08Z")

</div>

Hey @bestwishCT,

That should work, Did the node work anyway? As a test can you try using the HTTP node and tell it to use your credentials and for the URL put…

[http://172.23.1.21/api/v4/personal\_access\_tokens/self](http://172.23.1.21/api/v4/personal_access_tokens/self) and see what response you get back.

---

<div class="post-metadata">

**Author:** ![bestwishCT](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/bestwishct/32/20939_2.png) [@bestwishCT](https://community.n8n.io/u/bestwishCT)\
**Post date:** [February 10, 2023, 10:07am UTC](https://community.n8n.io/t/gitlabapi-error/22838/5 "2023-02-10T10:07:18Z")

</div>

Hey Jon oh the respones 404 😂

---

<div class="post-metadata">

**Author:** ![Jon](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/jon/32/40174_2.png) [@Jon](https://community.n8n.io/u/Jon)\
**Post date:** [February 10, 2023, 10:12am UTC](https://community.n8n.io/t/gitlabapi-error/22838/6 "2023-02-10T10:12:17Z")

</div>

Well that is a bit of a problem 😃 What version of Gitlab are you running?

---

<div class="post-metadata">

**Author:** ![bestwishCT](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/bestwishct/32/20939_2.png) [@bestwishCT](https://community.n8n.io/u/bestwishCT)\
**Post date:** [February 11, 2023, 7:08am UTC](https://community.n8n.io/t/gitlabapi-error/22838/7 "2023-02-11T07:08:43Z")

</div>

Well Jon GitLab Community Edition 10.5.2 😀

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/system/32/195824_2.png) [@system](https://community.n8n.io/u/system)\
**Post date:** [May 12, 2023, 7:08am UTC](https://community.n8n.io/t/gitlabapi-error/22838/8 "2023-05-12T07:08:50Z")

</div>

Closed on May 12, 2023, 7:08am UTC

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
