GitHub repository access check fails for CCR routines after re-authorization
Resolved 💬 3 comments Opened May 18, 2026 by cfaffairs Closed May 21, 2026
Bug
When creating a scheduled remote agent (CCR) routine with a GitHub repo source, the routine fails with:
GitHub repository access check failed — re-authorize GitHub in settings reason: github_repo_access_denied
Steps to reproduce
- Create a CCR routine with a
git_repositorysource pointing to a valid GitHub repo - Connect GitHub in claude.ai settings (OAuth flow completed successfully)
- Attempt to run the routine via API or claude.ai/code/routines
Expected behavior
Routine clones the repo and runs successfully.
Actual behavior
Fails immediately with github_repo_access_denied before the session even starts.
Notes
- Repo is public (visibility is not the issue)
- GitHub was re-authorized multiple times
- Routines without a repo source work fine
- Account is newly created (May 2026)
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗