codex - 💡(How to fix) Fix Windows Store: splash stuck on personal account; app/list 402 deactivated_workspace; no sign-out/switch-account path [4 comments, 2 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
openai/codex#19756Fetched 2026-04-28 06:37:42
View on GitHub
Comments
4
Participants
2
Timeline
12
Reactions
1
Timeline (top)
labeled ×5commented ×4cross-referenced ×2closed ×1

Codex Windows Store (OpenAI.Codex MSIX) stayed on the splash / logo screen with no usable path to sign out, switch account, or recover when the backend rejected workspace/app listing. This reproduced on a personal (non-Business) account after subscription changes.

Error Message

Suggested product follow-up (still valuable): Improve in-app handling when app/list returns 402 / deactivated_workspace (clear error + Sign out / Switch account), and document that Store users must clear both the MSIX LocalCache\Roaming\Codex profile and %USERPROFILE%\.codex\ auth files for a true reset.

  • method=app/list fails with JSON-RPC style error, message along the lines of:
  • Show a clear in-app error (billing / plan / workspace state), and

Root Cause

Root cause (client-side): Session tokens for Codex were not only in the Microsoft Store sandbox profile. Clearing/rename of
%LocalAppData%\Packages\OpenAI.Codex_<family>\LocalCache\Roaming\Codex
alone did not sign the user out. The app continued to call app/list with the old session and received 402 Payment Required with deactivated_workspace, which presented as an endless splash.

Fix Action

Fix / Workaround

Resolution (verified)

Status: Reporter confirms the splash / stuck UI issue is resolved after the mitigation below.

RAW_BUFFERClick to expand / collapse

Resolution (verified)

Status: Reporter confirms the splash / stuck UI issue is resolved after the mitigation below.

Root cause (client-side): Session tokens for Codex were not only in the Microsoft Store sandbox profile. Clearing/rename of
%LocalAppData%\Packages\OpenAI.Codex_<family>\LocalCache\Roaming\Codex
alone did not sign the user out. The app continued to call app/list with the old session and received 402 Payment Required with deactivated_workspace, which presented as an endless splash.

Fix that worked: With Codex fully quit, rename (backup) then remove from use:

  • %USERPROFILE%\.codex\auth.json
  • %USERPROFILE%\.codex\cap_sid

On next launch, logs showed account/login/start and no deactivated_workspace in the new session. Completing browser / ChatGPT login finished recovery.

Suggested product follow-up (still valuable): Improve in-app handling when app/list returns 402 / deactivated_workspace (clear error + Sign out / Switch account), and document that Store users must clear both the MSIX LocalCache\Roaming\Codex profile and %USERPROFILE%\.codex\ auth files for a true reset.


Summary

Codex Windows Store (OpenAI.Codex MSIX) stayed on the splash / logo screen with no usable path to sign out, switch account, or recover when the backend rejected workspace/app listing. This reproduced on a personal (non-Business) account after subscription changes.

Environment

  • OS: Windows 11 (x64, AMD64)
  • App: Microsoft Store package OpenAI.Codex (example: OpenAI.Codex_26.422.3464.0_x64__2p2nqsd0c76g0)
  • Install: Store / MSIX, not VS Code extension
  • Account: Personal ChatGPT / OpenAI account (not a workplace org)

Symptoms

  • UI remained on initial splash (logo only) indefinitely from the user's perspective.
  • No clear login / logout / switch account affordance when the app was in this state.
  • After fully clearing only the MSIX profile (%LocalAppData%\Packages\OpenAI.Codex_<family>\LocalCache\Roaming\Codex renamed/deleted), the app still hit 402 + deactivated_workspace on app/list once account/read succeeded with the persisted .codex auth.

Log evidence (desktop log)

Local logs under: %LocalAppData%\Packages\OpenAI.Codex_<family>\LocalCache\Local\Codex\Logs\...

Observed before fix:

  1. App server starts and handshakes OK (not a VC++/DLL crash):

    • stdio_transport_spawned ... codex.exe
    • initialize_handshake_result ... outcome=success
    • Codex CLI initialized
  2. Critical API failure on app/list:

    • method=app/list fails with JSON-RPC style error, message along the lines of:
    • failed to list apps: Request failed with status 402 Payment Required: {"detail":{"code":"deactivated_workspace"}}
    • Followed by Failed to load apps list
  3. Secondary noise (probably not root cause):

    • experimentalFeature/enablement/set fails with unsupported feature enablement workspace_dependencies while the renderer enables workspace_dependencies in Features enabled ... — suggests desktop vs bundled codex.exe feature skew.
  4. Intermittent very slow startup (same session class):

    • [startup][renderer] app routes mounted after ~70000ms in some runs vs ~1-2s in others — splash felt stuck even when the process was alive.

Expected behavior

  • If app/list (or equivalent) returns 402 / deactivated_workspace for a personal account, the client should:
    • Show a clear in-app error (billing / plan / workspace state), and
    • Offer Sign out / Switch account / Retry without requiring manual deletion of profile folders or hidden auth files.

Actual behavior (before fix)

  • Splash / minimal UI with no actionable recovery; clearing only the MSIX LocalCache\Roaming\Codex path was insufficient because %USERPROFILE%\.codex\auth.json and cap_sid still carried the session.

Repro steps (high level)

  1. Install Codex from Microsoft Store on Windows 11 x64.
  2. Sign in with a personal account that hits 402 + deactivated_workspace on app/list (e.g. after plan/workspace transitions).
  3. Observe: stuck splash, no sign-in switch path — until .codex auth files are reset as above.

Request (unchanged)

  1. Product/UX: handle deactivated_workspace / 402 on app listing with a visible recovery path (copy + CTA + sign out).
  2. Client/server: clarify why deactivated_workspace applies to personal accounts and align messaging.
  3. Packaging / docs: document full reset locations: MSIX LocalCache\Roaming\Codex, %USERPROFILE%\.codex\auth.json, %USERPROFILE%\.codex\cap_sid.

Thank you.

extent analysis

TL;DR

To resolve the Codex splash screen issue, rename or remove the %USERPROFILE%\.codex\auth.json and %USERPROFILE%\.codex\cap_sid files after fully quitting the app.

Guidance

  • The root cause is related to session tokens not being cleared from the %USERPROFILE%\.codex\ directory, leading to the app calling app/list with an old session and receiving a 402 Payment Required error with deactivated_workspace.
  • To fix, quit the Codex app and rename or remove the %USERPROFILE%\.codex\auth.json and %USERPROFILE%\.codex\cap_sid files.
  • On the next launch, the app should show a login prompt, allowing the user to sign in again and complete the recovery process.
  • Improving in-app handling of 402 / deactivated_workspace errors and documenting the required reset steps for Store users can help prevent similar issues in the future.

Example

No code snippet is necessary for this issue, as the solution involves file system changes rather than code modifications.

Notes

The provided solution assumes that the issue is specific to the Windows Store version of Codex and may not apply to other installation methods, such as the VS Code extension.

Recommendation

Apply the workaround by renaming or removing the specified files, as this has been verified to resolve the issue. This approach allows users to recover from the stuck splash screen without requiring significant changes to the app or its configuration.

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…

FAQ

Expected behavior

  • If app/list (or equivalent) returns 402 / deactivated_workspace for a personal account, the client should:
    • Show a clear in-app error (billing / plan / workspace state), and
    • Offer Sign out / Switch account / Retry without requiring manual deletion of profile folders or hidden auth files.

Still need to ship something?

×6

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

Back to top recommendations

TRENDING

codex - 💡(How to fix) Fix Windows Store: splash stuck on personal account; app/list 402 deactivated_workspace; no sign-out/switch-account path [4 comments, 2 participants]