Skip to content

Hitting rate limits on Claude Max plan and task fails (rate_limit_event) #1864

@theomjones

Description

@theomjones

Checklist

  • I searched existing issues and this hasn't been reported

Area

Backend

Operating System

macOS

Version

2.7.5

What happened?

I keep hitting this error when starting my first task in my repo. Not Anthropic related as I can use traditional claude code and plan / work without hitting this error or getting any rate limiting errors.

Unsure if this is specific to my Repo or not

Image

Steps to reproduce

  1. Start a task (using Max claude plan)
  2. Hit an error Unknown message rate_limit_event (see screenshot)
  3. Task fails

Expected behavior

Task successfully completes in plan mode

Logs / Screenshots

Image
08:49:46 PM
Starting spec creation process
Starting phase 1: PROJECT DISCOVERY
Discovered 995 files in project
Starting phase 2: REQUIREMENTS GATHERING
Starting phase 3: COMPLEXITY ASSESSMENT
Analyzing task complexity with AI...
Agent error: Unknown message type: rate_limit_event
Starting phase 4: HISTORICAL CONTEXT
Knowledge graph not configured, skipping
Starting phase 5: CONTEXT DISCOVERY
Starting phase 6: SPEC DOCUMENT CREATION
Agent error: Unknown message type: rate_limit_event
Agent error: Unknown message type: rate_limit_event
Agent error: Unknown message type: rate_limit_event
Phase 'spec_writing' failed: Attempt 1: Agent did not create spec.md; Attempt 2: Agent did not create spec.md; Attempt 3: Agent did not create spec.md
08:50:01 PM
Phase spec_writing failed
08:50:48 PM
Starting spec creation process
Starting phase 1: PROJECT DISCOVERY
Discovered 995 files in project
Starting phase 2: REQUIREMENTS GATHERING
Starting phase 3: COMPLEXITY ASSESSMENT
Analyzing task complexity with AI...
Agent error: Unknown message type: rate_limit_event
Starting phase 4: HISTORICAL CONTEXT
Historical context already available
Starting phase 5: CONTEXT DISCOVERY
Starting phase 6: SPEC DOCUMENT CREATION
Agent error: Unknown message type: rate_limit_event
Agent error: Unknown message type: rate_limit_event
Agent error: Unknown message type: rate_limit_event
Phase 'spec_writing' failed: Attempt 1: Agent did not create spec.md; Attempt 2: Agent did not create spec.md; Attempt 3: Agent did not create spec.md
08:50:57 PM
Phase spec_writing failed
08:52:17 PM
Starting spec creation process
Starting phase 1: PROJECT DISCOVERY
Discovered 995 files in project
Starting phase 2: REQUIREMENTS GATHERING
Starting phase 3: COMPLEXITY ASSESSMENT
Analyzing task complexity with AI...
Agent error: Unknown message type: rate_limit_event
Starting phase 4: HISTORICAL CONTEXT
Historical context already available
Starting phase 5: CONTEXT DISCOVERY
Starting phase 6: SPEC DOCUMENT CREATION
Agent error: Unknown message type: rate_limit_event
Agent error: Unknown message type: rate_limit_event
Agent error: Unknown message type: rate_limit_event
Phase 'spec_writing' failed: Attempt 1: Agent did not create spec.md; Attempt 2: Agent did not create spec.md; Attempt 3: Agent did not create spec.md
08:52:26 PM
Phase spec_writing failed
08:55:08 PM
Starting spec creation process
Starting phase 1: PROJECT DISCOVERY
Discovered 995 files in project
Starting phase 2: REQUIREMENTS GATHERING
Starting phase 3: COMPLEXITY ASSESSMENT
Analyzing task complexity with AI...
Agent error: Unknown message type: rate_limit_event
Starting phase 4: HISTORICAL CONTEXT
Historical context already available
Starting phase 5: CONTEXT DISCOVERY
Starting phase 6: SPEC DOCUMENT CREATION
Agent error: Unknown message type: rate_limit_event
Agent error: Unknown message type: rate_limit_event
Agent error: Unknown message type: rate_limit_event
Phase 'spec_writing' failed: Attempt 1: Agent did not create spec.md; Attempt 2: Agent did not create spec.md; Attempt 3: Agent did not create spec.md
08:55:18 PM
Phase spec_writing failed

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/backendThis is backend onlyauto-claude:findings-readyInvestigation complete, findings availablebugSomething isn't workingneeds-triageNew issue, maintainer review needed

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions