Skip to content

[Windows Desktop 26.1021.2667.0] Cannot load organization settings; Retry and Sign out fail #56680

Open

Description

@shine0509h-pixel

Environment

  • Codex Windows desktop app: 26.1021.2667.0
  • Windows desktop; ChatGPT Pro account
  • Date: 2026-10-24

Problem

On startup, Codex repeatedly fails to load organization settings and becomes unusable. Previously this error occurred on virtually every launch but a single click on Retry always resolved it. Today, Retry no longer works. Clicking Sign out also displays the same error.

Troubleshooting already performed (all unsuccessful)

  • Retry
  • Sign out
  • Force-close all Codex processes and relaunch
  • Windows app Repair
  • Remove notify entry from config.toml
  • Rename .codex to allow fresh configuration
  • Checked Windows Application event errors and common log locations; no relevant logs found

Expected

App loads organization settings and opens normally.

Actual

App stays blocked on organization settings error, including after clicking Sign out.

Please investigate this regression and provide a verified recovery path that preserves local project data and conversations. Screenshots can be provided on request. No credentials or local configuration paths are included here.

Activity

  1. added
    bug
    app
    windows-os
    auth
    on Oct 24, 2026
  2. shine0509h-pixel commented on Oct 24, 2026

    @shine0509h-pixel
    Author

    Additional troubleshooting update (2026-10-24): The user has now also performed a full Windows app Reset, and the same organization-settings loading error persists. This is in addition to Windows Repair, sign-out, retry, process restart, removing notify, and starting with a fresh .codex directory. Please investigate an app-side authentication/organization bootstrap failure and provide a data-preserving workaround.

  3. shine0509h-pixel commented on Oct 24, 2026

    @shine0509h-pixel
    Author

    Additional diagnostic results (2026-10-24):

    • Running Restart-Service -Name "CodexSandboxService.OpenAI.Codex" -ErrorAction Stop in elevated PowerShell completed without error, but the organization settings loading failure persisted.
    • Get-AppxPackage -AllUsers *Codex* | Select-Object Name, Version, Status, InstallLocation returned only OpenAI.Codex, version 26.1021.2667.0, Status: Ok. No OpenAI.CodexPrimaryRuntime package appeared in the results.
    • Windows app Reset also did not help.

    This resembles #56620, which also reported the Primary Runtime package absent after reinstall, but we cannot establish that absence as the root cause. Could maintainers confirm whether the separate Primary Runtime package is expected for this build, and provide a supported diagnosis/recovery procedure?

  4. psfbc commented on Nov 13, 2026

    @psfbc

    Workaround confirmed: renaming auth.json restores Codex Desktop

    I have been investigating recurring "Organization settings could not be loaded" errors in Codex Desktop on Windows 11.

    After several occurrences and extensive troubleshooting, I isolated a workaround that successfully restored the application without reinstalling it or resetting the entire .codex directory.

    Environment

    • Windows 11
    • Codex Desktop 26.1027.3384.0
    • ChatGPT organizational account
    • Web client remained accessible throughout the failures.

    Observations

    • Retry did not reliably resolve the error.
    • Clicking Sign out closed the error dialog, but the Codex process remained running and the same dialog reappeared.
    • Comparing auth.json before and after Sign out showed no changes.
    • Restoring multiple previously working .codex backups did not resolve the issue.
    • The problem persisted after a Windows reboot.

    Confirmed workaround

    1. Completely close Codex Desktop.
    2. Navigate to %USERPROFILE%\.codex.
    3. Rename auth.json to auth.json.save.
    4. Launch Codex Desktop again.
    5. Complete the new browser-based authentication.
    6. Accept the requested restart to apply workspace settings.

    Result: Codex Desktop started successfully and became fully operational.

    The same .codex profile that previously failed was used, with only auth.json renamed.

    Comparing the old and newly generated authentication files showed changes to the access token, refresh token, ID token, login owner identifier, and last refresh timestamp.

    Possible underlying issue

    The client appears unable to recover correctly from certain unusable persisted authentication states. The Sign out action in the error dialog does not appear to invalidate or replace that state reliably.

    The exact reason the previous credentials became unusable remains unknown.

    This workaround may help other affected users and may provide a useful direction for investigating the authentication recovery logic.

    Security note: auth.json contains sensitive authentication tokens and must not be shared publicly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    appauthbugwindows-os

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions