[BUG] Cannot disconnect/re-authorize GitHub integration — persistent "esto no funciona en este momento" error
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
Cannot disconnect or re-authorize GitHub integration in Claude Code.
Clicking "Disconnect" on the GitHub integration returns:
"Esto no funciona en este momento, puedes intentarlo más tarde"
The error persists across:
- Multiple browser sessions
- Hours of waiting
- Cookie/cache clearing
- Different browsers
Impact: All scheduled agents (remote triggers) that access GitHub private repos fail with "Authentication failed while accessing the git_repository source". I cannot fix the root cause because the UI won't let me re-authorize the GitHub integration.
What Should Happen?
Clicking "Disconnect" should disconnect the GitHub integration so I can re-authorize it with updated permissions (including access to the TheBrandsClub organization). Re-authorization should restore GitHub access for my scheduled agents.
Error Messages/Logs
UI error on disconnect:
"Esto no funciona en este momento, puedes intentarlo más tarde"
Scheduled trigger error on every run:
"Authentication failed while accessing the git_repository source.
Check that your GitHub token or credentials have read access to this repository.
If using a private repo, verify the integration is authorized for it."
Steps to Reproduce
- Open Claude Code web (claude.ai/code)
- Go to Settings → Integrations → GitHub
- Click "Disconnect" on the GitHub integration
- Observe error: "Esto no funciona en este momento, puedes intentarlo más tarde"
- Wait several hours, clear browser cookies, try another browser → same error
- Scheduled agents that depend on GitHub auth continue failing because re-authorization is impossible
Claude Model
Sonnet (default)
Is this a regression?
I don't know
Last Working Version
_No response_
Claude Code Version
Web (claude.ai/code)
Platform
Anthropic API
Operating System
Windows
Terminal/Shell
Other
Additional Information
Affected: 2 scheduled agents that use GitHub API via gh api calls
to a private GitHub organization.
Even after removing sources from the trigger config, the auth error
persists, suggesting the integration token itself is rotten and needs
re-authorization.
The "Disconnect" UI being broken blocks the only path to fix this.
The "Disconnect" UI being broken blocks the only path to fix this.
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗