# SonarCloud Gitlab Org import

**URL:** <https://community.sonarsource.com/t/sonarcloud-gitlab-org-import/78635>\
**Category:** SonarQube Cloud\
**Tags:** gitlab\
**Created:** [December 9, 2022, 2:31am UTC](https://community.sonarsource.com/t/sonarcloud-gitlab-org-import/78635 "2022-12-09T02:31:07Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Madhvik\_Patel](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/madhvik_patel/32/27713_2.png) [@Madhvik\_Patel](https://community.sonarsource.com/u/Madhvik_Patel)\
**Post date:** [December 9, 2022, 2:31am UTC](https://community.sonarsource.com/t/sonarcloud-gitlab-org-import/78635/1 "2022-12-09T02:31:07Z")

</div>

Unable to import Gitlab Org in SonarCloud. I am already the owner of the group and have api permission provided for access token. Anyways How can I solve or debug this problem?

 ![Capture3](https://europe1.discourse-cdn.com/sonarsource/uploads/sonarcommunity/original/3X/a/a/aadd983af71010c33d9233d82fd5269b9ff17fbd.png)

---

<div class="post-metadata">

**Author:** ![Madhvik\_Patel](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/madhvik_patel/32/27713_2.png) [@Madhvik\_Patel](https://community.sonarsource.com/u/Madhvik_Patel)\
**Post date:** [December 14, 2022, 8:14pm UTC](https://community.sonarsource.com/t/sonarcloud-gitlab-org-import/78635/3 "2022-12-14T20:14:37Z")

</div>

Does Sonarcloud maps with name or id/key of the group for Gitlab? After mapping and moving to plan/payments the 3rd step, it is giving the same error after the payment step. [An Unexpected error occurred. Please try again later.].

---

<div class="post-metadata">

**Author:** ![Colin](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/colin/32/55255_2.png) [@Colin](https://community.sonarsource.com/u/Colin)\
**Post date:** [December 16, 2022, 4:29pm UTC](https://community.sonarsource.com/t/sonarcloud-gitlab-org-import/78635/4 "2022-12-16T16:29:25Z")

</div>

Hey @Madhvik_Patel

I reached out via private message for your organization details. Please respond there.

---

<div class="post-metadata">

**Author:** ![Reza\_bagheri](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/reza_bagheri/32/31606_2.png) [@Reza\_bagheri](https://community.sonarsource.com/u/Reza_bagheri)\
**Post date:** [December 20, 2022, 7:41pm UTC](https://community.sonarsource.com/t/sonarcloud-gitlab-org-import/78635/7 "2022-12-20T19:41:26Z")

</div>

I am facing the same issue, the same error on payment.  
I am the owner of the group on GitLab and payment is failing with an error [An Unexpected error occurred. Please try again later.] !!!  
Any suggestion?!

---

<div class="post-metadata">

**Author:** ![Nawar\_Hamo](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/nawar_hamo/32/31233_2.png) [@Nawar\_Hamo](https://community.sonarsource.com/u/Nawar_Hamo)\
**Post date:** [January 2, 2023, 10:51am UTC](https://community.sonarsource.com/t/sonarcloud-gitlab-org-import/78635/10 "2023-01-02T10:51:13Z")

</div>

Hello @Madhvik_Patel,

To answer your first question, you need to provide **Group ID** from the GitLab side when importing in SonarCloud.  
If you still have the issue would you please retry while using the network tab in your web navigator debug tool to identify the failed request? You can ping me here and then I’ll reach out to you via DM to get all this information to help us investigate the issue.

Regards,  
Nawar

---

<div class="post-metadata">

**Author:** ![Reza\_bagheri](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/reza_bagheri/32/31606_2.png) [@Reza\_bagheri](https://community.sonarsource.com/u/Reza_bagheri)\
**Post date:** [January 18, 2023, 5:09pm UTC](https://community.sonarsource.com/t/sonarcloud-gitlab-org-import/78635/12 "2023-01-18T17:09:10Z")

</div>

I have the same problem, I am receiving error code 500 for the create API call in the last step of importing organization. Could you help me with this issue? if you can send me a private message, I can share a screenshot of the error I am experiencing.

---

<div class="post-metadata">

**Author:** ![Nawar\_Hamo](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/nawar_hamo/32/31233_2.png) [@Nawar\_Hamo](https://community.sonarsource.com/u/Nawar_Hamo)\
**Post date:** [February 6, 2023, 8:27am UTC](https://community.sonarsource.com/t/sonarcloud-gitlab-org-import/78635/17 "2023-02-06T08:27:56Z")

</div>

After checking with @Reza_bagheri, the problem was resolved by using the existing users to continue their GitLab integration.

---

<div class="post-metadata">

**Author:** ![arcshrma](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/arcshrma/32/41813_2.png) [@arcshrma](https://community.sonarsource.com/u/arcshrma)\
**Post date:** [February 7, 2023, 1:18pm UTC](https://community.sonarsource.com/t/sonarcloud-gitlab-org-import/78635/19 "2023-02-07T13:18:21Z")

</div>

can you please elaborate on the solution. What were the steps taken to resolve the issue? I also am already the owner of the group and have api permission provided for access token.

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/system/32/31083_2.png) [@system](https://community.sonarsource.com/u/system)\
**Post date:** [February 14, 2023, 1:18pm UTC](https://community.sonarsource.com/t/sonarcloud-gitlab-org-import/78635/20 "2023-02-14T13:18:45Z")

</div>

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