Failed to refresh OAuth token: another Claude Code process is refreshing it or exited mid-refresh
- Cause: your machine or config
- CLI
- Issue #91708
- Issue #92330
- Issue #95822
- Issue #105729
Also covered in this guide
Could not refresh your login because another Claude Code process is refreshing it (or exited mid-refresh)- Cause: your machine or config
- CLI
EPERM: operation not permitted, mkdir- Cause: your machine or config
- Issue #91708
Claude Code's login isn't rejected: another process holds the refresh lock in ~/.claude. Retry in a minute; if nothing holds it, remove the empty lock folder.