[Bug] Anthropic API Error: HTTP 400 on /context endpoint before context limit reached

Resolved 💬 5 comments Opened Nov 6, 2025 by yordanove Closed Jan 20, 2026

Bug Description
[Image #1]getting error 400 consistently on /context in various sessions way before any actual context is hit

Environment Info

  • Platform: darwin
  • Terminal: cursor
  • Version: 2.0.34
  • Feedback ID: 90d1557b-bfc0-470e-b4ce-e352fb5d7a1d

Errors

[{"error":"Error: Lock file is already being held\n    at <anonymous> (/$bunfs/root/claude:82:11838)\n    at X (/$bunfs/root/claude:81:5167)\n    at <anonymous> (node:fs:243:13)\n    at processTicksAndRejections (native:7:39)","timestamp":"2025-11-06T12:38:43.846Z"},{"error":"Error: 500 {\"type\":\"error\",\"error\":{\"type\":\"api_error\",\"message\":\"Overloaded\"},\"request_id\":null}\n    at generate (/$bunfs/root/claude:382:26360)\n    at makeRequest (/$bunfs/root/claude:661:5356)\n    at processTicksAndRejections (native:7:39)","timestamp":"2025-11-06T12:42:17.934Z"},{"error":"Error: 500 {\"type\":\"error\",\"error\":{\"type\":\"api_error\",\"message\":\"Overloaded\"},\"request_id\":null}\n    at generate (/$bunfs/root/claude:382:26360)\n    at makeRequest (/$bunfs/root/claude:661:5356)\n    at processTicksAndRejections (native:7:39)","timestamp":"2025-11-06T12:42:51.294Z"},{"error":"Error: Lock file is already being held\n    at <anonymous> (/$bunfs/root/claude:82:11838)\n    at X (/$bunfs/root/claude:81:5167)\n    at <anonymous> (node:fs:243:13)\n    at processTicksAndRejections (native:7:39)","timestamp":"2025-11-06T12:46:23.911Z"},{"error":"Error: Lock file is already being held\n    at <anonymous> (/$bunfs/root/claude:82:11838)\n    at X (/$bunfs/root/claude:81:5167)\n    at <anonymous> (node:fs:243:13)\n    at processTicksAndRejections (native:7:39)","timestamp":"2025-11-06T12:46:36.078Z"},{"error":"Error: Lock file is already being held\n    at <anonymous> (/$bunfs/root/claude:82:11838)\n    at X (/$bunfs/root/claude:81:5167)\n    at <anonymous> (node:fs:243:13)\n    at processTicksAndRejections (native:7:39)","timestamp":"2025-11-06T12:47:36.741Z"},{"error":"Error: Language not supported while highlighting code, falling back to markdown: solidity\n    at aJ (/$bunfs/root/claude:1003:4395)\n    at <anonymous> (/$bunfs/root/claude:1003:4117)\n    at map (native:1:11)\n    at Cq (/$bunfs/root/claude:1003:4109)\n    at UlB (/$bunfs/root/claude:2105:1688)\n    at HH (/$bunfs/root/claude:101:19663)\n    at R2 (/$bunfs/root/claude:103:42806)\n    at tN (/$bunfs/root/claude:103:38344)\n    at uD (/$bunfs/root/claude:103:38272)\n    at OJ (/$bunfs/root/claude:103:38126)","timestamp":"2025-11-06T12:51:49.080Z"},{"error":"Error: Language not supported while highlighting code, falling back to markdown: solidity\n    at aJ (/$bunfs/root/claude:1003:4395)\n    at <anonymous> (/$bunfs/root/claude:1003:4117)\n    at map (native:1:11)\n    at Cq (/$bunfs/root/claude:1003:4109)\n    at UlB (/$bunfs/root/claude:2105:1688)\n    at HH (/$bunfs/root/claude:101:19663)\n    at R2 (/$bunfs/root/claude:103:42806)\n    at tN (/$bunfs/root/claude:103:38344)\n    at uD (/$bunfs/root/claude:103:38272)\n    at OJ (/$bunfs/root/claude:103:38126)","timestamp":"2025-11-06T12:51:49.083Z"},{"error":"Error: Language not supported while highlighting code, falling back to markdown: solidity\n    at aJ (/$bunfs/root/claude:1003:4395)\n    at <anonymous> (/$bunfs/root/claude:1003:4117)\n    at map (native:1:11)\n    at Cq (/$bunfs/root/claude:1003:4109)\n    at KlB (/$bunfs/root/claude:2102:402)\n    at xCB (/$bunfs/root/claude:1032:198029)\n    at HH (/$bunfs/root/claude:101:19663)\n    at R2 (/$bunfs/root/claude:103:42806)\n    at tN (/$bunfs/root/claude:103:38344)\n    at uD (/$bunfs/root/claude:103:38272)","timestamp":"2025-11-06T13:02:05.670Z"},{"error":"Error: Language not supported while highlighting code, falling back to markdown: solidity\n    at aJ (/$bunfs/root/claude:1003:4395)\n    at <anonymous> (/$bunfs/root/claude:1003:4117)\n    at map (native:1:11)\n    at Cq (/$bunfs/root/claude:1003:4109)\n    at KlB (/$bunfs/root/claude:2102:402)\n    at xCB (/$bunfs/root/claude:1032:198029)\n    at HH (/$bunfs/root/claude:101:19663)\n    at R2 (/$bunfs/root/claude:103:42806)\n    at tN (/$bunfs/root/claude:103:38344)\n    at uD (/$bunfs/root/claude:103:38272)","timestamp":"2025-11-06T13:02:05.671Z"},{"error":"Error: Lock file is already being held\n    at <anonymous> (/$bunfs/root/claude:82:11838)\n    at X (/$bunfs/root/claude:81:5167)\n    at <anonymous> (node:fs:243:13)\n    at processTicksAndRejections (native:7:39)","timestamp":"2025-11-06T13:02:13.193Z"},{

Note: Error logs were truncated.

View original on GitHub ↗

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