Error: Failed To Connect to GitHub Webhooks: Lack of Access / Endpoint Not Found
Issue
When webhooks are enabled for GitHub, the following error appears during connector setup:
Failed to connect to GitHub Webhooks: Lack of access / Endpoint not found: Not Found.
Environment
Connector: GitHub
Resolution
To resolve the error, follow the steps below:
Step 1
Verify that you are connecting with an active GitHub account with the following GitHub scopes:
repo
read:org
admin:org_hook
admin:repo_hook
Step 2
Confirm that the Fivetran app is listed as an authorized native app in GitHub. Follow the steps below:
- Access your GitHub user profile.
- Click Settings.
- Click Applications.
- Click Authorized OAuth Apps.
- Click Fivetran.
- Ensure that all available permissions are enabled.
Step 3
Check that the GitHub account has Admin permissions. The account's Admin permissions will pertain to the organization and the repositories.
Cause
Scopes allow you to specify the type of access you need. Scopes limit access for OAuth tokens. They do not grant additional permission beyond what the user has specified.
Only users with Admin permission can manage webhooks and deploy keys. For more information, see GitHub's documentation.