[Bug] Anthropic API Error: 400 Bad Request prevents Claude Code execution
Resolved 💬 3 comments Opened Jan 25, 2026 by shopbroker-austin Closed Jan 29, 2026
Bug Description
400 api errors, cant use claude code
Environment Info
- Platform: linux
- Terminal: xterm-256color
- Version: 2.1.19
- Feedback ID: a33deee5-52bf-4d94-873b-9759c1d46706
Errors
[{"error":"Error: ENOENT: no such file or directory, scandir '/etc/claude-code/.claude/skills'\n at readdirSync (unknown)\n at <anonymous> (/$bunfs/root/claude:12:1903)\n at pJ (/$bunfs/root/claude:11:35427)\n at readdirSync (/$bunfs/root/claude:12:1864)\n at XY$ (/$bunfs/root/claude:2213:380)\n at XY$ (/$bunfs/root/claude:2213:1350)\n at <anonymous> (/$bunfs/root/claude:2213:4440)\n at <anonymous> (/$bunfs/root/claude:2213:5171)\n at A (/$bunfs/root/claude:11:7251)\n at Z71 (/$bunfs/root/claude:4860:4342)","timestamp":"2026-01-25T04:36:32.645Z"},{"error":"Error: ENOENT: no such file or directory, scandir '/home/runner/.claude/skills'\n at readdirSync (unknown)\n at <anonymous> (/$bunfs/root/claude:12:1903)\n at pJ (/$bunfs/root/claude:11:35427)\n at readdirSync (/$bunfs/root/claude:12:1864)\n at XY$ (/$bunfs/root/claude:2213:380)\n at XY$ (/$bunfs/root/claude:2213:1350)\n at <anonymous> (/$bunfs/root/claude:2213:4483)\n at <anonymous> (/$bunfs/root/claude:2213:5171)\n at A (/$bunfs/root/claude:11:7251)\n at Z71 (/$bunfs/root/claude:4860:4342)","timestamp":"2026-01-25T04:36:32.645Z"},{"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:2187:22299)\n at async f (/$bunfs/root/claude:2187:24751)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-01-25T04:36:33.547Z"},{"error":"Error: Executable not found in $PATH: \"typescript-language-server\"\n at spawn (unknown)\n at spawn (node:child_process:669:35)\n at spawn (node:child_process:14:39)\n at start (/$bunfs/root/claude:2187:20844)\n at start (/$bunfs/root/claude:2187:22353)\n at f (/$bunfs/root/claude:2187:24751)\n at f (/$bunfs/root/claude:2187:25726)\n at L (/$bunfs/root/claude:2187:32513)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-01-25T04:36:33.547Z"},{"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:2187:32535)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-01-25T04:36:33.547Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"messages.1.content.0: If an assistant message contains any thinking blocks, the first block must be `thinking` or `redacted_thinking`. Found `text`.\"},\"request_id\":\"req_011CXTUaSnonPANHfPJmbYCq\"}\n at generate (/$bunfs/root/claude:143:37450)\n at makeRequest (/$bunfs/root/claude:160:5435)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-01-25T04:36:49.128Z"}]This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗