Skip to main content

Why am I getting 403 error when adding a GitLab repository to the integration?

Updated over a month ago

Issue

I am 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 users.

  • 403 in network response.

Symptoms

  • 403 error occurring after selecting a repository from the dropdown.

Resolution

Make sure you checked the following:

  • 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.

Did this answer your question?