[Bug] Continuous EPIPE errors preventing API communication

Resolved 💬 3 comments Opened Mar 30, 2026 by elhamid Closed Apr 3, 2026

Bug Description
continuous API Error: Unable to connect to API (EPIPE) errors

Environment Info

  • Platform: darwin
  • Terminal: vscode
  • Version: 2.1.87
  • Feedback ID: c44096f0-3bf7-4f23-a868-f3e2c29d3f38

Errors

[{"error":"MaxFileReadTokenExceededError: File content (19557 tokens) exceeds maximum allowed tokens (10000). 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 YMK (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:4401:5282)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async zMK (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:4405:2673)\n    at async Object.call (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:4410:6199)\n    at async w1z (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:4042:7134)","timestamp":"2026-03-30T20:22:20.013Z"},{"error":"MaxFileReadTokenExceededError: File content (19557 tokens) exceeds maximum allowed tokens (10000). 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 YMK (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:4401:5282)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async zMK (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:4405:2673)\n    at async Object.call (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:4410:6199)\n    at async w1z (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:4042:7134)","timestamp":"2026-03-30T20:22:23.058Z"},{"error":"MaxFileReadTokenExceededError: File content (19557 tokens) exceeds maximum allowed tokens (10000). 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 YMK (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:4401:5282)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async zMK (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:4405:2673)\n    at async Object.call (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:4410:6199)\n    at async w1z (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:4042:7134)","timestamp":"2026-03-30T20:22:33.435Z"},{"error":"MaxFileReadTokenExceededError: File content (19557 tokens) exceeds maximum allowed tokens (10000). 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 YMK (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:4401:5282)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async zMK (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:4405:2673)\n    at async Object.call (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:4410:6199)\n    at async w1z (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:4042:7134)","timestamp":"2026-03-30T20:22:34.946Z"},{"error":"MaxFileReadTokenExceededError: File content (19557 tokens) exceeds maximum allowed tokens (10000). 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 YMK (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:4401:5282)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async zMK (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:4405:2673)\n    at async Object.call (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:4410:6199)\n    at async w1z (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:4042:7134)","timestamp":"2026-03-30T20:22:40.560Z"},{"error":"Error: 1P event logging: 258 events failed to export (code=ERR_SSL_SSL/TLS_ALERT_BAD_RECORD_MAC, 0031320A02000000:error:0A0003FC:SSL routines:ssl3_read_bytes:ssl/tls alert bad record mac:ssl/record/rec_layer_s3.c:918:SSL alert number 20\n)\n    at Xf1.queueFailedEvents (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:473:2546)\n    at async Xf1.doExport (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:473:1465)","timestamp":"2026-03-30T20:22:45.859Z"},{"error":"Error: {\"stack\":\"Error: Failed to export 258 events (code=ERR_SSL_SSL/TLS_ALERT_BAD_RECORD_MAC, 0031320A02000000:error:0A0003FC:SSL routines:ssl3_read_bytes:ssl/tls alert bad record mac:ssl/record/rec_layer_s3.c:918:SSL alert number 20\\n)\\n    at Xf1.doExport (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:473:1640)\",\"message\":\"Failed to export 258 events (code=ERR_SSL_SSL/TLS_ALERT_BAD_RECORD_MAC, 003…

Note: Content was truncated.

View original on GitHub ↗

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