[Bug] Internal Server Error: HTTP 500 Response from Anthropic API

Resolved 💬 1 comment Opened May 16, 2026 by RamaiahApoorva Closed Jun 15, 2026

Bug Description
error 500

Environment Info

  • Platform: darwin
  • Terminal: Apple_Terminal
  • Version: 2.1.77
  • Feedback ID: cf286c63-32a2-43e4-a600-2e36f8f2a46e

Errors

[{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server github invalid: Missing environment variables: GITHUB_PERSONAL_ACCESS_TOKEN\n    at XZ6 (file:///Users/affinitylabs/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:2595:32824)","timestamp":"2026-05-16T16:13:32.297Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server github invalid: Missing environment variables: GITHUB_PERSONAL_ACCESS_TOKEN\n    at XZ6 (file:///Users/affinitylabs/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:2595:32824)\n    at async G (file:///Users/affinitylabs/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:4928:16816)","timestamp":"2026-05-16T16:13:33.307Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server github invalid: Missing environment variables: GITHUB_PERSONAL_ACCESS_TOKEN\n    at XZ6 (file:///Users/affinitylabs/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:2595:32824)\n    at async f (file:///Users/affinitylabs/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:4928:17532)","timestamp":"2026-05-16T16:13:33.312Z"},{"error":"MaxFileReadTokenExceededError: File content (35860 tokens) exceeds maximum allowed tokens (25000). Use offset and limit parameters to read specific portions of the file, or search for specific content instead of reading the whole file.\n    at LK4 (file:///Users/affinitylabs/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1637:8025)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async RK4 (file:///Users/affinitylabs/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1641:2758)\n    at async Object.call (file:///Users/affinitylabs/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1646:6083)\n    at async WRY (file:///Users/affinitylabs/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:3781:6729)","timestamp":"2026-05-16T16:22:20.922Z"},{"error":"Error: LSP server plugin:typescript-lsp:typescript failed to start: spawn typescript-language-server ENOENT\n    at Object.start (file:///Users/affinitylabs/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:2916:22360)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async Object.O [as start] (file:///Users/affinitylabs/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:2916:24699)\n    at async w (file:///Users/affinitylabs/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:2916:33757)\n    at async H (file:///Users/affinitylabs/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:2916:34100)","timestamp":"2026-05-16T16:33:11.488Z"},{"error":"Error: spawn typescript-language-server ENOENT\n    at ChildProcess._handle.onexit (node:internal/child_process:286:19)\n    at onErrorNT (node:internal/child_process:484:16)\n    at process.processTicksAndRejections (node:internal/process/task_queues:90:21)","timestamp":"2026-05-16T16:33:11.488Z"},{"error":"Error: Failed to start LSP server for file /Users/affinitylabs/Downloads/affinity_labs/planpin_expo/.claude/worktrees/aff-1000/app/(app)/(tabs)/index.tsx: spawn typescript-language-server ENOENT\n    at w (file:///Users/affinitylabs/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:2916:33791)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async H (file:///Users/affinitylabs/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:2916:34100)","timestamp":"2026-05-16T16:33:11.488Z"},{"error":"Error: spawn typescript-language-server ENOENT\n    at ChildProcess._handle.onexit (node:internal/child_process:286:19)\n    at onErrorNT (node:internal/child_process:484:16)\n    at process.processTicksAndRejections (node:internal/process/task_queues:90:21)","timestamp":"2026-05-16T16:33:11.488Z"},{"error":"Error: Cannot send notification to LSP server 'plugin:typescript-lsp:typescript': server is error\n    at Object.M [as sendNotification] (file:///Users/affinitylabs/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:2916:27103)\n    at H (file:///Users/affinitylabs/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:2916:34331)","timestamp":"2026-05-16T16:33:38.422Z"},…

Note: Content was truncated.

View original on GitHub ↗

This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗