Medium severityconfiguration
Power BI Refresh Error:
GIT_REPOSITORY_INTEGRATION_ERROR
What does this error mean?
Snowflake cannot connect to or fetch from the configured Git repository, typically because the API integration credentials are invalid, the repository URL changed, or a branch conflict prevents a clean fetch.
Common causes
- 1The GitHub personal access token or OAuth credential stored in the Snowflake secret expired or was revoked
- 2The repository was made private, renamed, or deleted after the integration was created
- 3A merge conflict or force-push in the repository cannot be resolved automatically by Snowflake
- 4The Snowflake account's network policy blocks outbound connections to github.com or the Git hosting domain
How to fix it
- 1Step 1: Check the error from ALTER GIT REPOSITORY <name> FETCH; to get the specific failure reason.
- 2Step 2: Verify the secret holding the Git token is current: run a test fetch manually from a Snowsight notebook.
- 3Step 3: Regenerate the personal access token or OAuth credential and update the Snowflake secret.
- 4Step 4: Confirm the repository URL in the API integration still matches the repo's current location.
- 5Step 5: If a merge conflict is detected in a notebook sync, use the Snowflake UI to discard or commit local changes before re-fetching.