[BUG] /schedule command failing to connect to claude.ai account

Resolved 💬 3 comments Opened May 14, 2026 by IsaacBpo Closed May 18, 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?

Hi Claude Code team,

I'm experiencing a persistent issue with the /schedule command in Claude Code. Every time I attempt to create a scheduled task, I receive the following error:

"We're having trouble connecting with your remote claude.ai account to set up a scheduled task. Please try /schedule again in a few minutes."

I have tried multiple times over several minutes and the error continues. The issue does not appear to be transient.

Environment:

  • Platform: macOS (Darwin 24.6.0)
  • Shell: zsh
  • Claude Code version: [insert your version if known]

Steps to reproduce:

  1. Open Claude Code
  2. Run /schedule with a task name and --cron argument
  3. Observe the connection error

I have confirmed I am logged into claude.ai. The error persists across retries.

Please advise on next steps.

Thank you.

What Should Happen?

If everything worked, the /schedule command would:

Connect to my claude.ai account and authenticate the request
Create three scheduled remote agents, each tied to a cron expression:
A Claude agent that runs at 9 AM Mon–Fri
A Claude agent that runs at 1 PM Mon–Fri
A Claude agent that runs at 7 PM every day
Confirm each schedule was created, showing you the task name, cron schedule, and a unique task ID
Run automatically at the scheduled times — Claude spins up in the background, executes the outreach task (whatever prompt/workflow you've defined), and stops
You'd then be able to:

List your schedules with /schedule list
Update or pause them
View their output logs after each run
Essentially it's a way to have Claude run a task on autopilot on a recurring schedule, without you needing to be present.

Error Messages/Logs

Steps to Reproduce

Steps to reproduce:

  1. Open Claude Code
  2. Run /schedule with a task name and --cron argument
  3. Observe the connection error

Claude Model

Sonnet (default)

Is this a regression?

I don't know

Last Working Version

_No response_

Claude Code Version

Claude Code v2.1.141.

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

_No response_

View original on GitHub ↗

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