You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
ChatGPT Windows Desktop: Codex shows “Unable to load organization settings” before composer/session, while Web + CLI work #48324
Codex inside the ChatGPT Windows desktop app fails immediately with “Unable to load organization settings” and stops before the Codex composer loads. Because the composer never appears, no desktop Codex session is created and I cannot type / to submit feedback or obtain a desktop session ID. Environment
OS: Windows 11
ChatGPT Windows Desktop (MSIX/AppX) version: 26.924.1866.0
Codex CLI present on system: 0.158.0-alpha.2
Auth: ChatGPT OAuth
Steps to reproduce
Launch ChatGPT Windows desktop app
Sign in successfully
Open Codex
Immediately see dialog: “Unable to load organization settings” (Retry / Sign out / Exit)
Retry repeats indefinitely
Expected
Codex loads and shows the composer.
Actual
Codex stops at organization-settings initialization; composer never renders; no desktop session is created.
%USERPROFILE%.codex\sessions contains only CLI sessions (originator: codex_exec); archived_sessions empty (no desktop session is created)
Request
Please advise how to collect Windows desktop app logs/telemetry for this failure mode (when Codex UI fails before session creation), or investigate the desktop org-settings initialization/loading path.
Attachments
Screenshot of the “Unable to load organization settings” dialog available on request.
Reacted by theo-logic, 陈醇, abubakarmeraj, ericxu210106-collab, Hany alsamman, Daniel Dolejška, Charles Astwood, Wissam, Andrei, javisar and 2 more
I hit the same error on Windows with version 26.924.1866.0 , though I’m using API-key auth rather than ChatGPT OAuth.
What worked for me was rebuilding the local diagnostic log database , without resetting or reinstalling the app:
Fully exit the app and any Codex processes.
Back up%USERPROFILE%\.codex and the desktop app profile.
Move these files from.codex into a separate backup folder, keeping them together:
logs_2.sqlite
logs_2.sqlite-wal
logs_2.sqlite-shm
Launch the app normally so it creates a fresh log database.
My old log files totaled about 6.6 GB. After moving them, the app opened normally and my existing conversations were accessible. History checks against the backup matched, and no auth or configuration changes were needed.
Not sure whether the cause was corruption, size, or something else, but the “organization settings” message seems misleading in my case. Might be worth checking whether a local logging initialization failure can trigger this dialog.
Thank you @26716296
For me the solution was very similar, I needed to rebuild state_5.sqlite and thread_history_1.sqlite corrupted by the update.
I use ChatGPT OAuth, not a key.
For me the issue is non ASCII characters in my profile folder. Creating another profile fixes it but properly fixing it for the devs is way easier than having to constantly switch between users or starting it as another user.
Actually I just checked, the update 26.924.2738.0 fixed it for me.
The application displays the "Unable to load organization settings" error and is unusable.
I initially suspected that Windows organization/device-management policies were blocking the application, but I have ruled that out:
AzureAdJoined : NO
EnterpriseJoined : NO
DomainJoined : NO
WorkplaceJoined : NO
CODEX_CLI_PATH is also not set at Process, User, or Machine level.
There are no AppLocker packaged-app execution events.
Windows itself successfully activates the Codex MSIX application. The TWinUI log reports:
Event ID: 1621
OpenAI.Codex_2p2nqsd0c76g0!App
Status: 0
The operation completed successfully.
The AppModel Runtime log shows the following startup sequence:
20:53:48 - Event 210
Desktop AppX container created
20:53:48 - Event 211
Codex process added to the Desktop AppX container
20:53:48 - Event 201
Codex process created successfully
20:53:53 - Event 217
Desktop AppX container destroyed
So Windows successfully launches the application, but Codex terminates approximately five seconds later.
This appears to happen after MSIX activation, during Codex's own startup / account / organization bootstrap rather than because Windows is preventing execution.
I am happy to provide additional sanitized logs if useful.
I can reproduce the same issue on Windows, and it still occurs on the newer Stable build 26.930.6422.0.
Version history tested
Stable 26.930.2377.0 — fails with “Unable to load organization settings”
Stable 26.930.3930.0 — same failure
Stable 26.930.4958.0 — same failure
Stable 26.930.6422.0 — same failure
Beta 26.727.4816.0 — works
Codex CLI — works and successfully completes model requests
Troubleshooting already completed
Retry — no change
Sign out and fresh sign-in — no change
Full uninstall/reinstall of Stable 26.930.6422.0 — no change
Fresh/renamed %USERPROFILE%.codex — no change
Windows Codex policy registry checked — no policy configured
Proxy enabled/disabled — Desktop failure persists
codex app-server daemon start succeeds
app-server 0.160.0 runs successfully
ChatGPT authentication is valid
WebSocket handshake succeeds with HTTP 101
ChatGPT inference endpoint is reachable
Desktop assets CDN (persistent.oaistatic.com) is reachable with HTTP 200
Local Codex databases pass integrity checks
On my recent codex doctor, the app-server was healthy and running, provider endpoints were reachable, and the report showed 0 failures, but Stable Desktop still immediately blocks startup with “Unable to load organization settings”.
The same Windows machine, network, and OpenAI account work with Beta 26.727.4816.0 and Codex CLI, which makes this appear isolated to the Stable Windows Desktop organization/workspace-policy initialization path.
I have also tested multiple Stable updates (2377 → 3930 → 4958 → 6422), and none resolved the issue.
I can provide a redacted codex doctor --json report, screenshots, or additional diagnostics if that would help.
My case was solved by removing approval_policy = "untrusted" from config.toml.
Log: info [AppServerConnection] app_server_connection.closed code=1 connectionId=1 hasReason=true reason="Error: approval_policy = \"untrusted\" is no longer supported; remove this setting" signal=null transport=stdio
I'm on 26.1013.4894.0, and after sleeping my laptop and waking it up, I get this error. A full kill/restart of ChatGPT doesn't fix it.
I don't have approval_policy in my config.toml.
Reinstalling ChatGPT for Windows doesn't help either.
Edit: Alright, looks like something crashed in WSL2. wsl --shutdown and wsl did the trick. I run Codex's agent environment as WSL. The error couldn't have been more cryptic though.
So in my case this does not appear to be a stale-path issue. It looks like the Windows Desktop app is generating a valid-looking notify entry that then causes the next startup to fail.
Workaround:
remove/comment only the notify = [...] line before startup.
It may be worth checking the Windows parsing/initialization path for notify, especially since the app itself regenerates the entry after a successful launch.
Removing only the notify line allows Desktop to start normally.
However, after a successful launch, Codex automatically writes the same notify entry back into config.toml, so the failure returns on the next restart.
The referenced codex-computer-use.exe exists, so this is not a missing-path case.
Case 2: WSL Agent Environment
There is another independent failure mode.
After removing the notify entry, Codex starts successfully when the Agent Environment is Windows native.
However, if I configure:
Settings
→ General
→ Agent Environment
→ WSL
then Codex Desktop again fails on startup with:
Unable to load organization settings
This happens even when the notify entry has already been removed.
Switching the Agent Environment back to Windows native allows the application to start again.
So in my environment:
Windows Native + no notify -> PASS
Windows Native + notify -> FAIL
WSL + no notify -> FAIL
This suggests at least two separate Desktop startup/init paths can trigger the same generic “Unable to load organization settings” dialog:
notify initialization
WSL Agent Environment initialization
It would be very helpful if the Desktop app exposed the actual underlying startup error instead of mapping these unrelated failures to the organization-settings/network dialog.
After saving the file and reopening Codex Desktop, the app started normally and the organization settings error disappeared immediately.
So I can independently confirm that, at least on build 26.1016.62342, a valid notify entry pointing to an existing codex-computer-use.exe can still trigger the organization-settings startup failure.
Removing only that entry resolved the issue without reinstalling, resetting the app, deleting the SQLite database, or signing in again.
Confirmed Windows recovery: remove a stale CODEX_CLI_PATH override
Sharing a successful recovery on October 24, 2026 for another cause of the same misleading "Unable to load organization settings" dialog. This is one possible fix, not a universal fix for every case in this thread.
Environment
Windows 11 x64, Microsoft Store OpenAI.Codex / ChatGPT desktop 26.1021.3705.0
On launch: "Unable to load organization settings"; both Retry and Sign out returned to the dialog immediately
App Repair/Reset, uninstall/reinstall, session sign-out, and temporarily isolating config.toml did not fix it
Sandbox service was running; local database backfill_state was complete
The bundledcodex.exe app-server independently returned OK for initialize, configRequirements/read (requirements: null), and account/read
Decisive desktop startup log in %LOCALAPPDATA%\Codex\Logs:
The user-level CODEX_CLI_PATH environment variable pointed to that externalcodex.exe. The installed desktop app's bundled backend could answer the relevant requests, while the desktop launcher was selecting the override. This strongly implicated the external executable/protocol path (we did not isolate a specific protocol-field incompatibility).
If an unexpected/stale user-level override exists, save its value first, then remove only that user-level override:
$old= [Environment]::GetEnvironmentVariable('CODEX_CLI_PATH','User')
# Save $old somewhere safe before proceeding if you need this custom CLI for other tools.
[Environment]::SetEnvironmentVariable('CODEX_CLI_PATH',$null,'User')
Remove-Item Env:CODEX_CLI_PATH -ErrorAction SilentlyContinue
Restart Windows so newly launched GUI processes inherit the updated environment.
Relaunch the desktop app. In this case the blocking organization-settings dialog disappeared. Initial startup was slow, then sign-in succeeded (a transient Cloudflare 403 at the OAuth consent page cleared after Retry).
Outcome: The desktop app is now working. The user-level override removal followed by reboot was the change correlated with eliminating the startup dialog. Reinstalling the application never removed the persistent Windows environment variable. Please check the resolved backend path and source=override in the actual desktop startup log before applying this workaround; other causes clearly exist.
Suggestion to maintainers: When source=override is active and the startup policy read fails with reason=protocol, surface the selected CLI path and diagnostic reason instead of only generic proxy/network guidance.
Confirmed recovery on Windows Codex Desktop 26.1021.3705.0 (October 25, 2026)
Adding an independent successful confirmation of the CODEX_CLI_PATH workaround.
Symptoms: Codex Windows Desktop was blocked at “Unable to load organization settings”, while the VS Code Codex extension continued to work. Windows reported the installed OpenAI.Codex package as Status: Ok. App repair, restarting, and temporarily isolating config.toml did not resolve the desktop login issue. The machine had an active local proxy listener, but no *PROXY* environment variables or WinHTTP proxy.
Diagnostic finding:CODEX_CLI_PATH was set in both Process and User scopes (not Machine), pointing into an npm installation of @openai/codex, specifically its codex-win32-x64 package. (Personal username and exact path omitted.)
Successful workaround: Back up the User-scoped value, remove only the User-scoped CODEX_CLI_PATH override, clear it in the current shell, and restart Windows. After applying these steps, Codex Desktop launched successfully according to the affected user. No application reinstall, deletion of .codex, or machine-wide environment-variable changes were required.
Suggested product fix: When Desktop detects CODEX_CLI_PATH pointing to an incompatible external CLI, validate the path/version and show a specific, actionable error (or fall back safely to the bundled backend) instead of “Unable to load organization settings”. This is a confirmed workaround for this case, not a universal cause of that generic message.
Same root cause as robertBryant2019 / TiandadidaHGL: a stale user-level CODEX_CLI_PATH. In my case it pointed at an old copied runtime, %LOCALAPPDATA%\OpenAI\Codex\bin<hash>\codex.exe, from June. The desktop log showed source=override followed by reason=protocol. Removing that binary got the app started, because the app-server fell back to the bundled copy. Browser-use still used the override, though (codexCliPathSource=env-override), and it stayed broken until I removed the variable and signed out and back in. The thing to check is CODEX_CLI_PATH; deleting files only works around it.
I encountered the same recurring "Organization settings could not be loaded" error on Codex Desktop for Windows 11.
After extensive troubleshooting, I isolated a workaround that restored the application without reinstalling it or resetting the entire .codex directory.
Controlled test:
Restored a previously working .codex backup.
With the original auth.json, Codex consistently failed to start.
Clicking Sign out closed the dialog temporarily, but the same error returned without prompting for authentication.
I confirmed that auth.json remained unchanged after Sign out.
Renamed only %USERPROFILE%\.codex\auth.json to auth.json.save.
Relaunched Codex, completed a fresh browser-based authentication, and accepted the restart to apply workspace settings.
Codex started successfully, with all other profile files preserved.
This suggests that, at least in some cases, unusable persisted authentication state can trigger the organization-settings error, while the desktop client's Sign out/recovery mechanism fails to replace that state.
I recognize that other users in this issue have identified different causes, and that refreshing authentication did not resolve every reported case.
I documented the detailed findings and workaround in #56680.
Security note:auth.json contains sensitive authentication tokens and should not be shared publicly.
Additional occurrence on Windows, observed on November 17, 2026.
Opening the ChatGPT/Codex desktop app brings up a dialog titled Codex before the workspace or composer loads. The Spanish message is «No se pudo cargar la configuración de la organización» (Unable to load organization settings). The dialog says the app is paused until it can load the settings securely. The available actions are Reintentar, Cerrar sesión, and Salir (Retry, Sign out, Exit).
ChatGPT on the web works in Microsoft Edge on the same computer with the same personal Pro account. The exact desktop build and cause are unconfirmed. The startup block prevents sending feedback or getting a session ID from the desktop composer.
What startup diagnostic information can be collected when the desktop app is blocked at this dialog?
In my case running the Agent Environment through WSL seems to be the problem. Fix was to change "runCodexInWindowsSubsystemForLinux" to "false" inside %USERPROFILE%.codex\config.toml
Activity
26716296 commentedon Sep 26, 2026
I hit the same error on Windows with version 26.924.1866.0 , though I’m using API-key auth rather than ChatGPT OAuth.
What worked for me was rebuilding the local diagnostic log database , without resetting or reinstalling the app:
%USERPROFILE%\.codexand the desktop app profile..codexinto a separate backup folder, keeping them together:logs_2.sqlitelogs_2.sqlite-wallogs_2.sqlite-shmMy old log files totaled about 6.6 GB. After moving them, the app opened normally and my existing conversations were accessible. History checks against the backup matched, and no auth or configuration changes were needed.
Not sure whether the cause was corruption, size, or something else, but the “organization settings” message seems misleading in my case. Might be worth checking whether a local logging initialization failure can trigger this dialog.
theo-logic commentedon Sep 26, 2026
Thank you @26716296
For me the solution was very similar, I needed to rebuild state_5.sqlite and thread_history_1.sqlite corrupted by the update.
I use ChatGPT OAuth, not a key.
Wolterhon commentedon Sep 26, 2026
Didn't help. I deleted the .codex folder altogether, still get this error even after reinstalling the app.
jiaweing commentedon Sep 27, 2026
same issue here even signing out and reinstalling does not fix it
Wolterhon commentedon Sep 27, 2026
For me the issue is non ASCII characters in my profile folder. Creating another profile fixes it but properly fixing it for the devs is way easier than having to constantly switch between users or starting it as another user.
Actually I just checked, the update 26.924.2738.0 fixed it for me.
wnjyw commentedon Sep 27, 2026
OS: Windows 10
Desktop version: 26.924.2738.0
Same account:
Desktop behavior:
Already tried:
Runtime:
Processes:
Wolterhon commentedon Sep 27, 2026
@wnjyw have you tried creating another user with just latin letters in its name and running the app as it? Like testcodex
wnjyw commentedon Sep 27, 2026
tried it——still doesn't work.
Wolterhon commentedon Sep 27, 2026
If I were you I'd try another VPN, it might be it.
jiaweing commentedon Sep 27, 2026
i asked deepseek to troubleshoot for me because there was so many files to look through in the .codex folder like the other solutions
mine was a corrupted config file and its resolved for me
Tatonta commentedon Sep 27, 2026
I can reproduce this issue as well on Codex Desktop for Windows.
Environment:
26.924.2738.0OpenAI.Codex_26.924.2738.0_x64__2p2nqsd0c76g026200The application displays the "Unable to load organization settings" error and is unusable.
I initially suspected that Windows organization/device-management policies were blocking the application, but I have ruled that out:
CODEX_CLI_PATHis also not set at Process, User, or Machine level.There are no AppLocker packaged-app execution events.
Windows itself successfully activates the Codex MSIX application. The TWinUI log reports:
The AppModel Runtime log shows the following startup sequence:
So Windows successfully launches the application, but Codex terminates approximately five seconds later.
This appears to happen after MSIX activation, during Codex's own startup / account / organization bootstrap rather than because Windows is preventing execution.
I am happy to provide additional sanitized logs if useful.
29 remaining items
adamzhangji commentedon Oct 6, 2026
I can reproduce the same issue on Windows, and it still occurs on the newer Stable build 26.930.6422.0.
Version history tested
Troubleshooting already completed
On my recent codex doctor, the app-server was healthy and running, provider endpoints were reachable, and the report showed 0 failures, but Stable Desktop still immediately blocks startup with “Unable to load organization settings”.
The same Windows machine, network, and OpenAI account work with Beta 26.727.4816.0 and Codex CLI, which makes this appear isolated to the Stable Windows Desktop organization/workspace-policy initialization path.
I have also tested multiple Stable updates (2377 → 3930 → 4958 → 6422), and none resolved the issue.
I can provide a redacted codex doctor --json report, screenshots, or additional diagnostics if that would help.
hemalshah28 commentedon Oct 9, 2026
Open
config.tomlin notepad. you can find."$env:USERPROFILE\.codex\config.toml"Change it to
This solves the issue. It looks like if you are using WSL then it has some issue.
jiannanya commentedon Oct 15, 2026
Same error, and I fix it by delete the sqlite files mention above and execute the script below:
gitjake commentedon Oct 15, 2026
My case was solved by removing
approval_policy = "untrusted"fromconfig.toml.Log:
info [AppServerConnection] app_server_connection.closed code=1 connectionId=1 hasReason=true reason="Error: approval_policy = \"untrusted\" is no longer supported; remove this setting" signal=null transport=stdioarchon810 commentedon Oct 22, 2026
I'm on 26.1013.4894.0, and after sleeping my laptop and waking it up, I get this error. A full kill/restart of ChatGPT doesn't fix it.
I don't have
approval_policyin my config.toml.Reinstalling ChatGPT for Windows doesn't help either.
Edit: Alright, looks like something crashed in WSL2.
wsl --shutdownandwsldid the trick. I run Codex's agent environment as WSL. The error couldn't have been more cryptic though.wuji1020 commentedon Oct 22, 2026
I found a deterministic
config.tomltrigger for this issue on Windows.Environment:
26.1016.51333Reproduction:
%USERPROFILE%\.codex\config.toml.notifyentry back intoconfig.toml.notifyentry again.This reproduces every time.
Important detail: the referenced executable is not missing. I verified:
Result:
node_repl.exein the same runtime also exists.So in my case this does not appear to be a stale-path issue. It looks like the Windows Desktop app is generating a valid-looking
notifyentry that then causes the next startup to fail.Workaround:
notify = [...]line before startup.It may be worth checking the Windows parsing/initialization path for
notify, especially since the app itself regenerates the entry after a successful launch.wuji1020 commentedon Oct 22, 2026
I found a second independent trigger for the same “Unable to load organization settings” error on Windows.
Environment:
26.1016.51333I can currently reproduce two separate failure paths.
Case 1: automatically generated
notifyentryIf this entry exists in
%USERPROFILE%\.codex\config.toml:Codex Desktop fails on the next launch with:
Removing only the
notifyline allows Desktop to start normally.However, after a successful launch, Codex automatically writes the same
notifyentry back intoconfig.toml, so the failure returns on the next restart.The referenced
codex-computer-use.exeexists, so this is not a missing-path case.Case 2: WSL Agent Environment
There is another independent failure mode.
After removing the
notifyentry, Codex starts successfully when the Agent Environment is Windows native.However, if I configure:
then Codex Desktop again fails on startup with:
This happens even when the
notifyentry has already been removed.Switching the Agent Environment back to Windows native allows the application to start again.
So in my environment:
This suggests at least two separate Desktop startup/init paths can trigger the same generic “Unable to load organization settings” dialog:
notifyinitializationIt would be very helpful if the Desktop app exposed the actual underlying startup error instead of mapping these unrelated failures to the organization-settings/network dialog.
bruniversamente commentedon Oct 23, 2026
I can confirm the same issue on a newer Codex Desktop build.
Environment
26.1016.62342Symptom
After updating Codex Desktop, the app became stuck on:
Retrying did not resolve it.
I checked the following:
Result:
The local state database exists:
Result:
I also checked the backfill state:
The result showed:
So this was not caused by a stuck database backfill.
My
config.tomlcontained a generatednotifyentry pointing tocodex-computer-use.exe.I verified that the referenced executable actually exists with
Test-Path, and the result was:So this was not a stale or missing executable path.
I then fully closed Codex Desktop, removed only the following
notifyentry from%USERPROFILE%\.codex\config.toml:After saving the file and reopening Codex Desktop, the app started normally and the organization settings error disappeared immediately.
So I can independently confirm that, at least on build
26.1016.62342, a validnotifyentry pointing to an existingcodex-computer-use.execan still trigger the organization-settings startup failure.Removing only that entry resolved the issue without reinstalling, resetting the app, deleting the SQLite database, or signing in again.
robertBryant2019 commentedon Oct 24, 2026
Confirmed Windows recovery: remove a stale
CODEX_CLI_PATHoverrideSharing a successful recovery on October 24, 2026 for another cause of the same misleading "Unable to load organization settings" dialog. This is one possible fix, not a universal fix for every case in this thread.
Environment
OpenAI.Codex/ ChatGPT desktop 26.1021.3705.0config.tomldid not fix itbackfill_statewascompletecodex.exe app-serverindependently returned OK forinitialize,configRequirements/read(requirements: null), andaccount/readDecisive desktop startup log in
%LOCALAPPDATA%\Codex\Logs:The user-level
CODEX_CLI_PATHenvironment variable pointed to that externalcodex.exe. The installed desktop app's bundled backend could answer the relevant requests, while the desktop launcher was selecting the override. This strongly implicated the external executable/protocol path (we did not isolate a specific protocol-field incompatibility).What fixed it
Fully close ChatGPT/Codex.
In PowerShell, check all scopes:
If an unexpected/stale user-level override exists, save its value first, then remove only that user-level override:
Restart Windows so newly launched GUI processes inherit the updated environment.
Relaunch the desktop app. In this case the blocking organization-settings dialog disappeared. Initial startup was slow, then sign-in succeeded (a transient Cloudflare 403 at the OAuth consent page cleared after Retry).
Outcome: The desktop app is now working. The user-level override removal followed by reboot was the change correlated with eliminating the startup dialog. Reinstalling the application never removed the persistent Windows environment variable. Please check the resolved backend path and
source=overridein the actual desktop startup log before applying this workaround; other causes clearly exist.Suggestion to maintainers: When
source=overrideis active and the startup policy read fails withreason=protocol, surface the selected CLI path and diagnostic reason instead of only generic proxy/network guidance.TiandadidaHGL commentedon Oct 25, 2026
Confirmed recovery on Windows Codex Desktop 26.1021.3705.0 (October 25, 2026)
Adding an independent successful confirmation of the
CODEX_CLI_PATHworkaround.Symptoms: Codex Windows Desktop was blocked at “Unable to load organization settings”, while the VS Code Codex extension continued to work. Windows reported the installed
OpenAI.Codexpackage asStatus: Ok. App repair, restarting, and temporarily isolatingconfig.tomldid not resolve the desktop login issue. The machine had an active local proxy listener, but no*PROXY*environment variables or WinHTTP proxy.Diagnostic finding:
CODEX_CLI_PATHwas set in both Process and User scopes (not Machine), pointing into an npm installation of@openai/codex, specifically itscodex-win32-x64package. (Personal username and exact path omitted.)Successful workaround: Back up the User-scoped value, remove only the User-scoped
CODEX_CLI_PATHoverride, clear it in the current shell, and restart Windows. After applying these steps, Codex Desktop launched successfully according to the affected user. No application reinstall, deletion of.codex, or machine-wide environment-variable changes were required.Suggested product fix: When Desktop detects
CODEX_CLI_PATHpointing to an incompatible external CLI, validate the path/version and show a specific, actionable error (or fall back safely to the bundled backend) instead of “Unable to load organization settings”. This is a confirmed workaround for this case, not a universal cause of that generic message.Manuel-Castellon commentedon Oct 26, 2026
Same root cause as robertBryant2019 / TiandadidaHGL: a stale user-level CODEX_CLI_PATH. In my case it pointed at an old copied runtime, %LOCALAPPDATA%\OpenAI\Codex\bin<hash>\codex.exe, from June. The desktop log showed source=override followed by reason=protocol. Removing that binary got the app started, because the app-server fell back to the bundled copy. Browser-use still used the override, though (codexCliPathSource=env-override), and it stayed broken until I removed the variable and signed out and back in. The thing to check is CODEX_CLI_PATH; deleting files only works around it.
javisar commentedon Oct 27, 2026
Are you going to fix it, now the app is unusable. Can you please stop breaking things or adding new shit before fixing old bugs?
psfbc commentedon Nov 13, 2026
I encountered the same recurring "Organization settings could not be loaded" error on Codex Desktop for Windows 11.
After extensive troubleshooting, I isolated a workaround that restored the application without reinstalling it or resetting the entire
.codexdirectory.Controlled test:
.codexbackup.auth.json, Codex consistently failed to start.auth.jsonremained unchanged after Sign out.%USERPROFILE%\.codex\auth.jsontoauth.json.save.This suggests that, at least in some cases, unusable persisted authentication state can trigger the organization-settings error, while the desktop client's Sign out/recovery mechanism fails to replace that state.
I recognize that other users in this issue have identified different causes, and that refreshing authentication did not resolve every reported case.
I documented the detailed findings and workaround in #56680.
Security note:
auth.jsoncontains sensitive authentication tokens and should not be shared publicly.santi62148 commentedon Nov 17, 2026
Additional occurrence on Windows, observed on November 17, 2026.
Opening the ChatGPT/Codex desktop app brings up a dialog titled Codex before the workspace or composer loads. The Spanish message is «No se pudo cargar la configuración de la organización» (Unable to load organization settings). The dialog says the app is paused until it can load the settings securely. The available actions are Reintentar, Cerrar sesión, and Salir (Retry, Sign out, Exit).
ChatGPT on the web works in Microsoft Edge on the same computer with the same personal Pro account. The exact desktop build and cause are unconfirmed. The startup block prevents sending feedback or getting a session ID from the desktop composer.
What startup diagnostic information can be collected when the desktop app is blocked at this dialog?
mohub6 commentedon Nov 17, 2026
In my case running the Agent Environment through WSL seems to be the problem. Fix was to change "runCodexInWindowsSubsystemForLinux" to "false" inside %USERPROFILE%.codex\config.toml