EISDIR: illegal operation on a directory — page 2
A directory path was handed to a call that expects a file.
495 issues · 9 open · 486 resolved (98%) · first seen Apr 24, 2025
First response · local
What to do now
Most likely: The operating system rejected a file or directory operation.
- Read the first path in the error and verify that it exists and belongs to the expected user.
- Check disk space, permissions, symlinks and whether another process holds the target.
- Reproduce with the smallest affected path before changing project-wide permissions.
These are conservative triage steps, not an official Anthropic fix. Use the issue and workaround evidence below before making a destructive configuration change.
Is this getting better or worse?
This class of problem is converging. 6 new reports in the last 90 days vs 181 in the 90 before — -97%. The open backlog peaked at 80 in 2025-12 and sits at 9 today.
Derived by counting each matching issue from its creation date until it closed. First-party
computation over the anthropics/claude-code tracker — the trend is not published
anywhere upstream.
Which builds report this
304 of these reports name the Claude Code build they were running, spanning 95 releases. Heaviest reporters:
- Claude Code v2.0.76
- Claude Code v2.1.119
- Claude Code v2.1.92
- Claude Code v2.1.114
- Claude Code v2.1.81
- Claude Code v2.0.73
- Claude Code v2.1.118
- Claude Code v2.1.71
Report volume, not a defect count: an issue can mention a build without that build having caused the failure. Versions come from the version string in the bug-report template, matched against real published tags.
Do these get fixed?
Median time to close is 4 days across 486 closures. Of the 486 closures with a recorded reason, 13% were closed as completed and 422 as not-planned or duplicate. The most recent completed fix landed in 2026-08.
Workarounds reported by the community
18 of these issues post a workaround someone says worked. The highest-engagement ones:
- [Bug] Anthropic API Error: Internal Server Error (500)
- This error appears to occur with Sonnet. I was able to work around it by using Haiku or Opus with the /model command.
Found in the thread of #11827 · resolved - [Bug] Multiple Claude Code instances freeze on macOS due to file locking conflict
- …lock warning) if useful for the team's investigation. Local workaround: Smart launcher that detects concurrent sessions and uses with a minimal MCP config for secondary sessions, reducing startup surface.
Found in the thread of #13287 · still open - [Bug] Weekly usage reset time displayed incorrectly for Pro plan users
- …gent: While our Support team is unable to manually reset or work around usage limits, you can learn about best practices here ( If you’ve hit a message limit, you’ll need to wait until the reset time, or you can consider…
Found in the thread of #51222 · resolved - Bug: /resume command shows incomplete session list
- …ct directory 4. Many sessions will be missing from the list Workaround: Resume by direct session ID: claude --resume <session-id Suggested fix: Either rebuild the index from .jsonl files when /resume is called, or remove…
Found in the description of #23302 · resolved - [Bug] Status line disappears during "accept edits?" prompt
- …{ "type": "command", "command": "~/.claude/statusline.sh" } Workaround: None available - CLI controls when statusline command is invoked Impact: User loses visibility into context usage, cost, and session stats during in…
Found in the description of #20002 · resolved
Excerpts are quoted from the linked issue so you can judge relevance before opening it. Threads that only ask for a workaround, or report that there is none, are excluded. These are community suggestions, not official guidance from Anthropic — read the full thread before applying one.
Matching issues 101–200
Ranked by community engagement (reactions weighted over comments). Listing the top 300 of 495 matches; the statistics above cover all 495.
- [Bug] Model context window limit errors with insufficient token usage
- [Bug] Image processing fails with "could not process image" error regardless of input
- Absolute grift since Opus was released!
- [Bug] CLI Input Rendering Performance: Slow Character-by-Character Display
- [Bug] Usage metrics reporting inflated token counts for short sessions
- [Bug] Anthropic API Error: 500 Internal Server Error during multiple planning iterations followed by error in compaction
- This appears to be positive feedback rather than a bug report or fea
- [Bug] Anthropic API Error: Internal server error (500)
- [Bug] Context compaction fails with 4+ parallel agents due to low context blocking
- [Bug] Bash commands failing with exit code 1 (silent failure)
- [Bug] Auto-compact fails when conversation exceeds context limit, blocking manual compaction
- [Bug] Context tracking not updated after compression/compact commands
- [Bug] Context Low Error Prevents Compaction and Thread Recovery
- [Bug] Anthropic API Error: Image media type mismatch on image files
- [Bug Report: Incorrect Project Implementation Approach]
- [Feature Request] Add Option to Save Incremental Plan Progress
- [Bug] Hardcoded GitHub URL in extractPRFromCommit() function
- Bug Report - looping subagents
- Invalid JSON Serialization Error in API Request Body
- Invalid OpenAI API Request: Empty Text Content Blocks During Compaction
- [Bug] Excessive quota consumption during normal usage sessions
- [Bug] Anthropic API Error: 500 Internal Server Error
- [Bug] Claude Code 4.7 regression: degraded reasoning and project context loss
- You've hit your limit · resets 1pm (Europe/London)
- Não entendo porque pago o plano maior, pra ficar dando erro...
- [Bug] Unintended file deletion: Claude deleted untracked file outside requested scope
- [Bug] Excessive token consumption in Claude Code sessions
- [Bug] Anthropic API Error: Cannot modify thinking blocks in assistant message
- [Bug] Performance degradation or unexpected behavior with Claude Opus model
- [Bug] Plugin marketplace installation fails silently across projects
- [Bug] Claude continues processing previously attached large image after user requests it be ignored
- [Bug] Auto edits mode not persisting across requests
- [Bug] Claude does not follow explicit bash call instruction in prompt
- [Bug] Anthropic API Error: Duplicate tool names during compaction
- [Bug] `/ide` command fails to connect in new Claude Code instance
- can you please auto-compact and continue please - without waiting for user to hit /compact. In this specific case, I don't know what to do.
- [Bug] Parallel agents share context unexpectedly, requiring excessive compactions to track status
- [Bug] Message feed hangs after large change during compacting with subsequent compact errors
- [Bug] Anthropic API Error: Image media type mismatch for base64 data
- API Error 401: OAuth authentication is currently not allowed for this organization.
- 5-hour limit leaves code in indeterminate state
- Error: Command failed: security find-generic-password
- [Bug] Claude Code commits and pushes changes without explicit user approval
- [Bug] Claude Code hangs during task execution causing excessive token reuse on resume
- [Bug] Don't understand how to create plan, and provide options to clean context
- [Bug] Excessive token consumption causing rate limiting on conversation resume
- You're out of extra usage · resets 2pm (America/Chicago)
- [Bug] /clear command processes asynchronously, accepting input before completion
- [Bug] Post-/compact continue references wrong session context (cross-session memory bleed)
- [Bug] Anthropic API Error: Tool result block missing corresponding tool use block
- [Bug] Session chat history lost unexpectedly during runtime
- [Bug] User message truncated during auto-compact operation
- [Bug] Context limit error shown despite available context remaining
- [Bug] Cursor disappears in feedback mode on macOS Terminal
- [Bug] File operations write to repo root instead of worktree directory
- [Bug] Anthropic API Error after forking conversation
- [BUG] WSL binary executes Bash commands through Windows instead of the environment it was started in making claude code unusable for wsl!
- [Bug] Ralph loop max iterations not respected, stop hook errors with empty iterations
- [Bug] Poor detection of untranslated text in translation tasks
- [Bug] Unintended text injection corrupting code files during edits
- [Bug] Terminal UI flashing/scrolling erratically during manual code review in long chat histories
- [Bug] Anthropic API Error: Duplicate tool names during conversation compaction
- [Bug] Anthropic API Error: Duplicate tool names in compaction request
- [Feature Request] Add compaction quality metrics before triggering next compaction
- [Bug] Anthropic API Error 400 when processing PNG files
- [Bug] Anthropic API Error: Image dimensions exceed maximum allowed size (8000 pixels)
- [BUG] Terminal crash on EISDIR error when Read tool used on directory (Windows)
- I am getting this API error more frequently it seems over...
- [Feature Request] Improve Memory Confirmation Message in Claude Code UI
- [Bug] Unstable Execution: Claude Code Fails to Follow Instructions
- [Bug] Anthropic API Timeout Errors Without Service Disruption
- [Bug] Context Truncation: Claude Sonnet Loses Context Prematurely
- [Bug] Text Rendering Corruption in VSCode Extension UI/bug
- [Bug] File Import Instruction Parsing Failure in Claude Code
- Unclear Checkpoint Summaries in Resume Command
- Claude Thinking Block Validation Error: Missing Required Thinking Block
- I'll help you craft a clear issue title, but I notice the description lacks specific technical details. Without more context about the specific system, error, or environment, I'll create a generic but informative title: "Performance Degradation and Offlin
- Command Execution Failure in Bash Evaluation Mechanism
- [Bug] Claude generates false claims about file contents without verification
- [Bug] File overwrite without confirmation loses user changes
- [Bug] Unable to process request - empty or invalid input provided
- [Bug] Context limit hard-stop miscalibrated at ~30% of 1M window on Opus 4.7[1m]
- [Bug] Acknowledgement loops when using goal feature
- [Bug] Anthropic API Error: Invalid previous_message_id format in conversation context
- [Bug] README file not being updated correctly during code operations
- [Bug] Claude frequently refuses valid tasks and ignores user instructions
- [Bug] Long-session agent degradation: silent audit bypass, state confabulation, and withheld diagnostics
- [Bug] Auto mode bypasses planning mode gates
- [Bug] Claude 3.5 Opus degrades Danish language quality with mixed English words and unexplained code variables
- [Bug] /ultrareview command continues executing after cancellation and ignores spend limits
- [Bug] Sonnet 4.6 1M context unavailable for Max plan account
- [Bug] Anthropic API Error: Dedup stage crash on /ultrareview with no findings and misleading billing
- [Bug] Usage percentage suddenly jumped to 18%
- [Bug] IDE panels not rendering intermittently after startup
- [Bug] Claude avoids complex debugging tasks, provides analysis without actionable solutions
- [Bug] Incorrect error message for usage limit exceeded
- [Bug] Anthropic API Error: Output blocked by content filtering policy
- [Bug] Auto-Compact resumes incorrect conversation state from previous session
- [Feature Request] Add support for creating GitHub issues via Claude Code
- Credit balance is too low