claude-code - 💡(How to fix) Fix [Bug] Anthropic API Error: Rate limit exceeded on image requests without image 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#52654Fetched 2026-04-24 06:01:25
View on GitHub
Comments
1
Participants
2
Timeline
6
Reactions
0
Timeline (top)
labeled ×5commented ×1

Error Message

[{"error":"McpToolCallError: Failed to execute action: Duration cannot exceed 10 seconds\n at uL7 (/$bunfs/root/src/entrypoints/cli.js:4736:63)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-23T18:23:39.970Z"},{"error":"Error: Tool mcp__claude-in-chrome not found\n at m57 (/$bunfs/root/src/entrypoints/cli.js:3093:31285)\n at qJ (/$bunfs/root/src/entrypoints/cli.js:478:21013)\n at $A (/$bunfs/root/src/entrypoints/cli.js:478:39566)\n at Wd (/$bunfs/root/src/entrypoints/cli.js:478:50271)\n at WRH (/$bunfs/root/src/entrypoints/cli.js:478:86947)\n at nFH (/$bunfs/root/src/entrypoints/cli.js:478:85908)\n at lFH (/$bunfs/root/src/entrypoints/cli.js:478:85729)\n at Rp (/$bunfs/root/src/entrypoints/cli.js:478:82083)\n at tH (/$bunfs/root/src/entrypoints/cli.js:478:6491)\n at NH (/$bunfs/root/src/entrypoints/cli.js:478:4977)","timestamp":"2026-04-23T18:24:32.334Z"},{"error":"Error: Tool mcp__claude-in-chrome not found\n at m57 (/$bunfs/root/src/entrypoints/cli.js:3093:31285)\n at qJ (/$bunfs/root/src/entrypoints/cli.js:478:21013)\n at $A (/$bunfs/root/src/entrypoints/cli.js:478:39566)\n at Wd (/$bunfs/root/src/entrypoints/cli.js:478:50271)\n at WRH (/$bunfs/root/src/entrypoints/cli.js:478:86947)\n at nFH (/$bunfs/root/src/entrypoints/cli.js:478:85908)\n at lFH (/$bunfs/root/src/entrypoints/cli.js:478:85729)\n at Rp (/$bunfs/root/src/entrypoints/cli.js:478:82083)\n at rH (/$bunfs/root/src/entrypoints/cli.js:478:6371)\n at lF6 (/$bunfs/root/src/entrypoints/cli.js:471:6902)","timestamp":"2026-04-23T18:24:32.345Z"},{"error":"Error: Tool mcp__claude-in-chrome not found\n at m57 (/$bunfs/root/src/entrypoints/cli.js:3093:31285)\n at qJ (/$bunfs/root/src/entrypoints/cli.js:478:21013)\n at $A (/$bunfs/root/src/entrypoints/cli.js:478:39566)\n at Wd (/$bunfs/root/src/entrypoints/cli.js:478:50271)\n at WRH (/$bunfs/root/src/entrypoints/cli.js:478:86947)\n at nFH (/$bunfs/root/src/entrypoints/cli.js:478:85908)\n at lFH (/$bunfs/root/src/entrypoints/cli.js:478:85729)\n at Rp (/$bunfs/root/src/entrypoints/cli.js:478:82083)\n at tH (/$bunfs/root/src/entrypoints/cli.js:478:6491)\n at NH (/$bunfs/root/src/entrypoints/cli.js:478:4977)","timestamp":"2026-04-23T18:24:32.426Z"},{"error":"McpToolCallError: Tab 1155966772 no longer exists. Call tabs_context_mcp to get current tabs.\n at uL7 (/$bunfs/root/src/entrypoints/cli.js:4736:63)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-23T18:29:15.446Z"},{"error":"Error: Tool mcp__claude-in-chrome not found\n at m57 (/$bunfs/root/src/entrypoints/cli.js:3093:31285)\n at qJ (/$bunfs/root/src/entrypoints/cli.js:478:21013)\n at $A (/$bunfs/root/src/entrypoints/cli.js:478:39566)\n at Wd (/$bunfs/root/src/entrypoints/cli.js:478:50271)\n at WRH (/$bunfs/root/src/entrypoints/cli.js:478:86947)\n at nFH (/$bunfs/root/src/entrypoints/cli.js:478:85908)\n at lFH (/$bunfs/root/src/entrypoints/cli.js:478:85729)\n at Rp (/$bunfs/root/src/entrypoints/cli.js:478:82083)\n at rH (/$bunfs/root/src/entrypoints/cli.js:478:6371)\n at lF6 (/$bunfs/root/src/entrypoints/cli.js:471:6902)","timestamp":"2026-04-23T18:46:11.094Z"},{"error":"Error: 400 {"type":"error","error":{"type":"invalid_request_error","message":"messages.38.content.1.image.source.base64.data: At least one of the image dimensions exceed max allowed size for many-image requests: 2000 pixels"},"request_id":"req_011CaMZ7YgEi5UFwwGDgGLa3"}\n at generate (/$bunfs/root/src/entrypoints/cli.js:11:54964)\n at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:4943)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-23T23:16:08.136Z"},{"error":"Error: 400 {"type":"error","error":{"type":"invalid_request_error","message":"messages.38.content.1.image.source.base64.data: At least one of the image dimensions exceed max allowed size for many-image requests: 2000 pixels"},"request_id":"req_011CaMZ9qxrb2oWLnpPteZJq"}\n at generate (/$bunfs/root/src/entrypoints/cli.js:11:54964)\n at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:4943)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-23T23:16:38.722Z"},{"error":"McpToolCallError: Permission denied by user\n at uL7 (/$bunfs/root/src/entrypoints/cli.js:4736:63)\n at processTicksAndRejections (native…

Code Example

[{"error":"McpToolCallError: Failed to execute action: Duration cannot exceed 10 seconds\n    at uL7 (/$bunfs/root/src/entrypoints/cli.js:4736:63)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-23T18:23:39.970Z"},{"error":"Error: Tool mcp__claude-in-chrome not found\n    at m57 (/$bunfs/root/src/entrypoints/cli.js:3093:31285)\n    at qJ (/$bunfs/root/src/entrypoints/cli.js:478:21013)\n    at $A (/$bunfs/root/src/entrypoints/cli.js:478:39566)\n    at Wd (/$bunfs/root/src/entrypoints/cli.js:478:50271)\n    at WRH (/$bunfs/root/src/entrypoints/cli.js:478:86947)\n    at nFH (/$bunfs/root/src/entrypoints/cli.js:478:85908)\n    at lFH (/$bunfs/root/src/entrypoints/cli.js:478:85729)\n    at Rp (/$bunfs/root/src/entrypoints/cli.js:478:82083)\n    at tH (/$bunfs/root/src/entrypoints/cli.js:478:6491)\n    at NH (/$bunfs/root/src/entrypoints/cli.js:478:4977)","timestamp":"2026-04-23T18:24:32.334Z"},{"error":"Error: Tool mcp__claude-in-chrome not found\n    at m57 (/$bunfs/root/src/entrypoints/cli.js:3093:31285)\n    at qJ (/$bunfs/root/src/entrypoints/cli.js:478:21013)\n    at $A (/$bunfs/root/src/entrypoints/cli.js:478:39566)\n    at Wd (/$bunfs/root/src/entrypoints/cli.js:478:50271)\n    at WRH (/$bunfs/root/src/entrypoints/cli.js:478:86947)\n    at nFH (/$bunfs/root/src/entrypoints/cli.js:478:85908)\n    at lFH (/$bunfs/root/src/entrypoints/cli.js:478:85729)\n    at Rp (/$bunfs/root/src/entrypoints/cli.js:478:82083)\n    at rH (/$bunfs/root/src/entrypoints/cli.js:478:6371)\n    at lF6 (/$bunfs/root/src/entrypoints/cli.js:471:6902)","timestamp":"2026-04-23T18:24:32.345Z"},{"error":"Error: Tool mcp__claude-in-chrome not found\n    at m57 (/$bunfs/root/src/entrypoints/cli.js:3093:31285)\n    at qJ (/$bunfs/root/src/entrypoints/cli.js:478:21013)\n    at $A (/$bunfs/root/src/entrypoints/cli.js:478:39566)\n    at Wd (/$bunfs/root/src/entrypoints/cli.js:478:50271)\n    at WRH (/$bunfs/root/src/entrypoints/cli.js:478:86947)\n    at nFH (/$bunfs/root/src/entrypoints/cli.js:478:85908)\n    at lFH (/$bunfs/root/src/entrypoints/cli.js:478:85729)\n    at Rp (/$bunfs/root/src/entrypoints/cli.js:478:82083)\n    at tH (/$bunfs/root/src/entrypoints/cli.js:478:6491)\n    at NH (/$bunfs/root/src/entrypoints/cli.js:478:4977)","timestamp":"2026-04-23T18:24:32.426Z"},{"error":"McpToolCallError: Tab 1155966772 no longer exists. Call tabs_context_mcp to get current tabs.\n    at uL7 (/$bunfs/root/src/entrypoints/cli.js:4736:63)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-23T18:29:15.446Z"},{"error":"Error: Tool mcp__claude-in-chrome not found\n    at m57 (/$bunfs/root/src/entrypoints/cli.js:3093:31285)\n    at qJ (/$bunfs/root/src/entrypoints/cli.js:478:21013)\n    at $A (/$bunfs/root/src/entrypoints/cli.js:478:39566)\n    at Wd (/$bunfs/root/src/entrypoints/cli.js:478:50271)\n    at WRH (/$bunfs/root/src/entrypoints/cli.js:478:86947)\n    at nFH (/$bunfs/root/src/entrypoints/cli.js:478:85908)\n    at lFH (/$bunfs/root/src/entrypoints/cli.js:478:85729)\n    at Rp (/$bunfs/root/src/entrypoints/cli.js:478:82083)\n    at rH (/$bunfs/root/src/entrypoints/cli.js:478:6371)\n    at lF6 (/$bunfs/root/src/entrypoints/cli.js:471:6902)","timestamp":"2026-04-23T18:46:11.094Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"messages.38.content.1.image.source.base64.data: At least one of the image dimensions exceed max allowed size for many-image requests: 2000 pixels\"},\"request_id\":\"req_011CaMZ7YgEi5UFwwGDgGLa3\"}\n    at generate (/$bunfs/root/src/entrypoints/cli.js:11:54964)\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:4943)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-23T23:16:08.136Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"messages.38.content.1.image.source.base64.data: At least one of the image dimensions exceed max allowed size for many-image requests: 2000 pixels\"},\"request_id\":\"req_011CaMZ9qxrb2oWLnpPteZJq\"}\n    at generate (/$bunfs/root/src/entrypoints/cli.js:11:54964)\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:4943)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-23T23:16:38.722Z"},{"error":"McpToolCallError: Permission denied by user\n    at uL7 (/$bunfs/root/src/entrypoints/cli.js:4736:63)\n    at processTicksAndRejections (native…
RAW_BUFFERClick to expand / collapse

Bug Description i keep getting this issue of too many images requests evne if i dont share images lol

Environment Info

  • Platform: darwin
  • Terminal: iTerm.app
  • Version: 2.1.118
  • Feedback ID: 8b2c2562-6cba-4799-bfcd-d9d887d4dbcb

Errors

[{"error":"McpToolCallError: Failed to execute action: Duration cannot exceed 10 seconds\n    at uL7 (/$bunfs/root/src/entrypoints/cli.js:4736:63)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-23T18:23:39.970Z"},{"error":"Error: Tool mcp__claude-in-chrome not found\n    at m57 (/$bunfs/root/src/entrypoints/cli.js:3093:31285)\n    at qJ (/$bunfs/root/src/entrypoints/cli.js:478:21013)\n    at $A (/$bunfs/root/src/entrypoints/cli.js:478:39566)\n    at Wd (/$bunfs/root/src/entrypoints/cli.js:478:50271)\n    at WRH (/$bunfs/root/src/entrypoints/cli.js:478:86947)\n    at nFH (/$bunfs/root/src/entrypoints/cli.js:478:85908)\n    at lFH (/$bunfs/root/src/entrypoints/cli.js:478:85729)\n    at Rp (/$bunfs/root/src/entrypoints/cli.js:478:82083)\n    at tH (/$bunfs/root/src/entrypoints/cli.js:478:6491)\n    at NH (/$bunfs/root/src/entrypoints/cli.js:478:4977)","timestamp":"2026-04-23T18:24:32.334Z"},{"error":"Error: Tool mcp__claude-in-chrome not found\n    at m57 (/$bunfs/root/src/entrypoints/cli.js:3093:31285)\n    at qJ (/$bunfs/root/src/entrypoints/cli.js:478:21013)\n    at $A (/$bunfs/root/src/entrypoints/cli.js:478:39566)\n    at Wd (/$bunfs/root/src/entrypoints/cli.js:478:50271)\n    at WRH (/$bunfs/root/src/entrypoints/cli.js:478:86947)\n    at nFH (/$bunfs/root/src/entrypoints/cli.js:478:85908)\n    at lFH (/$bunfs/root/src/entrypoints/cli.js:478:85729)\n    at Rp (/$bunfs/root/src/entrypoints/cli.js:478:82083)\n    at rH (/$bunfs/root/src/entrypoints/cli.js:478:6371)\n    at lF6 (/$bunfs/root/src/entrypoints/cli.js:471:6902)","timestamp":"2026-04-23T18:24:32.345Z"},{"error":"Error: Tool mcp__claude-in-chrome not found\n    at m57 (/$bunfs/root/src/entrypoints/cli.js:3093:31285)\n    at qJ (/$bunfs/root/src/entrypoints/cli.js:478:21013)\n    at $A (/$bunfs/root/src/entrypoints/cli.js:478:39566)\n    at Wd (/$bunfs/root/src/entrypoints/cli.js:478:50271)\n    at WRH (/$bunfs/root/src/entrypoints/cli.js:478:86947)\n    at nFH (/$bunfs/root/src/entrypoints/cli.js:478:85908)\n    at lFH (/$bunfs/root/src/entrypoints/cli.js:478:85729)\n    at Rp (/$bunfs/root/src/entrypoints/cli.js:478:82083)\n    at tH (/$bunfs/root/src/entrypoints/cli.js:478:6491)\n    at NH (/$bunfs/root/src/entrypoints/cli.js:478:4977)","timestamp":"2026-04-23T18:24:32.426Z"},{"error":"McpToolCallError: Tab 1155966772 no longer exists. Call tabs_context_mcp to get current tabs.\n    at uL7 (/$bunfs/root/src/entrypoints/cli.js:4736:63)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-23T18:29:15.446Z"},{"error":"Error: Tool mcp__claude-in-chrome not found\n    at m57 (/$bunfs/root/src/entrypoints/cli.js:3093:31285)\n    at qJ (/$bunfs/root/src/entrypoints/cli.js:478:21013)\n    at $A (/$bunfs/root/src/entrypoints/cli.js:478:39566)\n    at Wd (/$bunfs/root/src/entrypoints/cli.js:478:50271)\n    at WRH (/$bunfs/root/src/entrypoints/cli.js:478:86947)\n    at nFH (/$bunfs/root/src/entrypoints/cli.js:478:85908)\n    at lFH (/$bunfs/root/src/entrypoints/cli.js:478:85729)\n    at Rp (/$bunfs/root/src/entrypoints/cli.js:478:82083)\n    at rH (/$bunfs/root/src/entrypoints/cli.js:478:6371)\n    at lF6 (/$bunfs/root/src/entrypoints/cli.js:471:6902)","timestamp":"2026-04-23T18:46:11.094Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"messages.38.content.1.image.source.base64.data: At least one of the image dimensions exceed max allowed size for many-image requests: 2000 pixels\"},\"request_id\":\"req_011CaMZ7YgEi5UFwwGDgGLa3\"}\n    at generate (/$bunfs/root/src/entrypoints/cli.js:11:54964)\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:4943)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-23T23:16:08.136Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"messages.38.content.1.image.source.base64.data: At least one of the image dimensions exceed max allowed size for many-image requests: 2000 pixels\"},\"request_id\":\"req_011CaMZ9qxrb2oWLnpPteZJq\"}\n    at generate (/$bunfs/root/src/entrypoints/cli.js:11:54964)\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:4943)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-23T23:16:38.722Z"},{"error":"McpToolCallError: Permission denied by user\n    at uL7 (/$bunfs/root/src/entrypoints/cli.js:4736:63)\n    at processTicksAndRejections (native…

Note: Content was truncated.

extent analysis

TL;DR

The issue is likely caused by excessive image requests, possibly due to large image dimensions exceeding the maximum allowed size, and can be mitigated by optimizing image sizes or handling errors related to tool availability.

Guidance

  • Verify that the images being requested are not larger than 2000 pixels in any dimension to avoid exceeding the maximum allowed size for many-image requests.
  • Check the availability of the mcp__claude-in-chrome tool, as multiple errors indicate it was not found, which might be a separate issue or related to the image request problem.
  • Review the code for any loops or recursive calls that might be causing too many image requests, even when not sharing images.
  • Consider implementing error handling for McpToolCallError and Permission denied by user errors to gracefully manage failures.

Example

No specific code example can be provided without more context on how images are being requested or shared, but ensuring image dimensions are within limits before making requests can help mitigate the issue.

Notes

The provided information does not specify how images are being shared or requested, making it difficult to provide a precise solution. The issue seems to involve both image size limitations and tool availability errors.

Recommendation

Apply a workaround by optimizing image sizes to be within the 2000-pixel limit and implement error handling for tool availability and permission errors, as upgrading to a fixed version is not implied in the given context.

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] Anthropic API Error: Rate limit exceeded on image requests without image input [1 comments, 2 participants]