[Bug] Anthropic API Error: 500 Internal Server Error during /compact command
Resolved 💬 3 comments Opened Jan 12, 2026 by laramarcodes Closed Jan 16, 2026
Bug Description
the slash compact command is not working and giving the following error "Error: Error during compaction: Error: API Error: 500
{"type":"error","error":{"type":"api_error","message":"Internal server
error"},"request_id":"req_011CX3TtM1bGJqvyqCJT4o18"}"
Environment Info
- Platform: darwin
- Terminal: ghostty
- Version: 2.1.5
- Feedback ID: 62c9aa73-2d1a-40f9-b6c7-e52c64cc1ab5
Errors
[{"error":"SyntaxError: JSON Parse error: Unrecognized token '/'\n at <parse> (:0)\n at parse (unknown)\n at <anonymous> (/$bunfs/root/claude:78:708)\n at A (/$bunfs/root/claude:11:7247)\n at <anonymous> (/$bunfs/root/claude:5011:274)\n at <anonymous> (/$bunfs/root/claude:5001:8930)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-01-12T10:55:35.781Z"},{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/sfinnerty/.local/share/claude/versions/2.1.5 (expected in multi-process scenarios)\n at lhR (/$bunfs/root/claude:2770:2157)\n at yEA (/$bunfs/root/claude:2770:1268)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-01-12T10:55:35.993Z"},{"error":"Error: LSP server plugin:typescript-lsp:typescript failed to start: Executable not found in $PATH: \"typescript-language-server\"\n at start (/$bunfs/root/claude:2082:22305)\n at async $ (/$bunfs/root/claude:2082:24757)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-01-12T10:55:36.794Z"},{"error":"Error: Executable not found in $PATH: \"typescript-language-server\"\n at spawn (unknown)\n at spawn (node:child_process:667:35)\n at spawn (node:child_process:14:39)\n at start (/$bunfs/root/claude:2082:20850)\n at start (/$bunfs/root/claude:2082:22359)\n at $ (/$bunfs/root/claude:2082:24757)\n at $ (/$bunfs/root/claude:2082:25732)\n at _ (/$bunfs/root/claude:2082:32519)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-01-12T10:55:36.794Z"},{"error":"Error: Failed to start LSP server plugin:typescript-lsp:typescript: Executable not found in $PATH: \"typescript-language-server\"\n at <anonymous> (/$bunfs/root/claude:2082:32541)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-01-12T10:55:36.794Z"},{"error":"Error: Cannot send notification to LSP server 'plugin:typescript-lsp:typescript': server is error\n at J (/$bunfs/root/claude:2082:26965)\n at J (/$bunfs/root/claude:2082:27179)\n at q (/$bunfs/root/claude:2082:33838)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-01-12T11:51:52.208Z"},{"error":"Error: Failed to sync file open /Users/sfinnerty/CodingProjects/hausvac-website-feature-3/convex/emailTemplates.ts: Cannot send notification to LSP server 'plugin:typescript-lsp:typescript': server is error\n at q (/$bunfs/root/claude:2082:34003)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-01-12T11:51:52.208Z"},{"error":"Error: Failed to sync file open /Users/sfinnerty/CodingProjects/hausvac-website-feature-3/convex/emailTemplates.ts: Cannot send notification to LSP server 'plugin:typescript-lsp:typescript': server is error\n at q (/$bunfs/root/claude:2082:34003)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-01-12T11:51:52.208Z"},{"error":"Error: Cannot send notification to LSP server 'plugin:typescript-lsp:typescript': server is error\n at J (/$bunfs/root/claude:2082:26965)\n at J (/$bunfs/root/claude:2082:27179)\n at q (/$bunfs/root/claude:2082:33838)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-01-12T11:52:24.366Z"},{"error":"Error: Failed to sync file open /Users/sfinnerty/CodingProjects/hausvac-website-feature-3/convex/emails.ts: Cannot send notification to LSP server 'plugin:typescript-lsp:typescript': server is error\n at q (/$bunfs/root/claude:2082:34003)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-01-12T11:52:24.366Z"},{"error":"Error: Failed to sync file open /Users/sfinnerty/CodingProjects/hausvac-website-feature-3/convex/emails.ts: Cannot send notification to LSP server 'plugin:typescript-lsp:typescript': server is error\n at q (/$bunfs/root/claude:2082:34003)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-01-12T11:52:24.366Z"},{"error":"Error: Cannot send notification to LSP server 'plugin:typescript-lsp:typescript': server is error\n at J (/$bunfs/root/claude:2082:26965)\n at J (/$bunfs/root/claude:2082:27179)\n at q (/$bunfs/root/claude:2082:33838)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-01-12T11:52:38.200Z"},{"error":"Error: Failed to sync file open /Users/sfinnerty/CodingProjects/hausvac-website-feature-3/convex/contactSubmissions.ts: Cannot send notification to LSP server 'plugin:typescript-lsp:typescript': server is error\n
Note: Error logs were truncated.
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗