u/asosyalistbiyikli

Google AI Studio GitHub sync fails even after revoking and reinstalling GitHub App permissions

Google AI Studio GitHub sync fails even after revoking and reinstalling GitHub App permissions

Hi everyone,

I am having a persistent issue with the GitHub integration in Google AI Studio.

When I try to use **Sync to GitHub**, AI Studio shows the following error:

> Failed to load file differences, The GitHub repository could not be found, or you lack permissions. Please ensure the AI Studio GitHub App is installed.

The repository is shown correctly in AI Studio and the branch is `main`, but the sync panel cannot load the file differences.

I have already tried the following troubleshooting steps multiple times:

- Revoked the Google AI Studio / AI Studio GitHub App access from GitHub.
- Reinstalled the GitHub App.
- Reconfigured repository access.
- Tried both “all repositories” access and selected repository access.
- Confirmed that the target repository is included in the GitHub App permissions.
- Tried reconnecting from the **Configure App** button inside AI Studio.
- Logged out and back in.
- Refreshed AI Studio after reinstalling permissions.
- Tried the same flow multiple times in Safari.
- Tried the same flow multiple times in Brave.
- Tried private/incognito browser windows in both Safari and Brave.
- Cleared/restarted the browser sessions and repeated the authorization flow.

Despite all of this, AI Studio still shows the same error and cannot load the GitHub diff.

The error message suggests either the repository cannot be found or the app lacks permissions, but from the GitHub side the AI Studio GitHub App appears to be installed and has access to the repository.

Has anyone else experienced this issue? Is there a known workaround, cache delay, repository naming issue, or backend-side reset required for the AI Studio GitHub integration?

Any help from the Google AI Studio team or anyone who has solved this would be appreciated.

Thanks.
u/asosyalistbiyikli — 5 days ago