When I attempt to refresh the available Github access, I get an error in the Cursor IDE. I have Github access configured, the issue is somehow with Cursor’s ability to retrieve the access settings.
Error message in the UI: Access Denied: Failed to check GitHub access
In the dev console, error message:
{
"error": "ERROR_BAD_REQUEST",
"details": {
"title": "Bad Request",
"detail": "Git enterprise instance not found for hostname: ... Please set up the enterprise instance in Settings.",
"isRetryable": false
},
"isExpected": true
}
For AI issues: add Request ID with privacy disabled
Request ID: b632cb00-597f-4083-ab89-1dccffc7596c
Additional Information
I have my Github repos connected correctly to my Cursor account via the Github App. I will post a screenshot in the first comment (I can only upload one screenshot in the OP).
This is stopping me from running background agents locally. I want to run background agents from my local IDE but I cannot gain access to them.
My parent organization is an enterprise org in Github (I think?), but we don’t have a special github URL or anything like that; we’re running in the default github “cloud” (github.com).
Hey, thanks for the report. I can see that Cloud Agents on cursor.com can see your repos (memfault, nRFCloud), but the IDE shows an error saying “enterprise instance not found”.
It looks like the system is incorrectly trying to find enterprise instance settings when you’re on regular github.com. Is your org on GitHub Enterprise Cloud by any chance?
A couple things:
Can you click the arrow next to errorDetailsDebug in the console to expand the object fully? I need to see what hostname is listed there (right now it’s cut off to “…”). Or right click and choose Copy object.
Try re-authing. Cursor Settings → General → Log Out, then log in again and see if that helps.
Is your org on GitHub Enterprise Cloud by any chance?
I am a member of an enterprise that is hosted on Github Cloud (Sign in to GitHub · GitHub). The orgs that I’m trying to access (Memfault · GitHub) are “under” that enterprise account, but I’m not sure if that makes it an enterprise org. The org certainly didn’t start as an enterprise org but I’m not sure how this works post-acquisition by a larger company. Sorry I can’t be more helpful here.
Can you expand errorDetailsDebug?
That’s the whole value. There is nothing cut off.
{"error":"ERROR_BAD_REQUEST","details":{"title":"Bad Request","detail":"Git enterprise instance not found for hostname: ... Please set up the enterprise instance in Settings.","isRetryable":false},"isExpected":true}