GITHUB_1
Issue
- Glean is unable to:
- Validate that the Glean GitHub app is installed in the expected GitHub organization
- Verify that ownership of the GitHub organization belongs with the customer
Resolution
The Glean GitHub app isn't installed
The Glean GitHub app hasn't been installed in the target GitHub organization, or the installation was removed. This can also happen if Glean didn't receive the installation webhook from GitHub.
- Follow the Install the Glean App for GitHub instructions to install the Glean GitHub app in the correct organization.
- If you recently installed or updated the app, wait up to 10 minutes for changes to propagate and try again.
- If the app is already installed, try uninstalling and reinstalling it to trigger a new installation webhook.
The installing user has no verified email
Glean requires the installing user to have at least one verified email address on their GitHub account. If no verified email is available, the validation fails.
This is common with GitHub Enterprise Managed Users (EMU) accounts, where email addresses are no longer automatically verified.
- Go to GitHub Settings → Emails and confirm that at least one email address is verified.
- If the email isn't verified, follow GitHub's email verification steps to verify it.
The installing user's email domain doesn't match
Glean verifies that the installing user's email domain matches the expected company domain for the deployment. For example, if your company domain is example.com, the installer must have a verified @example.com email.
- Ensure the installing user has a verified email address with your company domain on their GitHub account.
- If needed, have a different user with a matching company email reinstall the Glean GitHub app.
- If your organization uses additional email domains, contact Glean Support to add them to your deployment's domain configuration.
If you aren't able to verify the email of the account being used for installation, contact Glean Support to create the mapping.
The organization is already connected to another deployment
The GitHub organization is already mapped to a different Glean deployment. Each organization can only be connected to one deployment at a time. This is common when migrating between dev and production deployments.
To move the organization to a different deployment:
- Uninstall the Glean GitHub app from the GitHub organization to remove the existing mapping.
- Delete the previously existing GitHub data source from the old deployment.
- Reinstall the Glean GitHub app on the GitHub organization.
- Create a new GitHub data source in the correct deployment. Glean will set up the mapping correctly.
If you don't have access to the other deployment, contact Glean Support to resolve the mapping conflict.
For additional assistance, contact Glean Support.