Remote Trigger /run returns HTTP 500 — trigger auto-disables after failed cron execution
Resolved 💬 3 comments Opened Apr 2, 2026 by Dambiermedia Closed May 13, 2026
Description
Remote triggers fail with HTTP 500 on both manual /run and scheduled cron execution. After a failed cron run, the trigger auto-disables itself ("enabled": false).
Reproduction
- Create a scheduled trigger with a git repository source (private GitHub repo)
- Attempt manual run via API:
POST /v1/code/triggers/{trigger_id}/run - Returns HTTP 500:
{"error":{"message":"An internal server error occurred","type":"api_error"}} - Same result via CLI:
claude trigger run <trigger_id> - When cron fires automatically, same failure occurs and trigger disables itself
Details
- Trigger IDs:
trig_015XiEr3DKGPaiM8esD23xRg,trig_015UvyZiN4zvPGkyuAmyZQKU - Environment:
env_01MSGjrHZu5ZcraDpY5jyEKy - Request ID (manual run):
req_011CZeyMdErx3M43NtuM8hTL - Model: claude-sonnet-4-6
- Source: Private GitHub repo (
.gitURL) - MCP connections: Gmail, Canva
- Trigger updates work fine (HTTP 200) — only
/runfails
Expected behavior
Trigger should execute the configured session successfully, or return a descriptive error message instead of a generic 500.
Environment
- Claude Code CLI (macOS)
- API and CLI both produce the same 500 error
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗