Issue
Encountering a 403 error when attempting to add a GitLab repository to the GitLab integration in Sentry. The issue persists after integration removal, and re-installation, and/or permission adjustments in GitLab.
Applies To
- GitLab Integration is installed
- 403 in network response
Symptoms
- 403 error occurring after selecting a repository from the dropdown.
Resolution
- Ensure you have either owner or maintainer permissions in your GitLab instance
- Refer to GitLab's documentation on permissions for details.
- Incorrect permissions may prevent the addition of repositories, this is because Gitlab needs to be able to install webhooks on the repo during the integration process.