[BUG] Malformed UUID in ~/.claude.json crashes entire TUI on every keystroke
Resolved 💬 2 comments Opened Mar 14, 2026 by shauneccles Closed Apr 12, 2026
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
A malformed or shortened UUID in the oauthAccount block of ~/.claude.json causes an unrecoverable crash on every keystroke in interactive mode. The application launches but crashes immediately upon any user input.
What Should Happen?
Graceful fallback — skip the telemetry metric or log a warning. The config file is user-editable and should tolerate malformed values without crashing the entire application.
Error Messages/Logs
https://gist.github.com/shauneccles/fd8ef0609c2ee8b087bb121076387f46
Steps to Reproduce
- Edit
~/.claude.json - Set a short or empty string for
accountUuidin theoauthAccountblock (e.g."accountUuid": "1") - Run
claude - Type any character — application crashes
Note that organizationUuid does not crash but I am not part of an organisation - unsure if this is also exposed.
Claude Model
Not sure / Multiple models
Is this a regression?
I don't know
Last Working Version
_No response_
Claude Code Version
2.1.76 (Claude Code)
Platform
Anthropic API
Operating System
Windows
Terminal/Shell
Windows Terminal
Additional Information
_No response_
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗