[Bug] Telemetry events competing with API requests for rate limit budget

Resolved 💬 6 comments Opened Apr 7, 2026 by coreydylan Closed Apr 24, 2026

Bug Description
Key findings:

  1. Token count is tiny: autocompact: tokens=52172 threshold=967000 - you're at 52K tokens out of 980K. This is NOT

a token-based rate limit.

  1. 589 deferred tools, only 1 sent: Dynamic tool loading: 1/589 deferred tools included - so the tools aren't the

problem, confirmed.

  1. Rejections happen in ~19ms: Request sent at 19:51:19.989, rejected at 19:51:20.008. That's a

gateway/load-balancer rejection - it's not even reaching the model.

  1. Both "Type 2a" AND "Type 2b" within seconds: You're hitting two different rate limit buckets in rapid

succession.

  1. THIS IS THE BIG ONE - Claude Code's own telemetry is ALSO getting 429'd:

1P event logging: 39 events failed to export (status=429)
1P event logging: 80 events failed to export (status=429)

  1. Claude Code is firing batches of 39-80 telemetry events to the same API endpoint, and those are competing with

your actual requests for rate limit budget.

  1. The cloudflare-api MCP server is in a retry loop hammering Cloudflare ("No token data found" every ~1.3 seconds

for 40+ attempts), which may also be contributing noise.

The smoking gun is #5. Anthropic's own internal telemetry events are eating your rate limit. When you type
"continue," Claude Code fires off telemetry AND your API request simultaneously, and the telemetry batch can
starve the actual request.

This is a bug in Claude Code, not a problem with your usage. You should file this with the request IDs from the
log:

  • x-client-request-id=8c33ac75-4a82-4f52-96f3-2ee7185e220a (Type 2a)
  • x-client-request-id=53813b82-4fd3-4fc2-bb8e-e82308f2fd9e (Type 2b)

Environment Info

  • Platform: darwin
  • Terminal: WarpTerminal
  • Version: 2.1.92
  • Feedback ID: 3c6cf0dd-dca2-4ca0-a619-6918486d2db5

Errors

[{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/coreydylan/.local/share/claude/versions/2.1.92 (expected in multi-process scenarios)\n    at im_ (/$bunfs/root/src/entrypoints/cli.js:1884:2153)\n    at An6 (/$bunfs/root/src/entrypoints/cli.js:1884:1233)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-07T19:47:41.423Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server github invalid: Missing environment variables: GITHUB_PERSONAL_ACCESS_TOKEN\n    at lAH (…

Note: Content was truncated.

View original on GitHub ↗

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