[Bug] Anthropic API Error: HTTP 500 Message Overload with Incorrect Token Count Warning

Resolved 💬 3 comments Opened Mar 17, 2026 by sorcrr-dev Closed Mar 21, 2026

Bug Description
getting message overload error 500 - also seeing warning that claude.md file is over 99k characters. just checked and thats not true. total 52k of context with 38.6k on memory files.

current context usage:
Context Usage
⛁ ⛁ ⛀ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛀ ⛀ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ claude-opus-4-6[1m] · 52k/1000k tokens
⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ (5%)
⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ Estimated usage by category
⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛁ System prompt: 5.6k tokens (0.6%)
⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛁ System tools: 8.4k tokens (0.8%)
⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛁ Memory files: 36.8k tokens (3.7%)
⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛁ Skills: 629 tokens (0.1%)
⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛁ Messages: 731 tokens (0.1%)
⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ Free space: 915k (91.5%)
⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛝ ⛝ ⛝ ⛝ ⛝ ⛝ ⛝ ⛝ Autocompact buffer: 33k tokens
(3.3%)

Environment Info

  • Platform: darwin
  • Terminal: cursor
  • Version: 2.1.77
  • Feedback ID: aa6ed0ce-a609-44d0-b2d6-a3eec0e160d5

Errors

[{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/jnc/.local/share/claude/versions/2.1.77 (expected in multi-process scenarios)\n    at skA (/$bunfs/root/src/entrypoints/cli.js:2648:2192)\n    at mCL (/$bunfs/root/src/entrypoints/cli.js:2648:1336)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-03-17T20:14:34.860Z"},{"error":"Error: Request was aborted.\n    at M (/$bunfs/root/src/entrypoints/cli.js:1149:12459)\n    at abort (unknown)\n    at WNH (/$bunfs/root/src/entrypoints/cli.js:7354:5648)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:7326:4791)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:670:14332)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:670:3880)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:670:3053)\n    at emit (/$bunfs/root/src/entrypoints/cli.js:656:528)\n    at g9E (/$bunfs/root/src/entrypoints/cli.js:663:996)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:625:110463)","timestamp":"2026-03-17T20:16:31.181Z"}]

View original on GitHub ↗

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