[BUG] Remote routine fails with github_repo_access_denied despite Claude GitHub App being installed

Resolved 💬 2 comments Opened May 12, 2026 by efrendpagan Closed May 12, 2026

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?

Remote routines (CCR) fail with github_repo_access_denied every time they run, even after the Claude GitHub App is installed at the organization level. The error is returned regardless of source configuration — it happens whether the repo is listed as a source or omitted entirely. Disconnecting and reconnecting GitHub from claude.ai account settings has no effect. The routine has never successfully executed.

What Should Happen?

The remote agent should clone the configured repository and execute the prompt. Once the Claude GitHub App is installed for the organization, routine runs targeting that org's repos should succeed.

Error Messages/Logs

Steps to Reproduce

  1. Create a remote routine via /schedule or the RemoteTrigger API with a git_repository source pointing to a GitHub org repo
  2. Ensure the Claude GitHub App is installed at the org level
  3. Trigger the routine via "Run now"
  4. Observe github_repo_access_denied error

Claude Model

Sonnet (default)

Is this a regression?

I don't know

Last Working Version

_No response_

Claude Code Version

2.1.139

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Cursor

Additional Information

  • Routine trigger ID: trig_012Bc3UQoFoXayqEQFuS7Jck (for support lookup)
  • GitHub org: ArcoBuildsORG
  • Tried 8+ runs over one session — consistent failure every time
  • Tried removing all sources from the job config entirely — same error still returned
  • Disconnected and reconnected GitHub from claude.ai settings — no change
  • The error does not appear to respond to any API-level config changes, suggesting it's a platform-side auth resolution issue for

this organization

  • OS: macOS, Claude Code latest

View original on GitHub ↗

This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗