Support: Failed to load GitHub settings

Where does the bug appear (feature/product)?

Somewhere else…

Describe the Bug

Hey I am trying to connect my github through cursor so i can use the cloud agents feature but when i try to connect: this is what I getting back GitHub

Connect GitHub for Cloud Agents, Bugbot and enhanced codebase context

{Failed to load GitHub settings}

i tried uninstalling the app in github many times and reconnecting but its throwing in the same error. Can someone help me out

Steps to Reproduce

Trying to connect to github through https://cursor.com/en-US/dashboard

Expected Behavior

It should connect to my github so I can access the cloud agents feature

Operating System

MacOS

Version Information

https://cursor.com/en-US/dashboard

Does this stop you from using Cursor

Yes - Cursor is unusable

Hey, this looks like a known issue with stale GitHub OAuth state after repeated uninstall and reconnect cycles. The dashboard runs into old tokens and can’t correctly resolve your GitHub installations.

Try a full cleanup:

  1. On GitHub, go to Settings → Applications:
    • Authorized OAuth Apps → find Cursor → Revoke
    • Installed GitHub Apps → if Cursor is there, remove it too
  2. Clear cookies for cursor.com in your browser, or just open an incognito or private window
  3. Log in to https://cursor.com/dashboard again and connect GitHub from there

If you still get Failed to load GitHub settings after this, reply here.

Hey still have the same issue. can you help me out

Hey, thanks for getting back to us. It looks like your system still has an old state stuck from previous connection attempts, and the usual cleanup isn’t clearing it, so we’ll need to do a manual cleanup on our side.

One quick question. We can see signs of two different GitHub accounts in the data. Did you maybe connect a different GitHub account in the past, like a personal or school one? If yes, please sign in to github.com with each account and revoke Cursor in Settings → Applications → Authorized OAuth Apps and Installed GitHub Apps.

hey can you revoke all of them from your end and then I will connect the one I am using right now. I only hav one account but its has two emails one personal and one school but I removed the school email so now it should only be one

Hey it doesn’t work for me, can someone help me out

Hey, sorry for the delay. On our side we can see two different GitHub identities linked to your Cursor account. They have different GitHub user IDs, not just different emails. That’s why the normal cleanup doesn’t help. One old link got stuck and is blocking a clean reconnect.

To fully fix this, we’ll do a manual cleanup on our side. I’ll pass this to our engineers so they can clear the stale state for your account.

  1. Open an incognito window
  2. Go to https://cursor.com/dashboard
  3. Connect GitHub again using the account you’re actively using now

While you’re waiting, please also check on github.com → Settings → Applications that Cursor isn’t still listed under Authorized OAuth Apps or Installed GitHub Apps. If it is, revoke it. If you had access to a second GitHub account before and you can still sign in to it, revoke Cursor there too.

I am having the same issue I am trying to connect my github through cursor so i can use the cloud agents feature but when i try to connect: this is what I getting back GitHub

Connect GitHub for Cloud Agents, Bugbot and enhanced codebase context

{Failed to load GitHub settings}

i tried uninstalling the app in github many times and reconnecting but its throwing in the same error. Can someone help me out

I have signed in to github.com with each account and revoke Cursor in Settings → Applications → Authorized OAuth Apps and Installed GitHub Apps.

I am having the same issue I am trying to connect my github through cursor so i can use the cloud agents feature but when i try to connect: this is what I getting back GitHub

Connect GitHub for Cloud Agents, Bugbot and enhanced codebase context

{Failed to load GitHub settings}

i tried uninstalling the app in github many times and reconnecting but its throwing in the same error. Can someone help me out

I have signed in to github.com with each account and revoke Cursor in Settings → Applications → Authorized OAuth Apps and Installed GitHub Apps.

@Yashwanth_Alluri @mordecAI - Try this to reset the stale GitHub state:

  1. Go to cursor.com/dashboard and log in

  2. Open your browser’s Developer Tools (right-click anywhere → Inspect → Console tab)

  3. Paste this into the console and press Enter:

    fetch('/api/dashboard/disconnect-github', {method: 'POST'})
    

    Refresh the page

  4. Go to github.com → Settings → Applications and revoke Cursor from both Authorized OAuth Apps and Installed GitHub Apps - do this on every GitHub account you’ve used with Cursor

  5. Open a new incognito/private browser window

  6. Go to cursor.com/dashboard and connect GitHub from there

If you still see the error after those steps, reply here and we’ll investigate further.