Answer: At the start of an interactive session Claude Code shows a dialog that lets you fix the file with Claude's help, exit, or continue without the broken settings. After you continue, run `/status` to see the affected files and `claude doctor` for the details of each error. Status: Confirmed Entry: tool/claude-code/troubleshooting/fix-broken-settings-file Revision: 2 Digest: sha256:bdb146c5d91618b0 (changes whenever the content changes) Timeline: Created: 2026-11-13T03:05:51Z Last changed: 2026-11-20T12:25:30Z (Backup path: — → ~/.claude/backups/.claude.json.corrupted.) Last verified: 2026-11-20T12:25:30Z Next check: 2026-11-21T12:25:30Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of Fix option | fix the file with Claude's help | [1] | 2026-11-20 Diagnostic command | /status | [1] | 2026-11-20 Details command | claude doctor | [1] | 2026-11-20 Backup path | ~/.claude/backups/.claude.json.corrupted. | [1] | 2026-11-20 Sources: [1] Anthropic. "Settings files and precedence". https://code.claude.com/docs/en/settings.md Role: primary. Accessed: 2026-11-20T12:25:30Z Quote: "shows a dialog that lets you fix the file with Claude's help, exit, or continue without the broken settings" (Supports: Fix option) Quote: "run `/status` to see the affected files" (Supports: Diagnostic command) Quote: "`claude doctor` for the details of each error" (Supports: Details command) Quote: "Claude Code copies the broken file to `~/.claude/backups/.claude.json.corrupted.`" (Supports: Backup path) Published: 2026-11-20T02:52:44Z Snapshot SHA-256: d94a7f2f3ef96fd05e0246aacc0697240e1d418c366536d6eabfb3761c9713d7 (captured 2026-11-20T12:25:28Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. Cross-check: not-available at 2026-11-20T12:25:30Z. No independent second source is configured for this entry Last successful check: 2026-11-20T12:25:30Z Last attempt: 2026-11-20T12:25:30Z Notes and limitations: Extracted automatically from a single official source (section "Fix a broken settings file"). Related: https://latestn.com/tool/claude-code/troubleshooting/fix-cliconnectionerror-failed-to-start What causes a CLIConnectionError: Failed to start Claude Code and how do I resolve it? https://latestn.com/tool/claude-code/troubleshooting/fix-clinotfounderror How do I fix the CLINotFoundError when using the Claude Code Agent SDK? https://latestn.com/tool/claude-code/troubleshooting/fix-command-not-found How do I fix 'command not found: claude' after installing Claude Code? https://latestn.com/tool/claude-code/troubleshooting/find-plugin-on-disk How do I find where a Claude Code plugin is installed on disk? https://latestn.com/tool/claude-code/troubleshooting/fix-500-internal-server-error How do I fix the Claude Code "API Error: 500 Internal server error"? https://latestn.com/tool/claude-code/troubleshooting/fix-auto-compact-thrashing How do I resolve auto-compaction thrashing errors in Claude Code? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-20T12:25:30Z | changed | Backup path: — → ~/.claude/backups/.claude.json.corrupted. | [1] 2026-11-20T12:25:30Z | changed | Details command: — → claude doctor | [1] 2026-11-20T12:25:30Z | changed | Diagnostic command: — → /status | [1] 2026-11-20T12:25:30Z | changed | Fix option: — → fix the file with Claude's help | [1] 2026-11-20T12:25:30Z | changed | backup path: ~/.claude/backups/.claude.json.corrupted. → — | [1] 2026-11-20T12:25:30Z | changed | diagnostic command: claude doctor → — | [1] 2026-11-20T12:25:30Z | changed | status command: /status → — | [1] 2026-11-20T12:25:30Z | changed | fix option: fix the file with Claude's help → — | [1] 2026-11-13T03:05:51Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/claude-code/troubleshooting/fix-broken-settings-file/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/claude-code/troubleshooting/fix-broken-settings-file POST: https://latestn.com/dispute/tool/claude-code/troubleshooting/fix-broken-settings-file with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/claude-code/troubleshooting/fix-broken-settings-file?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I fix a broken Claude Code settings file? Revision 2, last verified 2026-11-20T12:25:30Z. https://latestn.com/tool/claude-code/troubleshooting/fix-broken-settings-file (accessed 2026-11-21T10:01:03Z). @misc{LatestN_tool_claude_code_troubleshooting_fix_broken_settings_file_r2, title = {How do I fix a broken Claude Code settings file?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/claude-code/troubleshooting/fix-broken-settings-file}}, note = {Revision 2; digest sha256:bdb146c5d91618b0; last verified 2026-11-20T12:25:30Z; accessed 2026-11-21T10:01:03Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/claude-code/troubleshooting/fix-broken-settings-file