Skip to content

[Windows][26.1027.3384.0] "Account authentication unavailable": tokens lack chatgpt_account_id (workspaceRouting null, 432) #59410

Open

Description

@hxy-encu2026

What version of the Codex App are you using?

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.

The issued credentials have no workspace claims:

  • access_token https://api.openai.com/auth: amr, chatgpt_compute_residency, chatgpt_data_residency, poid, user_id
  • id_token same claim: groups, organizations, user_id
  • missing in both: chatgpt_account_id, chatgpt_user_id, chatgpt_plan_type; tokens.account_id empty

App-server account/read over stdio returns:

{"account":{"type":"chatgpt","email":"<redacted>","planType":"unknown","workspaceName":null},"requiresOpenaiAuth":true,"workspaceRouting":null}

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

  1. Sign in with this account.
  2. Banner appears, chat list stays on skeletons.
  3. 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

Activity

  1. added
    bug
    app
    windows-os
    auth
    app-server
    on Nov 4, 2026
  2. GlebSidoryn commented on Nov 5, 2026

    @GlebSidoryn

    I'm experiencing the same issue with Codex Desktop on Windows.

    Version: 26.1029.7803.0

    Symptoms:

    • Existing conversation titles are visible, but message contents never load.
    • The model selector remains stuck on "Loading models".
    • The send button is disabled.
    • Codex CLI and Codex Cloud work.
    • Reinstalling Codex Desktop did not resolve the issue.

    Diagnostics:

    • workspaceRouting: null
    • account_info_request_failed
    • authenticatedAccountPresent=false
    • Missing chatgpt_account_id and chatgpt_user_id claims in the inspected tokens.
    • The local app-server starts successfully.
    • Local conversation databases passed integrity checks.

    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.

  3. yezidaydayup-lab commented on Nov 10, 2026

    @yezidaydayup-lab

    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.

  4. yezidaydayup-lab commented on Nov 12, 2026

    @yezidaydayup-lab

    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.

  5. gordonkeenan commented on Nov 13, 2026

    @gordonkeenan

    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:

    • Browser login succeeds and redirects to the desktop application.
    • Codex CLI 0.169.0 authenticates successfully using the same ChatGPT account.
    • CLI requests work (codex exec successfully returns OK).
    • Desktop bundled runtime: codex-cli 0.167.0-alpha.4.1.
    • The desktop app-server starts successfully but authentication remains unavailable.

    Troubleshooting attempted:

    • Reinstalled the desktop application.
    • Reset authentication credentials.
    • Logged out and authenticated again.
    • Restarted the desktop app-server process.
    • Confirmed that browser login and CLI requests work.

    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.

  6. noir406 commented on Nov 17, 2026

    @noir406

    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

    • Platform: Windows 11 x64
    • Subscription: ChatGPT Plus
    • Bundled Codex app-server: 0.169.0-alpha.11.1
    • Desktop application version: [insert version from About]
    • Network: Two different proxy clients, using different exit IPs and different ASNs.

    Observed behavior

    • Browser-based OAuth authentication completes successfully.
    • The browser returns to the desktop application.
    • ChatGPT Web remains usable with the same account.
    • 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:

    1. The OAuth JWT contains the https://api.openai.com/auth claim object.
    2. The following claims are missing:
      • chatgpt_account_id
      • chatgpt_user_id
      • chatgpt_plan_type
    3. Local tokens.account_id is empty.
    4. The app-server account/read response reports:
      • account.type = chatgpt
      • planType = unknown
      • workspaceRouting = null
    5. 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:

    1. Why successful OAuth authentication produces credentials without chatgpt_account_id?
    2. Why /backend-api/accounts/check can identify the account while account/read returns workspaceRouting: null?
    3. Whether the issue is related to account provisioning, OAuth claim issuance, or desktop workspace discovery?
    4. Whether there is a supported server-side recovery procedure?
    5. 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.

  7. yezidaydayup-lab commented on Nov 17, 2026

    @yezidaydayup-lab

    @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.

  8. yu1730680295 commented on Nov 20, 2026

    @yu1730680295

    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.

  9. hxy-encu2026 commented on Nov 20, 2026

    @hxy-encu2026
    Author

    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.

  10. yezidaydayup-lab commented on Nov 28, 2026

    @yezidaydayup-lab

    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.

  11. noir406 commented on Dec 1, 2026

    @noir406

    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):

    1. Fully quit the desktop.
    2. 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}.
    3. Relaunch the desktop — account loads, project/chat lists work, banner gone.

    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:

    1. Server: make sure workspace claims (chatgpt_account_id etc.) are issued for accounts whose auth-layer workspace binding is incomplete/migrated.
    2. Client: if workspaceRouting is null, fall back to /backend-api/accounts/check to resolve the account id, instead of synthesizing 432.
    3. Client: auto-select the account's default/personal workspace on first launch when none is selected, rather than requiring an explicit accountSession/switch.
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

    appapp-serverauthbugwindows-os

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions