# GitHub Sync Loop - Broken OAuth Token after app deletion

**URL:** <https://discuss.ai.google.dev/t/github-sync-loop-broken-oauth-token-after-app-deletion/169940>\
**Category:** Google AI Studio\
**Tags:** ai-studio\
**Created:** [June 7, 2026, 3:59pm UTC](https://discuss.ai.google.dev/t/github-sync-loop-broken-oauth-token-after-app-deletion/169940 "2026-06-07T15:59:09Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vatsal\_Vohera](https://d1dlmcr85iqnpo.cloudfront.net/user_avatar/discuss.ai.google.dev/vatsal_vohera/32/35778_2.png) [@Vatsal\_Vohera](https://discuss.ai.google.dev/u/Vatsal_Vohera)\
**Post date:** [June 7, 2026, 3:59pm UTC](https://discuss.ai.google.dev/t/github-sync-loop-broken-oauth-token-after-app-deletion/169940/1 "2026-06-07T15:59:09Z")

</div>

I am locked in a broken authentication sync loop between Google AI Studio and GitHub. After manually removing/revoking the Google AI Studio application permissions directly from my personal GitHub settings (`vatsal..`), the Google AI Studio backend failed to register the revocation.

The web interface is now permanently stuck on a backend permissions error screen. Because it is trying to evaluate an old, deleted OAuth token, it completely hides the blue “Sign in to GitHub” button. This prevents me from triggering a clean re-authorization handshake.

**Error Messages Encountered:**

1. _“Sync to GitHub: [username]/[repo] on main. Failed to load file differences.”_

2. _“Something went wrong. Failed to create GitHub repository, Insufficient permissions to create the GitHub repository. Please check your permissions for the AI Studio App on GitHub.”_
