claude-code - 💡(How to fix) Fix [BUG] Cannot disconnect/re-authorize GitHub integration — persistent "esto no funciona en este momento" error [1 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
anthropics/claude-code#48658Fetched 2026-04-16 06:54:28
View on GitHub
Comments
1
Participants
2
Timeline
5
Reactions
0
Timeline (top)
labeled ×4commented ×1

Error Message

The error persists across:

Error Messages/Logs

UI error on disconnect: Scheduled trigger error on every run: 4. Observe error: "Esto no funciona en este momento, puedes intentarlo más tarde" 5. Wait several hours, clear browser cookies, try another browser → same error Even after removing sources from the trigger config, the auth error

Root Cause

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.

Code Example

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."
RAW_BUFFERClick to expand / collapse

Preflight Checklist

  • I have searched existing issues and this hasn't been reported yet
  • This is a single bug report (please file separate reports for different bugs)
  • 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

  1. Open Claude Code web (claude.ai/code)
  2. Go to Settings → Integrations → GitHub
  3. Click "Disconnect" on the GitHub integration
  4. Observe error: "Esto no funciona en este momento, puedes intentarlo más tarde"
  5. Wait several hours, clear browser cookies, try another browser → same error
  6. 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.

extent analysis

TL;DR

The most likely fix is to resolve the "Disconnect" UI issue for the GitHub integration in Claude Code to re-authorize with updated permissions.

Guidance

  • Verify that the issue persists after clearing browser cookies and trying a different browser to rule out any client-side caching issues.
  • Check the Claude Code documentation or support resources for any known issues or workarounds related to the "Disconnect" UI error.
  • Consider reaching out to Claude Code support for assistance with resolving the UI issue, as it appears to be the primary blocker for re-authorizing the GitHub integration.
  • Review the scheduled agent configurations to ensure that they are not caching any outdated authentication tokens that may be contributing to the authentication failures.

Example

No code snippet is provided as the issue appears to be related to a UI bug rather than a code-specific problem.

Notes

The root cause of the issue is unclear, but it seems to be related to the "Disconnect" UI being broken, which prevents re-authorization of the GitHub integration. Resolving this UI issue is likely the key to fixing the problem.

Recommendation

Apply workaround: Reach out to Claude Code support for assistance with resolving the UI issue, as it appears to be the primary blocker for re-authorizing the GitHub integration. This is recommended because the issue seems to be related to a UI bug rather than a code-specific problem, and support may be able to provide a more direct solution or workaround.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

claude-code - 💡(How to fix) Fix [BUG] Cannot disconnect/re-authorize GitHub integration — persistent "esto no funciona en este momento" error [1 comments, 2 participants]