claude-code - 💡(How to fix) Fix [Feature Request] Allow transcription of benign content flagged by safety filters [1 comments, 1 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#46405Fetched 2026-04-11 06:21:10
View on GitHub
Comments
1
Participants
1
Timeline
2
Reactions
0
Author
Participants
Timeline (top)
closed ×1commented ×1

Error Message

[{"error":"MaxFileReadTokenExceededError: File content (10208 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 N17 (/$bunfs/root/src/entrypoints/cli.js:4304:13161)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-04T01:21:40.460Z"},{"error":"MaxFileReadTokenExceededError: File content (10209 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 N17 (/$bunfs/root/src/entrypoints/cli.js:4304:13161)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-04T01:33:48.081Z"},{"error":"MaxFileReadTokenExceededError: File content (14957 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 N17 (/$bunfs/root/src/entrypoints/cli.js:4304:13161)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-04T01:46:58.809Z"},{"error":"MaxFileReadTokenExceededError: File content (14957 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 N17 (/$bunfs/root/src/entrypoints/cli.js:4304:13161)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-04T01:47:02.278Z"},{"error":"MaxFileReadTokenExceededError: File content (50468 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 N17 (/$bunfs/root/src/entrypoints/cli.js:4304:13161)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-04T01:50:24.452Z"},{"error":"MaxFileReadTokenExceededError: File content (13125 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 N17 (/$bunfs/root/src/entrypoints/cli.js:4304:13161)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-04T03:21:30.773Z"},{"error":"MaxFileReadTokenExceededError: File content (31287 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 N17 (/$bunfs/root/src/entrypoints/cli.js:4304:13161)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-04T03:44:45.654Z"},{"error":"MaxFileReadTokenExceededError: File content (16936 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 N17 (/$bunfs/root/src/entrypoints/cli.js:4304:13161)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-04T03:56:10.116Z"},{"error":"MaxFileReadTokenExceededError: File content (19586 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 N17 (/$bunfs/root/src/entrypoints/cli.js:4304:13161)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-04T04:05:12.102Z"},{"error":"MaxFileReadTokenExceededError: File content (12198 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 N17 (/$bunfs/root/src/entrypoints/cli.js:4304:13161)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-04T04:15:28.757Z"},{"error":"AxiosError: timeout of 5000ms exceeded\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:113:13337)\n at emit (node:events:92:22)\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:112:3321)\n at request (/$bunfs/root/src/entrypoints/cli.js:115:2467)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-04T04:43:03.621Z"},{"error":"MaxFileReadTokenExceededError: File content (22535 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 N17 (/$bunfs/root/src/entrypoints/cli.js:4304:13161)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-04T04…

Code Example

[{"error":"MaxFileReadTokenExceededError: File content (10208 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 N17 (/$bunfs/root/src/entrypoints/cli.js:4304:13161)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-04T01:21:40.460Z"},{"error":"MaxFileReadTokenExceededError: File content (10209 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 N17 (/$bunfs/root/src/entrypoints/cli.js:4304:13161)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-04T01:33:48.081Z"},{"error":"MaxFileReadTokenExceededError: File content (14957 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 N17 (/$bunfs/root/src/entrypoints/cli.js:4304:13161)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-04T01:46:58.809Z"},{"error":"MaxFileReadTokenExceededError: File content (14957 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 N17 (/$bunfs/root/src/entrypoints/cli.js:4304:13161)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-04T01:47:02.278Z"},{"error":"MaxFileReadTokenExceededError: File content (50468 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 N17 (/$bunfs/root/src/entrypoints/cli.js:4304:13161)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-04T01:50:24.452Z"},{"error":"MaxFileReadTokenExceededError: File content (13125 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 N17 (/$bunfs/root/src/entrypoints/cli.js:4304:13161)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-04T03:21:30.773Z"},{"error":"MaxFileReadTokenExceededError: File content (31287 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 N17 (/$bunfs/root/src/entrypoints/cli.js:4304:13161)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-04T03:44:45.654Z"},{"error":"MaxFileReadTokenExceededError: File content (16936 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 N17 (/$bunfs/root/src/entrypoints/cli.js:4304:13161)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-04T03:56:10.116Z"},{"error":"MaxFileReadTokenExceededError: File content (19586 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 N17 (/$bunfs/root/src/entrypoints/cli.js:4304:13161)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-04T04:05:12.102Z"},{"error":"MaxFileReadTokenExceededError: File content (12198 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 N17 (/$bunfs/root/src/entrypoints/cli.js:4304:13161)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-04T04:15:28.757Z"},{"error":"AxiosError: timeout of 5000ms exceeded\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:113:13337)\n    at emit (node:events:92:22)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:112:3321)\n    at request (/$bunfs/root/src/entrypoints/cli.js:115:2467)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-04T04:43:03.621Z"},{"error":"MaxFileReadTokenExceededError: File content (22535 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 N17 (/$bunfs/root/src/entrypoints/cli.js:4304:13161)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-04T04…
RAW_BUFFERClick to expand / collapse

Bug Description I would really like to transcribe the newspaper article which Claude is saying is triggered by the word "friendless" and is otherwise benign content.

Environment Info

  • Platform: linux
  • Terminal: tmux
  • Version: 2.1.91
  • Feedback ID: dec3e26e-bc48-46b6-ade8-d5bc4d17664f

Errors

[{"error":"MaxFileReadTokenExceededError: File content (10208 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 N17 (/$bunfs/root/src/entrypoints/cli.js:4304:13161)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-04T01:21:40.460Z"},{"error":"MaxFileReadTokenExceededError: File content (10209 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 N17 (/$bunfs/root/src/entrypoints/cli.js:4304:13161)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-04T01:33:48.081Z"},{"error":"MaxFileReadTokenExceededError: File content (14957 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 N17 (/$bunfs/root/src/entrypoints/cli.js:4304:13161)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-04T01:46:58.809Z"},{"error":"MaxFileReadTokenExceededError: File content (14957 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 N17 (/$bunfs/root/src/entrypoints/cli.js:4304:13161)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-04T01:47:02.278Z"},{"error":"MaxFileReadTokenExceededError: File content (50468 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 N17 (/$bunfs/root/src/entrypoints/cli.js:4304:13161)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-04T01:50:24.452Z"},{"error":"MaxFileReadTokenExceededError: File content (13125 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 N17 (/$bunfs/root/src/entrypoints/cli.js:4304:13161)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-04T03:21:30.773Z"},{"error":"MaxFileReadTokenExceededError: File content (31287 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 N17 (/$bunfs/root/src/entrypoints/cli.js:4304:13161)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-04T03:44:45.654Z"},{"error":"MaxFileReadTokenExceededError: File content (16936 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 N17 (/$bunfs/root/src/entrypoints/cli.js:4304:13161)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-04T03:56:10.116Z"},{"error":"MaxFileReadTokenExceededError: File content (19586 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 N17 (/$bunfs/root/src/entrypoints/cli.js:4304:13161)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-04T04:05:12.102Z"},{"error":"MaxFileReadTokenExceededError: File content (12198 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 N17 (/$bunfs/root/src/entrypoints/cli.js:4304:13161)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-04T04:15:28.757Z"},{"error":"AxiosError: timeout of 5000ms exceeded\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:113:13337)\n    at emit (node:events:92:22)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:112:3321)\n    at request (/$bunfs/root/src/entrypoints/cli.js:115:2467)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-04T04:43:03.621Z"},{"error":"MaxFileReadTokenExceededError: File content (22535 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 N17 (/$bunfs/root/src/entrypoints/cli.js:4304:13161)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-04T04…

Note: Content was truncated.

extent analysis

TL;DR

Use the offset and limit parameters to read specific portions of the file instead of reading the whole file to avoid exceeding the maximum allowed tokens.

Guidance

  • Identify the large files that are causing the MaxFileReadTokenExceededError and consider splitting them into smaller chunks.
  • Use the offset and limit parameters to read specific portions of the file, as suggested in the error message.
  • Verify that the file content is not exceeding the maximum allowed tokens (10000) by checking the file size and token count before attempting to read it.
  • Consider increasing the timeout value to handle larger files or slower network connections to avoid the AxiosError: timeout of 5000ms exceeded error.

Example

No specific code example can be provided without more context, but the error message suggests using the offset and limit parameters in the API call, e.g., readFile(offset=0, limit=1000).

Notes

The provided error messages and code snippets are truncated, which may limit the ability to provide a complete solution. Additionally, the AxiosError: timeout of 5000ms exceeded error may be related to network connectivity or server response time issues.

Recommendation

Apply workaround by using the offset and limit parameters to read specific portions of the file, as this is a direct solution to the MaxFileReadTokenExceededError and can help avoid the AxiosError: timeout of 5000ms exceeded error.

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