GitHub Agent "Select Branch" Dropdown Disabled for Org Repo

Where does the bug appear (feature/product)?

Background Agent (GitHub, Slack, Web, Linear)

Describe the Bug

I am unable to select a branch when attaching a GitHub repository in the Cursor Web UI (Agents). The repository attaches successfully, but the “Select branch” dropdown remains unresponsive/empty. This is occurring for a specific repository within an Organization.

Environment

Platform: Cursor Web UI (Agents)

Integration: GitHub App (connected to an Organization)

Repository Type: Organization Repository

Current Behavior

The repository is found and attached successfully.

The “Select branch” dropdown is visible but inactive.

Repository permissions:

Checks: Read & write

Contents (Code): Read & write

Discussions: Read & write

Issues: Read & write

Pull requests: Read & write

Workflows: Read & write

Metadata: Read-only

Organization permissions:

Members: Read-only

Troubleshooting Attempted (Did not resolve)

Single repo / all repo test

Attempted disconnecting and reconnecting the GitHub integration.

Attempted refreshing the browser and cache.

Steps to Reproduce

Connect GitHub account in Cursor Web UI.

Install the Cursor GitHub App for a specific Organization, selecting only one specific repository.

In the Agent UI, search for and select the repository.

Click the “Select branch” dropdown.

Expected Behavior

I can select a branch.

Screenshots / Screen Recordings

Operating System

Windows 10/11

Current Cursor Version (Menu → About Cursor → Copy)

I am reporting issue to Cloud Cursor. not IDE

Does this stop you from using Cursor

Yes - Cursor is unusable

Hey there!

If you open up your browser’s dev tools (Network tab), you should see a call for get-repository-branches.

I’d expect this is showing as failed on your end (let me know if not!), but what I’m most interested in is whether the Payload reflects the URL you’d expect for accessing your repo (did your repo move? get renamed?)

This request typically fails due to an issue with the GitHub App installation. Cursor needs to verify the app is installed correctly on the org/user/repo to retrieve branch info. It’s actually a bit unusual that we can find your repo but not its branches, so the payload details would help us narrow down what’s happening.

Thank you Colin.

{
“error”: {
“message”: “Error”,
“details”: [
{
“error”: “ERROR_BAD_REQUEST”,
“details”: {
“title”: “Bad request.”,
“detail”: “Background agent is not supported in Privacy Mode (Legacy). Switch to Privacy Mode to use background agents.”,
“isRetryable”: false,
“additionalInfo”: {},
“buttons”: ,
“planChoices”:
},
“isExpected”: true
}
]
}
}

I changed to Privacy Mode . (without Legacy) .
I understand issue now. but there could be some message, not branch choice disabled :slight_smile:

Agreed with you. I’ll report this back to the team. :pray:

Thank you. It would be great to configure it per repository / or org individually. Not globally.

1 Like

hi ,gay , i have the same question

1 Like

An error message appeared as ‘Please select a branch’ and the branch selection menu was disabled. I thought there was a problem with the github connection. When I looked at the payload, privacy mode (legacy) was the problem, and it was resolved by changing from cursor setting to privacy mode.

Came here to report the same issue.