Codex app "Oops, an error occurred" after update on Mac
Codex Mac app stuck on "Oops, an error occurred" after an update? Update, avoid the project that triggers it, roll back the build, or use the Codex CLI.
TroubleshootingUpdated 6 min read
On this page
You open the Codex app after it updated itself, and all you see is "Oops, an error occurred" with a Try again button that does nothing.
Oops, an error occurred
We have not reproduced this ourselves. The steps below come from two user reports and OpenAI's own documentation, so treat them as things to try, not guarantees.
Why it happens
The honest answer: nobody outside OpenAI knows the exact cause. What the reports show:
- A bad app build (most likely). In the macOS report, the app auto-updated to version 26.224.1209 and then showed only this error. The same user said a later update fixed it. That points to a bug in that specific build.
- One project that triggers it. For that user, the error appeared with one particular project. Another person in the thread said they lost almost all of their threads. We don't know why a project would crash the app.
- The same pattern on Linux. A Fedora 44 report from the same autumn describes conversations spinning forever and tasks stuck on "Starting your task". The CLI still worked, and reverting the update fixed it.
In all of these, the Codex CLI kept working. It is a separate program from the desktop app, so a broken app build does not mean your account, plan or API key is broken.
| Symptom | Likely cause | Fix to try |
|---|---|---|
| Error right after an auto-update | Bad build | Fix 1, then Fix 3 |
| Error only when one project is open | Project-specific trigger | Fix 2 |
| Error on every launch, newest build installed | Bug not yet fixed | Fix 3 or Fix 4 |
| Desktop app broken, you need to work now | Any of the above | Fix 4 |
Fix 1: install the newest build
- Quit Codex completely with Command-Q (⌘Q).
- Reopen it and see whether it offers or installs an update.
- If it won't stay open long enough to update, download the current version from OpenAI's Codex site and replace the copy in Applications.
- Check the app version afterward. If it is still the one you had, the fix may not have shipped yet.
OpenAI publishes release notes for the Codex app and CLI in its ChatGPT & Codex changelog, which is the place to check whether a newer build mentions fixes. See the changelog on OpenAI's help center.
Fix 2: check whether one project is the trigger
- Open the app on a different project first.
- If it works, leave the broken project alone until an update lands.
- Work on that project in the CLI meanwhile (Fix 4).
Fix 3: roll back to the previous build
The app updates through Sparkle, which reads an appcast feed: an XML file that lists each release and its download link. A user in the r/codex-style community thread took the previous build (26.217.1959) from OpenAI's feed and installed it over the broken one.
- Quit Codex with ⌘Q.
- In Finder, drag the current Codex app from Applications to your Desktop. Keep it for now so you can undo this.
- Get the previous build's zip from OpenAI's Sparkle appcast feed. We haven't verified the feed address, so we don't print one. Only download from an address that belongs to OpenAI.
- Unzip it and drag the app into Applications.
- Open it and check that it starts without the error.
- Once it works, trash the broken copy from your Desktop.
If macOS refuses to open the older build, don't turn off Gatekeeper. Download the zip again from OpenAI's feed, or use the CLI instead.
Fix 4: use the Codex CLI
The CLI is the one thing that worked in both reports. OpenAI's help center describes it as an open-source command-line tool and says Codex officially supports macOS and Linux. Sign-in works with ChatGPT or another available method, per OpenAI's getting-started page. Whether your plan or API key covers Codex is up to your OpenAI account, so check that before you rely on it.
Install it with OpenAI's standalone installer, which that page gives as:
text curl -fsSL https://chatgpt.com/codex/install.sh | shIn Terminal, go to your project folder and run
codex.Choose Sign in with ChatGPT or another sign-in method the first time.
To pick up an earlier session, try
codex resume.
Full steps are in OpenAI's Codex CLI getting-started page.
OpenAI's launch post says the desktop app picks up your session history and configuration from the Codex CLI and IDE extension. That describes the CLI feeding the app. We can't confirm the reverse, so test codex resume with a throwaway session before you depend on it for threads created in the desktop app.
Checklist before you try again
- Codex is fully quit (⌘Q), not just the window closed.
- You know the app version you are on and whether it matches the one that broke (26.224.1209 in the macOS report).
- You tested whether the error happens with every project or only one.
- You kept the broken app on your Desktop until the older build works.
- You tested the CLI in a throwaway folder before moving real work there.
Where Sledbot fits
Sledbot does not repair the Codex app and doesn't download older app builds. It covers only Fix 4: it runs the Codex CLI in a real terminal, with approvals and change review around it.
It lists Codex CLI as a supported agent and uses the CLI's own login (codex login). If Codex isn't installed, Settings ▸ Agents shows Install… and Log in… buttons. Then press ⌘T, pick Codex CLI in the agent chip, describe the task and press ⌘↩. For git repos, Work in a new worktree is on by default, so your own files stay as they are. To continue an earlier Codex session, open a terminal (⌥⌘T) and run codex resume or codex resume --last.
Limits: Codex approvals in Sledbot are detect-and-answer. It mirrors Codex's own on-screen permission prompt as a card and types your answer back, but it can't stop an action Codex runs without asking. If you only need one terminal, plain Terminal is enough and free. Sledbot is part of MacSuite, needs macOS 14 or later, and has a 7-day trial. See Start an agent on a task for the workflow.
If nothing works
Contact OpenAI support through the Codex help center, and report it to the Codex team. Include:
- the exact text, "Oops, an error occurred";
- the Codex app version and your macOS version;
- whether it happens for every project or only one;
- whether the Codex CLI works on the same Mac;
- whether rolling back changed anything.
Subject: Codex Mac app shows "Oops, an error occurred" after update
After the Codex macOS app auto-updated, it shows only "Oops, an error
occurred" with a "Try again" button that repeats.
App version: (your version)
macOS version: (your version)
Happens with: (every project / one project)
Codex CLI on the same Mac: (works / doesn't work)
Already tried: quit and reopen, installed newest build, rolled back to (version)
Please advise whether a fix is planned and how to recover my threads.Common questions
Will I lose my threads?
One user in the macOS report said they lost almost all of theirs, but we don't know how common that is or how to recover them. Don't delete app data while troubleshooting, and note the app version before you change anything.
Is it my account or plan?
Probably not. In both reports the CLI worked on the same machine while the desktop app failed, which points at the app build.
Does this affect Linux too?
A Fedora 44 report describes a similar failure: tasks stuck on "Starting your task", CLI still working, and reverting the update fixed it. The advice is the same: revert or wait for a newer build, and use the CLI meanwhile.
How do I stop the app from updating to a broken build again?
We couldn't confirm a setting in the Codex app that pauses updates. Check the version after each launch and watch the changelog before accepting a new build.