Remote triggers fail silently when git_repository source is a private repo (personal GitHub account)
Resolved 💬 3 comments Opened Apr 8, 2026 by pratiks-identiy Closed Apr 11, 2026
Description
Remote triggers (scheduled agents) fail silently when configured with a git_repository source pointing to a private repo on a personal GitHub account (not an org).
Steps to Reproduce
- Install Claude GitHub App on personal GitHub account
- Grant app access to a private repo (confirmed visible in repo Settings > Installations)
- Create a trigger with
sources: [{"git_repository": {"url": "https://github.com/<user>/<private-repo>"}}] - Fire the trigger via cron schedule or manual
runAPI
Expected Behavior
Agent clones the repo and executes the prompt.
Actual Behavior
- Cron-triggered runs: Trigger fires (metadata shows
updated_atandnext_run_atadvance), but no session is created. No output visible at claude.ai/code/scheduled. Silent failure. - Manual
runvia API: Returns HTTP 500 with generic{"error": {"message": "An internal server error occurred", "type": "api_error"}}. No useful error detail. - No-repo triggers work fine: Same environment, same model, same tools -- removing the
git_repositorysource makes the trigger execute successfully.
Debugging Done
- Confirmed Claude GitHub App is installed on the personal account
- Confirmed app has explicit access to the repo (checked via github.com/settings/installations and repo-level settings)
- Tested minimal trigger (just
ls) with repo → 500 - Tested minimal trigger without repo → success
- Tested with and without MCP connections → same behavior
- Repo URL is correct:
https://github.com/<user>/<private-repo>(SSH remote works locally, HTTPS format used in trigger config)
Environment
- GitHub account type: Personal (not org)
- Repo visibility: Private
- Trigger environment:
claude-code-default - Model:
claude-sonnet-4-6 - Multiple trigger IDs tested, all same behavior
Workaround
Running the agent without repo access (no git_repository source). Output stays in session only -- cannot read repo files or push commits.
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗