-
Notifications
You must be signed in to change notification settings - Fork 928
Open
Labels
Description
Describe the bug
Copilot response is stuck "Thinking..." while the backend tries to communicate with api.business.githubcopilot.com/agents/swe/internal/memory/v0/{org}/{repo} and api.github.com/repos/{org}/{repo}. It seems my repo's organization has disabled 3rd party OAuth resulting in a 403 Forbidden when the agent memory endpoint is being called. Copilot retries the request 5 times with an exponential backoff leading to ~2.5 minutes of waiting per request. I downgraded to v0.0.382 and the issue is gone.
2026-01-20T14:43:37.168Z [ERROR] Request to GitHub API at https://api.business.githubcopilot.com/agents/swe/internal/memory/v0/{org}/{repo}/recent?limit=20 failed with status 500 (request ID: ), body: failed to find repository {org}/{repo}: failed to get repository {org}/{repo}: failed to get repository: GET https://api.github.com/repos/{org}/{repo}: 403 Although you appear to have the correct authorization credentials, the `{org}` organization has enabled OAuth App access restrictions, meaning that data access to third-parties is limited. For more information on these restrictions, including how to enable this app, visit https://docs.github.com/articles/restricting-access-to-your-organization-s-data/ []
Affected version
0.0.384
Steps to reproduce the behavior
- Disable certain OAuth permissions in github organization (I'm not an organization admin, so I don't have insight into what is disabled)
- Start copilot with
copilot - Send a simple "hello" request
Expected behavior
- "hello" should return without delay
Additional context
No response