[Bug] Claude hallucinates screenshot content on initial read, reads correctly on retry

Resolved 💬 5 comments Opened Nov 3, 2025 by AlexGuyton Closed Jan 9, 2026

Bug Description
I sent claude a screenshot. It made up reading a screenshot. Then when I pushed, it accurally read it. Why is claude lying about reading screenshots?

Environment Info

  • Platform: darwin
  • Terminal: vscode
  • Version: 2.0.31
  • Feedback ID: b2bee503-8acf-4d28-8d4a-f84cf3b085dd

Errors

[{"error":"MaxFileReadTokenExceededError: File content (109985 tokens) exceeds maximum allowed tokens (25000). Please use offset and limit parameters to read specific portions of the file, or use the GrepTool to search for specific content.\n    at td2 (file:///Users/alexguyton/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:3432:910)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async Object.call (file:///Users/alexguyton/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:3441:1304)\n    at async Zb5 (file:///Users/alexguyton/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:2743:70234)\n    at async AA1 (file:///Users/alexguyton/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:2743:67291)\n    at async file:///Users/alexguyton/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:2743:66460","timestamp":"2025-11-03T20:51:30.884Z"},{"error":"MaxFileReadTokenExceededError: File content (109985 tokens) exceeds maximum allowed tokens (25000). Please use offset and limit parameters to read specific portions of the file, or use the GrepTool to search for specific content.\n    at td2 (file:///Users/alexguyton/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:3432:910)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async Object.call (file:///Users/alexguyton/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:3441:1304)\n    at async Mq (file:///Users/alexguyton/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:727:1190)\n    at async file:///Users/alexguyton/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1270:1379","timestamp":"2025-11-03T20:51:38.245Z"},{"error":"Error: Language not supported while highlighting code, falling back to markdown: \n    at $D (file:///Users/alexguyton/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1180:4413)\n    at file:///Users/alexguyton/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1180:4141\n    at Array.map (<anonymous>)\n    at _F (file:///Users/alexguyton/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1180:4132)\n    at JSQ (file:///Users/alexguyton/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1802:6548)\n    at kw (file:///Users/alexguyton/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:74:19414)\n    at ro (file:///Users/alexguyton/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:76:42806)\n    at v9 (file:///Users/alexguyton/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:76:38347)\n    at nc (file:///Users/alexguyton/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:76:38275)\n    at cw (file:///Users/alexguyton/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:76:38129)","timestamp":"2025-11-03T20:53:27.034Z"},{"error":"Error: Tab close: Invalid tab not found!\n    at SFQ (file:///Users/alexguyton/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1404:7532)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async KO2 (file:///Users/alexguyton/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:2766:8498)\n    at async AbortSignal.W (file:///Users/alexguyton/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:2766:7527)","timestamp":"2025-11-03T20:55:42.867Z"},{"error":"Error: Request was aborted.\n    at Ck.makeRequest (file:///Users/alexguyton/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:359:3850)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)","timestamp":"2025-11-03T20:59:05.497Z"},{"error":"Error: Request was aborted.\n    at Ck.makeRequest (file:///Users/alexguyton/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:359:3850)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)","timestamp":"2025-11-03T21:09:12.691Z"},{"error":"Error: Language not supported while highlighting code, falling back to markdown: \n    at $D (file:///Users/alexguyton/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1180:4413)\n    at file:///Users/alexguyton/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1180:4141\n    at Array.map (<anonymous>)\n    at _F (file:///Users/alexguyton/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1180:4132)\n    at JSQ (file:///Users/alexguyton/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1802:6548)\n    at kw (file:///Users/alexguyton/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:74:19414)\n    at ro (file:///Users/alexguyton/.npm-global/lib/node_

Note: Error logs were truncated.

View original on GitHub ↗

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