Problem syncing GitHub with ChatGPT (“There was a problem syncing GitHub. Try again later.”) #178890
Replies: 10 comments 5 replies
-
|
Try to do these: Remove ChatGPT authorization from GitHub completely Then also remove the saved integration inside ChatGPT: https://chatgpt.com/settings/account/connections Wait at least 60 seconds — the token cache on the ChatGPT side takes up to a minute to fully drop. Reconnect GitHub from here: https://chatgpt.com/settings/account/connections |
Beta Was this translation helpful? Give feedback.
-
|
Hello, I’m encountering a persistent issue when trying to connect my GitHub account to OpenAI ChatGPT using the GitHub connector. Each time I attempt to authorize ChatGPT to access my repositories, I receive the following error in ChatGPT: “An error occurred while syncing with GitHub. Please try again later.” Additionally, when I check my GitHub account settings under Settings → Applications → Authorized OAuth Apps, I see that no OAuth applications are authorized — even after multiple connection attempts. I’ve already tried the following troubleshooting steps: Revoked any previous connections between ChatGPT and GitHub. Cleared cookies and cache for both GitHub and ChatGPT. Tried reconnecting in incognito mode and with browser extensions disabled. Verified that my repositories are visible and accessible (NOVEMBRE, tryhap-next, tryhapcaz). However, the authorization process still fails, and no “OpenAI ChatGPT” app appears in my Authorized OAuth Apps list. Thank you very much for your help. |
Beta Was this translation helpful? Give feedback.
-
|
I tried with another account and got the same results, and also the following error: OAuth state invalid or not found |
Beta Was this translation helpful? Give feedback.
-
|
Hi 👋 ✅ 1️⃣ Revoke and reauthorize ChatGPT in GitHub completely Go to your GitHub Settings → Applications → Authorized OAuth Apps Find ChatGPT → click Revoke access. Wait 1–2 minutes, then reconnect from the ChatGPT interface: ✅ 2️⃣ Check if you’re part of an organization with SSO enabled If your repositories are under an org using SAML/SSO, you’ll need to re-authorize ChatGPT for that org: Go to the organization page → “Settings → Security → Authorized Applications”. Make sure ChatGPT is approved and SSO access is granted. ✅ 3️⃣ Make sure you’re using the same GitHub identity in both places If you have multiple GitHub accounts (personal + work), confirm which one is connected: Disconnect ChatGPT from all accounts. Reconnect only the one that owns the repos you’re trying to sync. ✅ 4️⃣ If it still fails → report to OpenAI Support Since the issue happens after the GitHub OAuth step (the repos appear but sync fails), it’s likely a temporary outage or API mismatch on ChatGPT’s side. You can report it here: Hope this helps narrow it down and get your GitHub integration working again 🙌 |
Beta Was this translation helpful? Give feedback.
-
|
This has happened to me no matter how many times I have disconnected, reconnected, revoked, etc. Same thing every time I try to "sync" a repo.
|
Beta Was this translation helpful? Give feedback.
-
|
I have reported it to OpenAi 3 days ago but still no news |
Beta Was this translation helpful? Give feedback.
-
To solve it, you can try this:
Also you can try this:
|
Beta Was this translation helpful? Give feedback.
-
|
This usually happens when ChatGPT’s GitHub OAuth token gets out of sync on their side, not yours. Everything you tried (browsers, cache, permissions, reconnecting) rules out a client issue. The repos showing up but failing on “Continue” is a strong sign the integration service is returning an expired or invalid token. Only OpenAI can reset that. In short: nothing left to fix on your end — it’s likely a temporary issue in ChatGPT’s GitHub integration and needs to be refreshed on their side. |
Beta Was this translation helpful? Give feedback.
-
|
🕒 Discussion Activity Reminder 🕒 This Discussion has been labeled as dormant by an automated system for having no activity in the last 60 days. Please consider one the following actions: 1️⃣ Close as Out of Date: If the topic is no longer relevant, close the Discussion as 2️⃣ Provide More Information: Share additional details or context — or let the community know if you've found a solution on your own. 3️⃣ Mark a Reply as Answer: If your question has been answered by a reply, mark the most helpful reply as the solution. Note: This dormant notification will only apply to Discussions with the Thank you for helping bring this Discussion to a resolution! 💬 |
Beta Was this translation helpful? Give feedback.
-
|
A useful clue here is the error “OAuth state invalid or not found.” In OAuth flows, that usually means the browser didn’t keep the temporary “state” value between redirects (cookie/storage blocked, strict tracking prevention, extensions, or the flow opened in a different tab/session).
Hard reset site data (not just cache)
Disable extensions that can break OAuth
Avoid multi-account / multi-tab issues
If repos are in an Organization: check org OAuth restrictions
If none of the above changes anything and no OAuth app appears in GitHub → Authorized OAuth Apps, the authorization likely fails before completion and may require an OpenAI-side reset. In that case, share:
|
Beta Was this translation helpful? Give feedback.

Uh oh!
There was an error while loading. Please reload this page.
-
Select Topic Area
Question
Body
Hi,
I’m having persistent issues connecting my GitHub account to ChatGPT. Each time I try to sync my repositories, I get the following error message at the top of the screen:
“There was a problem syncing GitHub. Try again later.”
I’ve already tried the following troubleshooting steps, but the problem persists:
Disconnected and reconnected my GitHub account multiple times.
Used an incognito/private browser window.
Cleared browser cache and cookies.
Tried from different browsers (Chrome, Firefox).
Verified that ChatGPT appears in my Authorized OAuth Apps on GitHub with full repo and read:user permissions.
Checked my network and GitHub security logs — no indication of a block.
Despite that, I still see the error, and the sync never completes.
The repositories do appear in the selection list, but ChatGPT fails right after I click Continue.
Could you please check if there’s an issue with the GitHub integration on your side and what could be done?
Thanks a lot for your help.
Best
Beta Was this translation helpful? Give feedback.
All reactions