codex icon indicating copy to clipboard operation
codex copied to clipboard

[Windows ARM64] ChatGPT hit a snag on startup after updating to 26.1120.6357.0 - Missing scope instance

Open taylorn-ai opened this issue 1 week ago • 19 comments

What version of the Codex App are you using (From “About Codex” dialog)?

26.1120.6357.0

What subscription do you have?

Business

What platform is your computer?

No response

What issue are you seeing?

Following a recent update to the ChatGPT desktop application, the application consistently displays "ChatGPT hit a snag" shortly after launching.

Downgrading to an earlier release resolves the issue without removing or modifying any of the installed primary runtime packages.

What steps can reproduce the bug?

  1. Update the ChatGPT desktop application to 26.1120.6357.0.
  2. Launch the application.
  3. Wait several seconds for initialisation to complete.
  4. The application displays "ChatGPT hit a snag".

What is the expected behavior?

No response

Additional information

Environment

  • OS: Windows 11 ARM64
  • Package: OpenAI.Codex
  • Affected version: 26.1120.6357.0
  • Working version: 26.1111.2228.0
  • App-server version on affected build: 0.171.0-alpha.13.2

Installed primary runtimes:

  • 26.1123.915.0
  • 26.1119.907.0
  • 26.1118.904.0
  • 26.1112.611.0 (NotAvailable)

Observed errors

The desktop application logs contain the following React error:

errorName="React ErrorBoundary Error"
errorMessage="Missing scope instance"
name=AppRoutes

The component stack includes references to PepperOnboardingAnnouncementHost and StatsigProvider.

Additional warnings during initialisation:

TypeError: e.hookWindowMessage is not a function
ignoring invalid experimental feature enablement keys:
apps_mcp_path_override

Authentication completes successfully, and the app-server continues responding to requests after the frontend exception occurs.

Troubleshooting performed

  • Terminated and relaunched the application.
  • Repaired the application through Windows Settings.
  • Removed the local SQLite database.
  • Logged out and authenticated again.
  • Renamed the Chromium Default profile directory to force recreation.
  • Downgraded the desktop MSIX package.

Only downgrading the desktop application resolved the issue.

Workaround

Downgrade to 26.1111.2228.0 using PowerShell:

Add-AppxPackage -Path $file -ForceUpdateFromAnyVersion -ForceTargetApplicationShutdown

No primary runtime packages were removed or modified during the downgrade.

Related issues

A similar startup regression with the identical Missing scope instance exception is mentioned in #63700 on Linux, also affecting a desktop build from 20 November.

This suggests the issue may be a cross-platform frontend regression rather than a Windows ARM64-specific problem.

Additional information

Desktop diagnostic logs are available upon request. The issue was reproduced on 25 November 2026 at approximately 00:37 UTC.

taylorn-ai avatar Nov 25 '26 00:11 taylorn-ai

Potential duplicates detected. Please review them and close your issue if it is a duplicate.

  • #63700

Powered by Codex Action

github-actions[bot] avatar Nov 25 '26 00:11 github-actions[bot]

Same issue on Windows 11 x64 (not only ARM64).

  • App: OpenAI.Codex 26.1120.6357.0 (x64, Microsoft Store), auto-updated 2026-11-25
  • App-server: 0.171.0-alpha.13.2
  • OS: Windows 11 Pro 10.0.26300
  • Symptom: "ChatGPT hit a snag / Something went wrong" right after launch, every time
  • Log: error boundary name=AppRoutes, errorMessage="Missing scope instance", component stack includes PepperOnboardingAnnouncementHost and StatsigProvider
  • Also seen: "e.hookWindowMessage is not a function" (wallpaper-tint warning)
  • Auth and app-server connection succeed before the crash

Tried without success: Windows Settings Repair, Reset, uninstall + reinstall from Store.

homerwang65 avatar Nov 25 '26 02:11 homerwang65

Same on Windows 11 x64 (Microsoft Store install). Adding a narrower regression window from my local logs:

  • Last working build: 26.1117.4957.0 (used without errors through 2026-11-24)
  • First failing build: 26.1120.5083.0 (auto-updated 2026-11-25), still failing after the in-app update to 26.1120.6357.0
  • OS: Windows 11 Pro 10.0.26300 x64
  • App-server: 0.171.0-alpha.13.2

Pattern in codex-desktop-*.log, repeated every time the ChatGPT chat view opens:

info  chatgpt_conversation_updates_subscription_mounted
error error boundary errorCause={"errorName":"React ErrorBoundary Error","errorMessage":"Missing scope instance", ...}
      component stack: ez/eq (19090.212868ea77.js) -> ... -> PepperOnboardingAnnouncementHost -> ... -> StatsigProvider
info  chatgpt_conversation_updates_subscription_unmounted

Logs from 2026-11-19 to 2026-11-24 (builds 26.1111.x and 26.1117.x) contain zero occurrences; both 26.1120 builds hit it on every attempt. A full restart does not help. The Codex CLI (0.171.0) is unaffected.

MichaelZett avatar Nov 25 '26 06:11 MichaelZett

Confirming this same regression on Windows 10 x64 (OpenAI.Codex 26.1120.6357.0, Electron release [email protected], auto-updated from 26.1117.4957.0).

I inspected the local Sentry scope_v3.json and the bundled app.asar to trace why Error: Missing scope instance is thrown in ez (19090.212868ea77.js:1:46521):

  1. Exact crash site in 19090.212868ea77.js (W8mV / CodexAppHomeBeaconAnnouncementContent -> ez):

    let ti = eN?.placement === "codex_home" && ((0, es.tf)(eD) || (0, es.s9)(eD)) && eY(ta, "update_model_picker");
    let ts = eN?.placement === "work_tab_home" && (0, b.w)(ta, eF);
    let tr = (0, s.Ul)(ti || ts ? ew.K7 : null);
    

    When ti (or ts) is true, ez calls useAtomValue (s.Ul / ec in 366996.9782070574.js:16:86837) on ew.K7.

  2. Scope mismatch:

    • ew.K7 (VET8.K7 in 274339.987fe942bb.js) is an atom scoped to Sd8U.PR ("ComposerScope", defined in 49792.d8d33ace73.js).
    • However, CodexHomeAnnouncements (KW3e in 115740.de97763982.js) registers the "home-codex" candidate (CodexAppHomeBeaconAnnouncementContent with placement: "codex_home") into the AppScope announcement map (SAA4.d4 via fILU.F).
    • The outer AppLayoutRoute announcement host (308531.055a4ef666.js) then renders that "home-codex" candidate outside ComposerScope.
  3. Result: Whenever a codex_home banner/takeover beacon containing an update_model_picker action is active (ti === true), (0, s.Ul)(ew.K7) looks up ComposerScope in the outer tree, gets null, and throws Error("Missing scope instance"), which bubbles up to the root ErrorBoundary (bg-surface-recovery / "ChatGPT hit a snag").

Hope this helps narrow down the fix (either guarding ComposerScope / ew.K7 inside ez when rendered from the outer announcement host, or scoping the home-codex announcement host appropriately).

lp123sun avatar Nov 25 '26 07:11 lp123sun

Workaround (no downgrade needed): kill all ChatGPT processes, relaunch, and click any existing conversation in the sidebar within ~1-2 seconds after it loads. Navigating away from the home route before PepperOnboardingAnnouncementHost mounts avoids the crash. Going back to the home/new-chat screen can trigger it again.

homerwang65 avatar Nov 25 '26 09:11 homerwang65

Same on macOS, Apple Silicon.

  • App: ChatGPT 26.1120.50957 (build 30866), [email protected], app-server 0.171.0-alpha.13.2
  • OS: macOS 27.2.1 (26B131), arm64
  • Last working: 26.1120.41243 (build 30607), no error boundary from 2026-11-24 06:53 UTC until the auto-update installed at 2026-11-25 08:16 UTC
  • First failing: 26.1120.50957, on both launches since: name=AppRoutes, errorMessage="Missing scope instance", stack includes PepperOnboardingAnnouncementHost
  • Check for Updates at 08:17 UTC offered no newer build

Caveat: build 30607 ran as one long session, so this doesn't rule out a server-side trigger (see #63869).

Workaround from the comment above (open a conversation within 1–2 s of launch): works on macOS. but crashes if I go the main screen again.

maltewirz-maia avatar Nov 25 '26 09:11 maltewirz-maia

Confirming the same issue after updating the ChatGPT desktop application.

Environment:

  • OS: Windows 11 Pro
  • OS version: 10.0.26100 (build 26100)
  • OS architecture: x64
  • Package: OpenAI.Codex
  • App version: 26.1120.6357.0
  • Package architecture: x64
  • Package status: Ok

Additional findings: The suggested workaround works for me, but I also discovered some additional behavior that might help narrow down the root cause:

  1. The application was crashing while in ChatGPT mode.
  2. Clicking "Go to home page" on the error screen caused the same error to appear again.
  3. After applying the suggested workaround, I switched from ChatGPT mode to Codex mode.
  4. The application stopped crashing.
  5. I switched back to ChatGPT mode, and the issue did not reappear. Further verification:
  • Restarting the application while in ChatGPT mode: successful.
  • Creating a new ChatGPT conversation after restarting: successful.
  • No further crashes observed. Switching from ChatGPT to Codex and then back to ChatGPT appears to resolve the issue persistently, at least in my environment. The fix survives an application restart.

vertozyp avatar Nov 25 '26 11:11 vertozyp

I reproduced this on Windows 11 x64 (build 26200) with OpenAI.Codex 26.1120.6357.0 (desktop build 30866). The error screen kept coming back after launch, including after rebooting Windows. As soon as I typed into the Work composer, the error stopped and the app became usable again.

What the desktop trace showed

AppRoutes logged Missing scope instance 43 times across four launches. The exception points to the composer-state lookup in CodexAppHomeBeaconAnnouncementContent (19090.212868ea77.js:1:46521). The Work-home Fast mode announcement can read a ComposerScope-scoped value from the app-level announcement host, outside that scope. A focused composer with text suppresses the announcement, which explains why typing lets the page recover. Rendering the announcement within ComposerScope, or deferring that lookup until the scope is available, would address this path.

Workaround I verified

I made a Windows shortcut that opens an existing local conversation through codex://threads/<local-thread-id>?hostId=local. The shortcut target is rundll32.exe url.dll,FileProtocolHandler codex://threads/<local-thread-id>?hostId=local. With the app already running, it opened the conversation directly and the desktop log showed no new instances of this error after the switch. A cold start via the shortcut is still untested.

mmm001jr-del avatar Nov 25 '26 13:11 mmm001jr-del

Thanks for the detailed reports. We traced the “ChatGPT hit a snag” startup error to the Fast mode offer on the Work home screen. We’ve merged and tested a fix, and it will be included in the next release.

Workaround: Fully quit the desktop app, then relaunch it and click an existing conversation as soon as the sidebar appears, within the first second or two. Users in this thread confirmed this works on Windows and macOS without a downgrade. You can keep working in that conversation, but returning to Home or selecting New chat can trigger the error again.

etraut-openai avatar Nov 25 '26 18:11 etraut-openai

This is a real bug. pls fix it ASAP!!!!

d-jiao avatar Nov 26 '26 03:11 d-jiao

Same issue here — hit this right after updating to 26.1120.6357.0. The app crashes on the home screen before you can do anything, but there's a workaround that avoids a downgrade:

  1. Fully quit ChatGPT desktop — make sure no process is still running (Task Manager on Windows, Activity Monitor on macOS).
  2. Relaunch the app.
  3. As soon as the sidebar appears, click an existing conversation within 1–2 seconds — this skips the crashing home route.
  4. Stay inside that conversation. Going back to Home or New chat can trigger the crash again.

Repair, Reset and a clean reinstall don't help — they just install the same broken 26.1120 build. If you don't have an existing conversation yet, installing the last working build (26.1111.2228.0 on Windows) works, though auto-update can pull the broken build again.

Full breakdown with the root cause, the tested environment and an FAQ here: https://debugradar.com/fix-chatgpt-hit-a-snag-codex-update/

hso400021-hash avatar Nov 26 '26 14:11 hso400021-hash

Adding an independently confirmed reproduction on behalf of another ChatGPT Business user (Windows x64) as of November 28, 2026.

Environment

  • Windows 11 26H2, build 26300.9974 (x64)
  • Desktop MSIX package: OpenAI.Codex 26.1120.6357.0
  • Primary runtime: 26.1123.915.0
  • Integrated Chat / Work / Codex app

Observed behavior

  • The desktop app repeatedly displays the localized “ChatGPT hit a snag” screen on startup. Clicking Go to home sometimes recovers the app, but frequently does not.
  • The same Business account works normally through chatgpt.com on the same computer.
  • Windows Settings > Repair did not resolve the problem.

Local diagnostic evidence A read-only search across the most recent desktop log files returned these match counts (not necessarily distinct crashes):

  • Missing scope instance: 7
  • React ErrorBoundary Error: 7
  • PepperOnboardingAnnouncementHost: 6
  • Connection for host ID local not found: 0
  • primary_runtime_install_failed: 0

Workaround confirmed Fully quitting the application, relaunching it and immediately selecting an existing conversation in the sidebar works. The affected user has confirmed that they are currently able to continue working using this workaround, without resetting or reinstalling the application.

Impact The user relies on long-running local Work conversations associated with local project files. These conversations are not accessible through the browser, so a reset or uninstall is not an acceptable troubleshooting step without a verified way to preserve and recover the local conversation history and context.

Thank you for confirming the fix has been merged and tested. Please confirm the production Windows build number once the corrected release is available, and clarify any precautions necessary to preserve local Work/Codex data during an in-place update. No raw logs, personal information or conversation contents are included in this report.

dagraciar avatar Nov 28 '26 17:11 dagraciar

Confirming the same issue on macOS 27.2.1 with ChatGPT desktop 26.1120.50957 (build 30866). After updating, the app opens to “ChatGPT hit a snag.” Clicking “Go to Home” shows Home for about a second, then the error comes back. Rebooting the Mac and reinstalling the app didn’t help. ChatGPT still works in the browser on the same Mac.

The same Mac launched successfully on a phone hotspot and those logs didn’t contain the error. Seems to only happen on my home wifi. Missing scope instance, with PepperOnboardingAnnouncementHost in the component stack.

This blocks my normal desktop workflow because I need local project access. Is the Work Home fix mentioned here expected to cover this macOS issue? If so, which macOS build includes it?

antmachine avatar Nov 30 '26 19:11 antmachine

Still no update to fix this?

montanaflynn avatar Nov 30 '26 19:11 montanaflynn

Still experiencing this on the Windows ChatGPT desktop app (26.1120.6357.0) as of December 1, 2026.

  • The issue started yesterday (November 30).
  • Restarting Windows did not help.
  • Clicking “Go home” just brings me back to the same error screen.
  • The web version works normally.
  • The workaround of clicking an existing conversation in the sidebar immediately after launching the app worked for me!

Thanks for identifying the issue and sharing the workaround. I look forward to the fixed release — I wasn't expecting launching ChatGPT to become a reaction-time minigame. :)

Just2enough avatar Dec 01 '26 04:12 Just2enough

Commenting out conversationDetailMode = "STEPS_PROSE" in ~/.codex/config.toml and restarting (the workaround from #64038) stopped the crash for me on Windows 11 x64, 26.1120.6357.0.

EiZi233 avatar Dec 01 '26 06:12 EiZi233

Commenting out conversationDetailMode = "STEPS_PROSE" in ~/.codex/config.toml and restarting (the workaround from #64038) stopped the crash for me on Windows 11 x64, 26.1120.6357.0.

same here

gravasio avatar Dec 01 '26 09:12 gravasio

I reproduced this on Windows 11 x64 with Microsoft Store package OpenAI.Codex 26.1120.6357.0. On December 1, the app repeatedly showed “ChatGPT hit a snag.” The desktop logs recorded five Missing scope instance errors during the retries. I was able to continue by opening an existing chat from the sidebar.

In-app feedback ID: 01a23125-ec2a-7e63-9edd-2ebc9036b968.

Could you confirm which Microsoft Store build will include the fix?

EPFMZ avatar Dec 01 '26 17:12 EPFMZ

I can reproduce this on macOS 27.2.1 with ChatGPT Desktop 26.1120.50957 (build 30866).

The error appears a few seconds after I relaunch the app into Work or open a new window in Work. Regular Chat opens normally. If I start typing in the Work input field before the error appears, the window stays usable. I don’t need to send a message.

The desktop logs show React ErrorBoundary Error: Missing scope instance. The in-app updater currently reports that I’m up to date.

silvanoo avatar Dec 02 '26 09:12 silvanoo