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
appIssues related to the Codex desktop appapp-serverIssues involving app server protocol or interfacesauthIssues related to authentication and accountsbugSomething isn't workingwindows-osIssues related to Codex on Windows systems
26.1027.3384.0 (Microsoft Store MSIX), bundled app-server codex-cli 0.166.0-alpha.5.1
What subscription do you have?
ChatGPT Free. The ChatGPT web app works normally on this account (history, projects, settings all load).
What platform?
Windows 11, build 10.0.26300, x64
What issue are you seeing?
The desktop app always shows "Account authentication unavailable - the desktop app cannot obtain usable account authentication from the local Codex service (app-server)". The chat list never loads; account/usage screens are empty.
Desktop log: [chatgpt-account-lookup] accountInfoHttpStatus=0 authenticatedAccountPresent=false failureType=account_info_request_failed then desktop_account_auth.banner_shown; every /wham/* and /pins call fails with a locally generated 432 "Workspace routing is unavailable".
Same token works for the backend: /backend-api/me 200, /backend-api/accounts/check 200, POST /backend-api/codex/responses 200 (model answers). /backend-api/wham/usage 200 but returns "account_id": "".
Steps to reproduce
Sign in with this account.
Banner appears, chat list stays on skeletons.
Restart app-server / app / sign out and in / codex login --device-auth (fresh tokens still lack the claim) / Windows app reset (fresh profile) - all identical.
Expected behavior
Credentials should include chatgpt_account_id, or the client should fall back to /backend-api/accounts/check.
Session id 6b5355ab-022d-4f14-9a92-62a09493b3f5, installation_id 1e8dd926-5dd0-4e56-aa87-21fe367c6158. Related: #48571#52112#58308
Additional independent reproduction on Windows 11 (2026-11-11, UTC+8).
Windows desktop package: OpenAI.Codex 26.1103.7773.0; OS build 10.0.26300; local app-server runtime: codex-cli 0.167.0-alpha.3.2.
The desktop window and sidebar load, and conversation titles are visible, but the contents of both current and older chats remain in a loading state. The banner says "Account authentication unavailable" and reports that the desktop cannot obtain usable account authentication from the local Codex app-server.
Desktop log reports desktop_account_auth.unavailable reason=account_info_request_failed, [chatgpt-account-lookup] ... failureType=account_info_request_failed authenticatedAccountPresent=false, and repeated sa_server_request_failed ... Workspace routing is unavailable. A desktop_fetch_auth_401 for POST https://chatgpt.com/ces/v1/rgstr appeared after reauthentication.
A separately launched local app-server responds to account/read with account.type=chatgpt, planType=unknown, and workspaceRouting=null. This holds with both refreshToken=false and refreshToken=true. getAuthStatus(includeToken=true) confirms a token is returned; inspection of claim names only shows that chatgpt_account_id, chatgpt_user_id, and chatgpt_plan_type are absent from the issued token. The local tokens.account_id metadata is also null.
Completed browser sign-in twice: once via the bundled CLI login and once via account/login/start with type=chatgpt (non-streamlined flow). Both succeeded and updated local credentials, but the missing claims, banner, and chat-loading failure persisted. A full desktop restart did not help. Microsoft Store reports no newer package version. Local history databases pass SQLite quick checks.
Could maintainers investigate why successful ChatGPT OAuth on this account yields planType=unknown / workspaceRouting=null and advise a supported recovery path for the Windows desktop client? No email address, account identifier, OAuth token, or unredacted log is included here.
Follow-up on the independent Windows 11 reproduction above. The other user's report matches our symptoms and account-routing diagnostics.
Confirmed after a Windows app reset on 2026-11-12 (UTC+8), on OpenAI.Codex 26.1103.7773.0 / Windows 11 build 10.0.26300:
Sign-in completed with the same ChatGPT account, and the web app remained usable. The orange "Account authentication unavailable" banner and loading placeholders in the desktop app persisted after the reset.
We repeated the test on a mobile hotspot with no active Windows VPN or system proxy. TCP 443 to chatgpt.com and auth.openai.com was reachable; this check alone does not establish whether secure WebSocket requests succeeded.
The post-reset desktop log shows account/read returning to the client, followed by desktop_account_auth.unavailable reason=account_info_request_failed. [chatgpt-account-lookup] reports accountInfoHttpStatus=0, accountsHttpStatus=0, and authenticatedAccountPresent=false. Requests to /wham/onboarding/context and /wham/usage fail with locally reported HTTP 432, "Workspace routing is unavailable".
OpenAI Support stated by email that the personal ChatGPT workspace exists and membership is active. We have sent them a new post-reset screen recording and a sanitized excerpt of the relevant desktop log. No recovery path has been provided yet.
The installed desktop package is now 26.1106.6628.0. The user retested it and confirms the same orange authentication banner and indefinitely loading chats remain. The detailed log excerpt above is from the confirmed post-reset reproduction on 26.1103.7773.0; we have not yet captured equivalent logs from 26.1106.6628.0. No account identifiers, tokens, or raw logs are included in this public comment.
Codex CLI can authenticate and make model requests.
Codex Desktop remains stuck loading account information and displays the account authentication unavailable warning.
Repeated OAuth login attempts do not resolve the problem.
Independent local diagnostics
My local read-only investigation found:
The OAuth JWT contains the https://api.openai.com/auth claim object.
The following claims are missing:
chatgpt_account_id
chatgpt_user_id
chatgpt_plan_type
Local tokens.account_id is empty.
The app-server account/read response reports:
account.type = chatgpt
planType = unknown
workspaceRouting = null
The Electron frontend subsequently reports:
Workspace routing is unavailable
HTTP 432
The backend account-check endpoint was also tested successfully (HTTP 200), suggesting that the backend can identify the account even though the desktop app-server does not obtain the workspace identity from the saved OAuth credentials.
Troubleshooting performed
Repeated browser OAuth sign-ins.
Codex CLI authentication tests.
Windows application repair and reset.
Complete desktop application uninstall and reinstall.
Different proxy clients and network routes.
App-server runtime version testing, followed by restoration of the original bundled version.
The issue persists.
Additional observation
Both proxy exits belong to different ASNs, but both are data-center networks. The same failure reproduces with both. I cannot establish whether IP reputation has any relationship to the issue.
Requested investigation
Could the maintainers investigate:
Why successful OAuth authentication produces credentials without chatgpt_account_id?
Why /backend-api/accounts/check can identify the account while account/read returns workspaceRouting: null?
Whether the issue is related to account provisioning, OAuth claim issuance, or desktop workspace discovery?
Whether there is a supported server-side recovery procedure?
Whether a fallback account-discovery mechanism can be implemented for desktop clients?
This is an independent reproduction on a ChatGPT Plus account, with a newer bundled app-server version than the original report.
I can provide sanitized logs, the account/read response, application version information, and claim-presence checks if needed.
No OAuth tokens, refresh tokens, cookies, passwords, email addresses, or full account identifiers are included in this report.
@gordonkeenan@noir406 Thank you both for the detailed independent reproductions. Have either of you found a working fix or workaround since posting? If so, could you share the exact steps and the desktop/app-server versions that worked?
I still see the authentication warning and indefinitely loading chats on desktop version 26.1106.6628.0. I have also been following up with OpenAI Support by email. They confirmed that my personal ChatGPT workspace exists and my membership is active, reviewed the sanitized diagnostics I sent, and said the case had been escalated to a specialist team. I sent another email asking for an update on November 16, but have not received a recovery procedure yet. I will share any confirmed solution here if they provide one.
Both bundled and standalone CLI versions are 0.169.1.
However, Codex Desktop cannot retrieve account authentication information.
Relevant logs:
account_info_request_failed
accountInfoHttpStatus=0
accountsHttpStatus=0
authenticatedAccountPresent=false
Workspace routing is unavailable
/wham/usage returns status 432
The desktop app cannot load existing conversations, and new chats remain stuck loading.
I have already tested proxy settings, Clash Plus, TUN mode, environment variables, and certificate configuration. I also reinstalled the application, but the issue persists.
In-app feedback submission also fails with "Unable to verify feedback permissions".
Could the engineering team investigate this issue?
Adding a data point on plan tier: my original report (this issue) is a Free-plan account, and noir406 confirms the identical failure on Plus. So plan tier does not appear to be the variable.
Additional evidence from my machine (Windows 11 build 10.0.26300, desktop 26.1027.3384.0, bundled app-server codex-cli 0.166.0-alpha.5.1):
Codex CLI works with the very same credentials. Running codex exec against the same ~/.codex/auth.json returns normally and can create and modify files.
The desktop app-server returns account.type=chatgpt, planType=unknown, workspaceRouting=null.
chatgpt_account_id, chatgpt_user_id and chatgpt_plan_type are absent from both the id_token and the access_token; tokens.account_id is null.
POST /backend-api/codex/responses with the same access token returns 200 and the model answers, so the token itself is usable.
Because the CLI and the desktop app share one credential store, this looks confined to the desktop's account/workspace discovery path rather than to OAuth claim issuance as such.
Status update from another affected Windows user (2026-11-28, UTC+8):
My last confirmed test on desktop version 26.1106.6628.0 still showed the orange "Account authentication unavailable" banner and conversations loading indefinitely after sign-in. The detailed sanitized logs and recording previously sent to support came from the post-reset reproduction on version 26.1103.7773.0; I have not captured equivalent logs from the newer version.
OpenAI Support confirmed that my personal ChatGPT workspace and membership are active and acknowledged receipt of the sanitized diagnostics and recording. On November 12, support said escalation to a specialist team had been approved. On November 19, support said the case would be escalated for further technical review, with no confirmed fix or estimated time for the next update.
I emailed support on November 24 to ask whether a technical specialist had actually been assigned or whether the handoff was still pending. As of November 28, I have not received an answer to that specific question. Support did reply earlier; the November 24 follow-up is the one still unanswered.
The additional independent reports here are useful, but the root cause and a supported recovery path remain unconfirmed. If anyone has found a working fix or received guidance from the engineering team, could you share the exact desktop/app-server versions and steps? I will post any concrete guidance I receive from support.
Same issue reproduced on Windows Codex Desktop 26.1120.6357.0 (bundled codex-cli 0.171.0-alpha.13.2).
Symptoms:
"Account authentication unavailable" banner; account_info_request_failed with accountInfoHttpStatus=0
Workspace routing is unavailable (432) from the renderer
~/.codex/auth.json has empty tokens.account_id; the access_token lacks chatgpt_account_id, chatgpt_user_id, chatgpt_plan_type
Codex CLI works; chatgpt.com works; /backend-api/accounts/check returns the account id for the same token
accounts/check for this account returns workspace_type: null and organization_id: null, i.e. the business-layer account record exists but the auth-layer workspace binding looks incomplete
Workaround that restored the desktop on this machine (confirmed on a second account, as also reported in #62572):
Fully quit the desktop.
Launch the bundled app-server (app\resources\codex.exe app-server --stdio) and call the experimental APIs: initialize (capabilities.experimentalApi=true) → accountSession/list → accountSession/switch {sessionId, accountId, allowBrowserLogin:false} → account/read.
After the switch account/read returns a non-null workspaceRouting {chatgptAccountId, backendOrigin, accountRoutingOverride}.
IMPORTANT: this is a local client-side workaround, NOT a fix.
The root cause is still on the server side: the OAuth token for this account is issued without workspace claims even though the business-layer account data exists.
The client also does not automatically select a default workspace when its local state is empty, and does not fall back to /backend-api/accounts/check.
Signing out and signing in again resets tokens.account_id to empty and the banner returns; the switch must be re-applied after every sign-in.
The desktop's durable-host WebSocket client (ws.chatgpt.com) does not use the system proxy; a TUN-mode proxy is required for it, otherwise it fails with "WebSocket was closed before the connection was established" even though CLI and HTTP requests work.
Suggested fixes:
Server: make sure workspace claims (chatgpt_account_id etc.) are issued for accounts whose auth-layer workspace binding is incomplete/migrated.
Client: if workspaceRouting is null, fall back to /backend-api/accounts/check to resolve the account id, instead of synthesizing 432.
Client: auto-select the account's default/personal workspace on first launch when none is selected, rather than requiring an explicit accountSession/switch.
appIssues related to the Codex desktop appapp-serverIssues involving app server protocol or interfacesauthIssues related to authentication and accountsbugSomething isn't workingwindows-osIssues related to Codex on Windows systems
Activity
github-actions commentedon Nov 4, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
GlebSidoryn commentedon Nov 5, 2026
I'm experiencing the same issue with Codex Desktop on Windows.
Version: 26.1029.7803.0
Symptoms:
Diagnostics:
workspaceRouting: nullaccount_info_request_failedauthenticatedAccountPresent=falsechatgpt_account_idandchatgpt_user_idclaims in the inspected tokens.The issue persists after successfully signing in again using a different VPN.
Please let me know if additional diagnostics would help. I can provide redacted logs if needed.
yezidaydayup-lab commentedon Nov 10, 2026
Additional independent reproduction on Windows 11 (2026-11-11, UTC+8).
OpenAI.Codex 26.1103.7773.0; OS build10.0.26300; local app-server runtime:codex-cli 0.167.0-alpha.3.2.desktop_account_auth.unavailable reason=account_info_request_failed,[chatgpt-account-lookup] ... failureType=account_info_request_failed authenticatedAccountPresent=false, and repeatedsa_server_request_failed ... Workspace routing is unavailable. Adesktop_fetch_auth_401forPOST https://chatgpt.com/ces/v1/rgstrappeared after reauthentication.account/readwithaccount.type=chatgpt,planType=unknown, andworkspaceRouting=null. This holds with bothrefreshToken=falseandrefreshToken=true.getAuthStatus(includeToken=true)confirms a token is returned; inspection of claim names only shows thatchatgpt_account_id,chatgpt_user_id, andchatgpt_plan_typeare absent from the issued token. The localtokens.account_idmetadata is also null.account/login/startwithtype=chatgpt(non-streamlined flow). Both succeeded and updated local credentials, but the missing claims, banner, and chat-loading failure persisted. A full desktop restart did not help. Microsoft Store reports no newer package version. Local history databases pass SQLite quick checks.Could maintainers investigate why successful ChatGPT OAuth on this account yields
planType=unknown/workspaceRouting=nulland advise a supported recovery path for the Windows desktop client? No email address, account identifier, OAuth token, or unredacted log is included here.yezidaydayup-lab commentedon Nov 12, 2026
Follow-up on the independent Windows 11 reproduction above. The other user's report matches our symptoms and account-routing diagnostics.
Confirmed after a Windows app reset on 2026-11-12 (UTC+8), on OpenAI.Codex 26.1103.7773.0 / Windows 11 build 10.0.26300:
account/readreturning to the client, followed bydesktop_account_auth.unavailable reason=account_info_request_failed.[chatgpt-account-lookup]reportsaccountInfoHttpStatus=0,accountsHttpStatus=0, andauthenticatedAccountPresent=false. Requests to/wham/onboarding/contextand/wham/usagefail with locally reported HTTP 432, "Workspace routing is unavailable".The installed desktop package is now 26.1106.6628.0. The user retested it and confirms the same orange authentication banner and indefinitely loading chats remain. The detailed log excerpt above is from the confirmed post-reset reproduction on 26.1103.7773.0; we have not yet captured equivalent logs from 26.1106.6628.0. No account identifiers, tokens, or raw logs are included in this public comment.
gordonkeenan commentedon Nov 13, 2026
I'm experiencing the same issue on Windows.
Error: "Account authentication unavailable — Desktop couldn’t obtain usable account authentication from the local Codex service (app-server)."
Diagnostics:
0.169.0authenticates successfully using the same ChatGPT account.codex execsuccessfully returnsOK).codex-cli 0.167.0-alpha.4.1.Troubleshooting attempted:
None of these steps resolved the desktop authentication error.
This suggests the problem is specific to the Windows desktop application or its bundled app-server rather than the account's ability to authenticate.
noir406 commentedon Nov 17, 2026
Codex_432_Feedback_Evidence.zip
Additional independent reproduction — Windows 11, ChatGPT Plus
I am experiencing the same account authentication and workspace routing failure described in this issue.
My investigation has independently reproduced several of the same underlying conditions.
Environment
0.169.0-alpha.11.1Observed behavior
Independent local diagnostics
My local read-only investigation found:
https://api.openai.com/authclaim object.chatgpt_account_idchatgpt_user_idchatgpt_plan_typetokens.account_idis empty.account/readresponse reports:account.type = chatgptplanType = unknownworkspaceRouting = nullWorkspace routing is unavailableThe backend account-check endpoint was also tested successfully (HTTP 200), suggesting that the backend can identify the account even though the desktop app-server does not obtain the workspace identity from the saved OAuth credentials.
Troubleshooting performed
The issue persists.
Additional observation
Both proxy exits belong to different ASNs, but both are data-center networks. The same failure reproduces with both. I cannot establish whether IP reputation has any relationship to the issue.
Requested investigation
Could the maintainers investigate:
chatgpt_account_id?/backend-api/accounts/checkcan identify the account whileaccount/readreturnsworkspaceRouting: null?This is an independent reproduction on a ChatGPT Plus account, with a newer bundled app-server version than the original report.
I can provide sanitized logs, the
account/readresponse, application version information, and claim-presence checks if needed.No OAuth tokens, refresh tokens, cookies, passwords, email addresses, or full account identifiers are included in this report.
yezidaydayup-lab commentedon Nov 17, 2026
@gordonkeenan @noir406 Thank you both for the detailed independent reproductions. Have either of you found a working fix or workaround since posting? If so, could you share the exact steps and the desktop/app-server versions that worked?
I still see the authentication warning and indefinitely loading chats on desktop version 26.1106.6628.0. I have also been following up with OpenAI Support by email. They confirmed that my personal ChatGPT workspace exists and my membership is active, reviewed the sanitized diagnostics I sent, and said the case had been escalated to a specialist team. I sent another email asking for an update on November 16, but have not received a recovery procedure yet. I will share any confirmed solution here if they provide one.
yu1730680295 commentedon Nov 20, 2026
I am experiencing the same issue on Windows.
My Codex CLI works normally:
ChatGPT authentication succeeds.
CLI model requests work successfully.
Both bundled and standalone CLI versions are 0.169.1.
However, Codex Desktop cannot retrieve account authentication information.
Relevant logs:
account_info_request_failed
accountInfoHttpStatus=0
accountsHttpStatus=0
authenticatedAccountPresent=false
Workspace routing is unavailable
/wham/usage returns status 432
The desktop app cannot load existing conversations, and new chats remain stuck loading.
I have already tested proxy settings, Clash Plus, TUN mode, environment variables, and certificate configuration. I also reinstalled the application, but the issue persists.
In-app feedback submission also fails with "Unable to verify feedback permissions".
Could the engineering team investigate this issue?
Thank you.
hxy-encu2026 commentedon Nov 20, 2026
Adding a data point on plan tier: my original report (this issue) is a Free-plan account, and noir406 confirms the identical failure on Plus. So plan tier does not appear to be the variable.
Additional evidence from my machine (Windows 11 build 10.0.26300, desktop 26.1027.3384.0, bundled app-server codex-cli 0.166.0-alpha.5.1):
codex execagainst the same~/.codex/auth.jsonreturns normally and can create and modify files.account.type=chatgpt,planType=unknown,workspaceRouting=null.chatgpt_account_id,chatgpt_user_idandchatgpt_plan_typeare absent from both the id_token and the access_token;tokens.account_idis null.POST /backend-api/codex/responseswith the same access token returns 200 and the model answers, so the token itself is usable.Because the CLI and the desktop app share one credential store, this looks confined to the desktop's account/workspace discovery path rather than to OAuth claim issuance as such.
yezidaydayup-lab commentedon Nov 28, 2026
Status update from another affected Windows user (2026-11-28, UTC+8):
The additional independent reports here are useful, but the root cause and a supported recovery path remain unconfirmed. If anyone has found a working fix or received guidance from the engineering team, could you share the exact desktop/app-server versions and steps? I will post any concrete guidance I receive from support.
noir406 commentedon Dec 1, 2026
Same issue reproduced on Windows Codex Desktop 26.1120.6357.0 (bundled codex-cli 0.171.0-alpha.13.2).
Symptoms:
account_info_request_failedwithaccountInfoHttpStatus=0Workspace routing is unavailable(432) from the renderer~/.codex/auth.jsonhas emptytokens.account_id; the access_token lackschatgpt_account_id,chatgpt_user_id,chatgpt_plan_type/backend-api/accounts/checkreturns the account id for the same tokenaccounts/checkfor this account returnsworkspace_type: nullandorganization_id: null, i.e. the business-layer account record exists but the auth-layer workspace binding looks incompleteWorkaround that restored the desktop on this machine (confirmed on a second account, as also reported in #62572):
app\resources\codex.exe app-server --stdio) and call the experimental APIs:initialize(capabilities.experimentalApi=true) →accountSession/list→accountSession/switch {sessionId, accountId, allowBrowserLogin:false}→account/read.After the switch
account/readreturns a non-nullworkspaceRouting {chatgptAccountId, backendOrigin, accountRoutingOverride}.IMPORTANT: this is a local client-side workaround, NOT a fix.
/backend-api/accounts/check.tokens.account_idto empty and the banner returns; the switch must be re-applied after every sign-in.ws.chatgpt.com) does not use the system proxy; a TUN-mode proxy is required for it, otherwise it fails with "WebSocket was closed before the connection was established" even though CLI and HTTP requests work.Suggested fixes:
chatgpt_account_idetc.) are issued for accounts whose auth-layer workspace binding is incomplete/migrated.workspaceRoutingis null, fall back to/backend-api/accounts/checkto resolve the account id, instead of synthesizing 432.accountSession/switch.