Skip to main content

Issue

We are unable to fetch permissions for any repository using the provided credentials.

Resolution

For Bitbucket Cloud:

This error occurs when the API token was created by a non-admin user or is missing one of the required scopes.

Please ensure that:

  1. The API token was created by a user with admin privileges.
  2. The API token has all of the required scopes that were requested during setup.

For Bitbucket Server:

This error occurs when the HTTP access token does not have sufficient permissions.

Please ensure that the HTTP access token has REPO_ADMIN access.

If you are still having difficulty please reach out to us: https://support.glean.com.