claude-code - 💡(How to fix) Fix Code tab not working [1 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
anthropics/claude-code#45545Fetched 2026-04-09 08:02:53
View on GitHub
Comments
0
Participants
1
Timeline
3
Reactions
0
Author
Participants
Timeline (top)
labeled ×3

Error Message

LOG ERROR (every single attempt):

Error Messages/Logs

Account: [email protected] Organization: Mission City Software (Team plan, Primary owner) Device: MacBook Air, Apple Silicon (arm64), macOS Claude Desktop version: 1.1.1348.0 Claude Code binary version: 2.1.92 ISSUE: Claude Desktop Code tab has been completely non-functional for approximately 5 weeks. The Code tab UI loads but never responds. Every session attempt fails immediately. LOG ERROR (every single attempt): Claude Code process exited with code 1 unhealthy cycle (0s, hadFirstResponse=false, reason=no_response) WHAT HAS BEEN RULED OUT after weeks of diagnosis: Binary works perfectly when invoked manually from Terminal Binary is fully initialized and authenticated (shows "Welcome back Joe, Mission City Software, Claude Team") OAuth token lookup succeeds every time — auth is not the issue CLAUDE_CODE_MAX_OUTPUT_TOKENS env var — removed from all shell configs and snapshots ANTHROPIC_API_KEY env var — not set Corrupted install — full nuclear wipe of all Claude data performed multiple times Account issue — other Mission City Software team members work fine Multiple accounts tested — both Google and non-Google accounts fail identically after first login PATTERN: Works on very first login after a full wipe, breaks permanently on any subsequent session restart. This is a Desktop session restart bug. SECONDARY ERRORS in unknown-window.log: ["account_profile"] data is undefined Access to fetch at 'https://a-cdn.claude.ai/params/sri/EEA5F558...' blocked by CORS policy SUPPORT HISTOR LOG ERROR (every single attempt):

RAW_BUFFERClick to expand / collapse

Preflight Checklist

  • I have searched existing issues and this hasn't been reported yet
  • This is a single bug report (please file separate reports for different bugs)
  • I am using the latest version of Claude Code

What's Wrong?

Account: [email protected] Organization: Mission City Software (Team plan, Primary owner) Device: MacBook Air, Apple Silicon (arm64), macOS Claude Desktop version: 1.1.1348.0 Claude Code binary version: 2.1.92 ISSUE: Claude Desktop Code tab has been completely non-functional for approximately 5 weeks. The Code tab UI loads but never responds. Every session attempt fails immediately. LOG ERROR (every single attempt): Claude Code process exited with code 1 unhealthy cycle (0s, hadFirstResponse=false, reason=no_response) WHAT HAS BEEN RULED OUT after weeks of diagnosis:

Binary works perfectly when invoked manually from Terminal Binary is fully initialized and authenticated (shows "Welcome back Joe, Mission City Software, Claude Team") OAuth token lookup succeeds every time — auth is not the issue CLAUDE_CODE_MAX_OUTPUT_TOKENS env var — removed from all shell configs and snapshots ANTHROPIC_API_KEY env var — not set Corrupted install — full nuclear wipe of all Claude data performed multiple times Account issue — other Mission City Software team members work fine Multiple accounts tested — both Google and non-Google accounts fail identically after first login

PATTERN: Works on very first login after a full wipe, breaks permanently on any subsequent session restart. This is a Desktop session restart bug. SECONDARY ERRORS in unknown-window.log: ["account_profile"] data is undefined Access to fetch at 'https://a-cdn.claude.ai/params/sri/EEA5F558...' blocked by CORS policy SUPPORT HISTORY: 20+ support tickets submitted since March 2026. No human response received. BBB complaint filed. Refund refused. REQUEST: Engineering investigation of how Desktop spawns the Claude Code binary on session restart. The binary is healthy — the issue is in Desktop's invocation pipeline.

What Should Happen?

code tab should work

Error Messages/Logs

Steps to Reproduce

Nothing to reproduce - the code tab is not working - see the

Claude Model

None

Is this a regression?

Yes, this worked in a previous version

Last Working Version

No response

Claude Code Version

Account: [email protected] Organization: Mission City Software (Team plan, Primary owner) Device: MacBook Air, Apple Silicon (arm64), macOS Claude Desktop version: 1.1.1348.0 Claude Code binary version: 2.1.92 ISSUE: Claude Desktop Code tab has been completely non-functional for approximately 5 weeks. The Code tab UI loads but never responds. Every session attempt fails immediately. LOG ERROR (every single attempt): Claude Code process exited with code 1 unhealthy cycle (0s, hadFirstResponse=false, reason=no_response) WHAT HAS BEEN RULED OUT after weeks of diagnosis: Binary works perfectly when invoked manually from Terminal Binary is fully initialized and authenticated (shows "Welcome back Joe, Mission City Software, Claude Team") OAuth token lookup succeeds every time — auth is not the issue CLAUDE_CODE_MAX_OUTPUT_TOKENS env var — removed from all shell configs and snapshots ANTHROPIC_API_KEY env var — not set Corrupted install — full nuclear wipe of all Claude data performed multiple times Account issue — other Mission City Software team members work fine Multiple accounts tested — both Google and non-Google accounts fail identically after first login PATTERN: Works on very first login after a full wipe, breaks permanently on any subsequent session restart. This is a Desktop session restart bug. SECONDARY ERRORS in unknown-window.log: ["account_profile"] data is undefined Access to fetch at 'https://a-cdn.claude.ai/params/sri/EEA5F558...' blocked by CORS policy SUPPORT HISTOR

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

Account: [email protected] Organization: Mission City Software (Team plan, Primary owner) Device: MacBook Air, Apple Silicon (arm64), macOS Claude Desktop version: c Claude Code binary version: 2.1.92 ISSUE: Claude Desktop Code tab has been completely non-functional for approximately 5 weeks. The Code tab UI loads but never responds. Every session attempt fails immediately. LOG ERROR (every single attempt): Claude Code process exited with code 1 unhealthy cycle (0s, hadFirstResponse=false, reason=no_response) WHAT HAS BEEN RULED OUT after weeks of diagnosis:

Binary works perfectly when invoked manually from Terminal Binary is fully initialized and authenticated (shows "Welcome back Joe, Mission City Software, Claude Team") OAuth token lookup succeeds every time — auth is not the issue CLAUDE_CODE_MAX_OUTPUT_TOKENS env var — removed from all shell configs and snapshots ANTHROPIC_API_KEY env var — not set Corrupted install — full nuclear wipe of all Claude data performed multiple times Account issue — other Mission City Software team members work fine Multiple accounts tested — both Google and non-Google accounts fail identically after first login

PATTERN: Works on very first login after a full wipe, breaks permanently on any subsequent session restart. This is a Desktop session restart bug. SECONDARY ERRORS in unknown-window.log: ["account_profile"] data is undefined Access to fetch at 'https://a-cdn.claude.ai/params/sri/EEA5F558...' blocked by CORS policy SUPPORT HISTORY: 20+ support tickets submitted since March 2026. No human response received. BBB complaint filed. Refund refused. REQUEST: Engineering investigation of how Desktop spawns the Claude Code binary on session restart. The binary is healthy — the issue is in Desktop's invocation pipeline.

extent analysis

TL;DR

The issue is likely due to how the Claude Desktop spawns the Claude Code binary on session restart, and a potential fix could involve investigating and modifying this invocation pipeline.

Guidance

  • Investigate the Desktop's invocation pipeline to identify any issues with how the Claude Code binary is spawned on session restart.
  • Verify that the CLAUDE_CODE_MAX_OUTPUT_TOKENS and ANTHROPIC_API_KEY environment variables are not set or interfering with the binary invocation.
  • Check the unknown-window.log for any other errors or clues that could indicate the root cause of the issue, such as the ["account_profile"] data is undefined error.
  • Consider testing the binary invocation manually using the Terminal to see if it works as expected, and compare this with the invocation pipeline used by the Desktop.

Example

No specific code example can be provided without more information on the invocation pipeline, but investigating the pipeline and verifying environment variables can be a good starting point.

Notes

The issue seems to be specific to the Desktop session restart, and the binary works fine when invoked manually. This suggests that the problem lies in how the Desktop interacts with the binary on restart.

Recommendation

Apply a workaround by investigating and modifying the invocation pipeline, as the issue seems to be related to how the Desktop spawns the Claude Code binary on session restart. This could involve debugging the pipeline or modifying the environment variables to ensure a clean invocation.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING