claude-code - 💡(How to fix) Fix [Bug] Multiline content paste not working in CLI input [1 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
anthropics/claude-code#49571Fetched 2026-04-17 08:37:21
View on GitHub
Comments
1
Participants
2
Timeline
4
Reactions
0
Timeline (top)
labeled ×3commented ×1

Error Message

[{"error":"AxiosError: timeout of 5000ms exceeded\n at dN.<anonymous> (file:///C:/Users/John/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:118:13080)\n at dN.emit (node:events:518:28)\n at Timeout._onTimeout (file:///C:/Users/John/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:117:3292)\n at listOnTimeout (node:internal/timers:588:17)\n at process.processTimers (node:internal/timers:523:7)\n at GU6.request (file:///C:/Users/John/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:120:2450)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n at async mC1 (file:///C:/Users/John/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:512:3865)","timestamp":"2026-04-16T07:19:04.356Z"},{"error":"Error: 1P event logging: 24 events failed to export (code=ECONNABORTED, timeout of 10000ms exceeded)\n at WC1.queueFailedEvents (file:///C:/Users/John/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:499:2546)\n at async WC1.doExport (file:///C:/Users/John/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:499:1465)","timestamp":"2026-04-16T07:19:04.375Z"},{"error":"Error: 1P event logging: 1 events failed to export (code=ECONNRESET, read ECONNRESET)\n at WC1.queueFailedEvents (file:///C:/Users/John/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:499:2546)\n at async WC1.doExport (file:///C:/Users/John/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:499:1465)","timestamp":"2026-04-16T07:20:52.771Z"}]

Code Example

[{"error":"AxiosError: timeout of 5000ms exceeded\n    at dN.<anonymous> (file:///C:/Users/John/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:118:13080)\n    at dN.emit (node:events:518:28)\n    at Timeout._onTimeout (file:///C:/Users/John/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:117:3292)\n    at listOnTimeout (node:internal/timers:588:17)\n    at process.processTimers (node:internal/timers:523:7)\n    at GU6.request (file:///C:/Users/John/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:120:2450)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async mC1 (file:///C:/Users/John/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:512:3865)","timestamp":"2026-04-16T07:19:04.356Z"},{"error":"Error: 1P event logging: 24 events failed to export (code=ECONNABORTED, timeout of 10000ms exceeded)\n    at WC1.queueFailedEvents (file:///C:/Users/John/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:499:2546)\n    at async WC1.doExport (file:///C:/Users/John/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:499:1465)","timestamp":"2026-04-16T07:19:04.375Z"},{"error":"Error: 1P event logging: 1 events failed to export (code=ECONNRESET, read ECONNRESET)\n    at WC1.queueFailedEvents (file:///C:/Users/John/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:499:2546)\n    at async WC1.doExport (file:///C:/Users/John/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:499:1465)","timestamp":"2026-04-16T07:20:52.771Z"}]
RAW_BUFFERClick to expand / collapse

Bug Description i can't fucking paste multiline content

Environment Info

  • Platform: win32
  • Terminal: null
  • Version: 2.1.110
  • Feedback ID: c054ce1e-42d9-45cf-b950-e694c9ca6979

Errors

[{"error":"AxiosError: timeout of 5000ms exceeded\n    at dN.<anonymous> (file:///C:/Users/John/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:118:13080)\n    at dN.emit (node:events:518:28)\n    at Timeout._onTimeout (file:///C:/Users/John/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:117:3292)\n    at listOnTimeout (node:internal/timers:588:17)\n    at process.processTimers (node:internal/timers:523:7)\n    at GU6.request (file:///C:/Users/John/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:120:2450)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async mC1 (file:///C:/Users/John/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:512:3865)","timestamp":"2026-04-16T07:19:04.356Z"},{"error":"Error: 1P event logging: 24 events failed to export (code=ECONNABORTED, timeout of 10000ms exceeded)\n    at WC1.queueFailedEvents (file:///C:/Users/John/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:499:2546)\n    at async WC1.doExport (file:///C:/Users/John/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:499:1465)","timestamp":"2026-04-16T07:19:04.375Z"},{"error":"Error: 1P event logging: 1 events failed to export (code=ECONNRESET, read ECONNRESET)\n    at WC1.queueFailedEvents (file:///C:/Users/John/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:499:2546)\n    at async WC1.doExport (file:///C:/Users/John/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:499:1465)","timestamp":"2026-04-16T07:20:52.771Z"}]

extent analysis

TL;DR

Increase the timeout value for Axios requests to mitigate the "timeout of 5000ms exceeded" error.

Guidance

  • The error messages indicate that the Axios requests are timing out after 5000ms, which may be too low for handling multiline content.
  • Consider increasing the timeout value for Axios requests to a higher value, such as 30000ms, to allow for more time to process the requests.
  • Verify that the issue is resolved by attempting to paste multiline content again after increasing the timeout value.
  • If the issue persists, investigate other potential causes, such as network connectivity or server-side limitations.

Example

No code snippet is provided as the issue does not explicitly mention the code that needs to be modified. However, the timeout value can be increased in the Axios request configuration, for example: axios.get(url, { timeout: 30000 }).

Notes

The provided error messages suggest that the issue is related to timeout values, but other factors may also be contributing to the problem. Further investigation may be necessary to fully resolve the issue.

Recommendation

Apply workaround: Increase the timeout value for Axios requests to mitigate the error. This is a temporary solution to help resolve the immediate issue, but further investigation may be necessary to identify and address the root cause.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

claude-code - 💡(How to fix) Fix [Bug] Multiline content paste not working in CLI input [1 comments, 2 participants]