[BUG] Remote trigger run returns HTTP 200 but agent never executes

Resolved 💬 2 comments Opened Apr 16, 2026 by mel657 Closed May 26, 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?

Environment:

  • Claude Code CLI
  • macOS
  • Triggers managed via terminal (not claude.ai UI)

Trigger details:

  • Trigger ID: trig_01W76V5iZuzY1LUeozi8VWCY (also

trig_01EJtuPZSFdWRMqQEeXxwHsg — previous trigger, same behaviour)

  • Environment ID: env_01HgbPFzSAvh65oZNx1v1mwY
  • Cron: 0 22 *
  • Model: claude-sonnet-4-6
  • Git source: GitHub private repo
  • MCP: Gmail connector attached

What happens:
Every call to POST /v1/code/triggers/{id}/run returns HTTP 200. However, no
agent execution occurs — no git commits are pushed to the connected repo, and
no Gmail drafts are created, even with the simplest possible test prompt
("create a draft email" / "echo text and git commit").

What I've tried:

  • Multiple trigger configurations (different prompts, with/without Gmail MCP,

different permitted_tools values)

https://gmailmcp.googleapis.com/mcp/v1

  • Deleted and recreated the trigger from scratch via the UI
  • Reconnected and reauthorised the Gmail integration
  • Verified the GitHub token is valid (returns HTTP 200 from GitHub API)
  • Both scheduled runs and manual run calls — neither produce any output

Expected behaviour:
Agent executes, commits to repo, and/or creates Gmail draft.

Actual behaviour:
API returns 200, nothing happens.

What Should Happen?

Expected behaviour:
Agent executes, commits to repo, and/or creates Gmail draft.

Actual behaviour:
API returns 200, nothing happens.

Error Messages/Logs

No error messages are returned. This is part of the issue — the API returns   
  HTTP 200 for every run call with no indication of failure. There are no error 
  logs visible from the CLI or API.                                            
                                                                                
  The only observable evidence that the agent is not running:
  - Connected GitHub repo has no new commits after multiple trigger runs (latest
   commit remains 815a935 Initial commit)                                       
  - Gmail MCP produces no drafts despite explicit instructions to do so         
  - No failure notifications or emails received

Steps to Reproduce

  1. Create a remote trigger via the Claude Code CLI using RemoteTrigger with

action: "create", attaching a GitHub repo source and Gmail MCP connector

  1. Call RemoteTrigger with action: "run" on the trigger — API returns HTTP 200
  2. Wait 5+ minutes
  3. Check the connected GitHub repo for new commits — none appear
  4. Check Gmail for drafts/emails — none appear
  5. Repeat with the simplest possible prompt ("create a draft email to X with

subject Y") — same result

  1. Delete and recreate the trigger from the claude.ai UI at

https://claude.ai/code/scheduled — same result with new trigger ID

Note: The trigger prompt instructs the agent to commit to a git repo AND
create a Gmail draft regardless of success or failure, so at minimum a draft
should always appear. Neither does.

Claude Model

Sonnet (default)

Is this a regression?

I don't know

Last Working Version

_No response_

Claude Code Version

⏺ claude-sonnet-4-6

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

_No response_

View original on GitHub ↗

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