Markdown File Path Incorrectly Replaced by Clipboard PDF Image

Resolved 💬 4 comments Opened Aug 3, 2025 by eoJ1 Closed Aug 15, 2025

Bug Description
I've dragged across a markdown file, however the path to the markdown is showing for a second, then becoming an image (chat says Can you read this file? [Image #1] when I prepend with 'Can you read this file?'. This image represents the PDF file that's currently in my clipboard. I've tried with a new chat, and same thing.

Environment Info

  • Platform: darwin
  • Terminal: iTerm.app
  • Version: 1.0.67
  • Feedback ID:

Errors

[{"error":"Error: Command failed: security find-generic-password -a $USER -w -s \"Claude Code\"\nsecurity: SecKeychainSearchCopyNext: The specified item could not be found in the keychain.\n\n    at genericNodeError (node:internal/errors:983:15)\n    at wrappedFn (node:internal/errors:537:14)\n    at checkExecSyncError (node:child_process:889:11)\n    at execSync (node:child_process:961:15)\n    at t7 (file:///Users/joe/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:867:5214)\n    at file:///Users/joe/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:776:48453\n    at Q (file:///Users/joe/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:674:14418)\n    at lJ (file:///Users/joe/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:776:45891)\n    at yz (file:///Users/joe/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:776:44758)\n    at W9 (file:///Users/joe/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:776:51079)","timestamp":"2025-08-03T14:33:13.687Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"messages.2.content.0.pdf.source.base64.data: A maximum of 100 PDF pages may be provided.\"}}\n    at t4.generate (file:///Users/joe/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1319:12528)\n    at SP.makeStatusError (file:///Users/joe/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1336:2101)\n    at SP.makeRequest (file:///Users/joe/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1336:5315)\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n    at async EfB.LF1.showErrors (file:///Users/joe/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:2981:14401)\n    at async LF1 (file:///Users/joe/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:2463:5642)\n    at async EfB (file:///Users/joe/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:2981:14252)\n    at async file:///Users/joe/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:2981:9308\n    at async tM0 (file:///Users/joe/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:2981:1689)\n    at async T11 (file:///Users/joe/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:2981:9278)","timestamp":"2025-08-03T14:35:55.711Z"},{"error":"AxiosError: Request failed with status code 413\n    at QN (file:///Users/joe/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:676:1077)\n    at IncomingMessage.i1 (file:///Users/joe/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:677:9955)\n    at IncomingMessage.emit (node:events:532:35)\n    at IncomingMessage.emit (node:domain:488:12)\n    at endReadableNT (node:internal/streams/readable:1696:12)\n    at process.processTicksAndRejections (node:internal/process/task_queues:82:21)\n    at CB1.request (file:///Users/joe/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:679:2088)\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n    at async E88 (file:///Users/joe/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1627:470)\n    at async Promise.all (index 0)\n    at async file:///Users/joe/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1613:6358","timestamp":"2025-08-03T14:36:52.593Z"}]

View original on GitHub ↗

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