Error Codes
GITLAB_2
GITLAB_2 Error Code
Issue
- We were unable to fetch Gitlab projects using the access token that was provided.
Resolution
There’s a few possible reasons for this:
- The token does not have the read_api scope OR the token is expired
- In either case, since Gitlab doesn’t allow you to view the details of a token after creation, we will have to recreate the token
- Head over to your Glean admin account and navigate to https://app.glean.com/admin/setup/apps
- Find your Gitlab datasource and got its setup page
- Follow the instructions to create a new personal access token and save it
- Make sure to include the read_api scope on the token as this is the scope that allows us to list projects using the personal access token
- If the above doesn’t work, it’s possible our crawler has networking issues in reaching your Gitlab instance. Please reach out to us at https://support.glean.com to resolve this.
If you are still having difficulty please reach out to us: https://support.glean.com