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
"Oops, an error has occurred" displayed after successful file editing tasks #23005
appIssues related to the Codex desktop appbugSomething isn't workingtool-callsIssues related to tool callingwindows-osIssues related to Codex on Windows systems
What version of the Codex App are you using (From “About Codex” dialog)?
26.513.31313
What subscription do you have?
Pro
What platform is your computer?
Windows 11
What issue are you seeing?
Description:
After today's update of the Codex app, I consistently receive an "Oops, an error has occurred" message at the end of specific tasks.
Actual Behavior:
The assistant successfully completes the task (the file editing/writing itself works perfectly fine), but immediately after it finishes, a generic red "Oops, an error has occurred" message appears at the bottom right of the screen with "Check for updates" and "Try again" buttons.
What steps can reproduce the bug?
Steps to Reproduce:
Open the Codex app.
Ask the assistant to perform a task that involves modifying/editing files (e.g., editing scripts, .md files, or any other code writing).
Wait for the generation to complete.
What is the expected behavior?
Expected Behavior:
The task finishes smoothly, and the chat is ready for the next prompt without any errors.
Additional information
Additional Context:
This issue does not happen during "read-only" tasks (like reading audits, analyzing code without modifying it). It only triggers after modifications/edits.
The actual work (script modification) is done perfectly despite the error message showing up at the very end.
I have attached a screenshot showing the error state.
Reacted by Minh Quang Tran, kraybit, Kryptacore, un1, yeltson, aisoroka, JATMN, Agon Noga, Junhao Zhang and Ícaro Matos
Reacted by millionart, SamuelMaharjan-Outcode and Junhao Zhang
It seems that long session (mine is about 3MB with 1061 JSONL records with one very long record over 100k characters) will have this issue. Very inconvenient and frustrating.
Same issue here on Windows 11 with Codex Desktop 26.513.31313.
Symptoms:
Existing conversations fail with “Oops, an error has occurred”
Creating a new conversation also fails
Clearing app cache/auth and reinstalling did not fix it
Codex CLI still works
I backed up %USERPROFILE%\.codex and tried repairing session JSONL files containing rendered git directives with Windows backslash paths. The issue still persists / improved partially.
In codex I've done a feedback its saying to mention a feedback id for openai on github: 019e2f8b-1e19-7891-9333-9641d7c298b7 , hopefully they will have a fix in place soon.
Same issue here on Windows 11 with Codex Desktop 26.513.31313.
Symptoms:
Existing conversations fail with “Oops, an error has occurred”
Creating a new conversation also fails
Clearing app cache/auth and reinstalling did not fix it
Codex CLI still works
I backed up %USERPROFILE%\.codex and tried repairing session JSONL files containing rendered git directives with Windows backslash paths. The issue still persists / improved partially.
Would this bug happen on new threads at any point? Like after doing git commits, etc?
Yes, it could happen in new threads, but only under the same trigger.
From what we found, the risky case is not “doing a git commit” by itself. The risky case is a saved assistant message containing Codex app git directives like:
So a new thread could become affected after Codex performs git actions and writes those app directives into the final response using Windows backslash paths. It may render fine initially, then fail when reopened because the renderer reparses the saved message.
Safer until the app is fixed:
Avoid having Codex perform branch/stage/commit/push/PR actions in-app if you need the thread to reopen reliably.
If Codex does perform git actions, using forward-slash paths like D:/.../... in any app directive would likely avoid this specific parser failure.
Regular terminal git commands you run yourself are not the issue unless the thread stores one of those ::git-* directives afterward.
So: yes, new threads can hit it, but only if the same malformed saved directive gets written into the conversation.
We've uploaded the update to the Windows store, so it should be available shortly. I'd appreciate it if someone could confirm when it's available that it has addressed the problem.
We've uploaded the update to the Windows store, so it should be available shortly. I'd appreciate it if someone could confirm when it's available that it has addressed the problem.
I'll respond here once the update is available to me. Thanks!
We've uploaded the update to the Windows store, so it should be available shortly. I'd appreciate it if someone could confirm when it's available that it has addressed the problem.
It wasn't working for me initially, but after uninstalling, restarting my PC, and reinstalling, it's working perfectly. I can now open the sessions that were failing before. Thanks so much! I hadn't been able to use Codex for about 8 hours.
We've uploaded the update to the Windows store, so it should be available shortly. I'd appreciate it if someone could confirm when it's available that it has addressed the problem.
Installed the update and the problem was effectively solved, thanks!
appIssues related to the Codex desktop appbugSomething isn't workingtool-callsIssues related to tool callingwindows-osIssues related to Codex on Windows systems
Activity
github-actions commentedon May 16, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
kryptacore commentedon May 16, 2026
Yes we are seeing this as well, reboots and works for 5-10 minutes then gets the error again, was after update
albertc71 commentedon May 16, 2026
It seems that long session (mine is about 3MB with 1061 JSONL records with one very long record over 100k characters) will have this issue. Very inconvenient and frustrating.
MaximeAuger commentedon May 16, 2026
Same issue here on Windows 11 with Codex Desktop 26.513.31313.
Symptoms:
I backed up
%USERPROFILE%\.codexand tried repairing session JSONL files containing rendered git directives with Windows backslash paths. The issue still persists / improved partially.This looks related to #22984, #22977, #22985, and #22973.
kryptacore commentedon May 16, 2026
In codex I've done a feedback its saying to mention a feedback id for openai on github: 019e2f8b-1e19-7891-9333-9641d7c298b7 , hopefully they will have a fix in place soon.
albertc71 commentedon May 16, 2026
Thank you! Have to use Codex CLI for now, although I prefer the Codex App 👍
cedricvanhoeserlande commentedon May 16, 2026
Same issue here, reported in Codex app under 019e30bb-006b-7fb3-a19f-c8fcf5f89daf
louis00009 commentedon May 16, 2026
same here, super annoying i was trying to uninstall and install, does not work at all
LandwoIf commentedon May 16, 2026
same. 019e3064-3e83-7df3-9195-30c3966dcd32 I noticed that everything works fine in the VSCode extension though; it's just the Codex app.
luisnucg commentedon May 16, 2026
Would this bug happen on new threads at any point? Like after doing git commits, etc?
Yes, it could happen in new threads, but only under the same trigger.
From what we found, the risky case is not “doing a git commit” by itself. The risky case is a saved assistant message containing Codex app git directives like:
So a new thread could become affected after Codex performs git actions and writes those app directives into the final response using Windows backslash paths. It may render fine initially, then fail when reopened because the renderer reparses the saved message.
Safer until the app is fixed:
D:/.../...in any app directive would likely avoid this specific parser failure.::git-*directives afterward.So: yes, new threads can hit it, but only if the same malformed saved directive gets written into the conversation.
drunkentrader commentedon May 16, 2026
Same issue, after about 5 prompts it gives "Oops, an error has occurred" and the chat becomes completely inaccessible
HCN-N commentedon May 16, 2026
same for me, previous version had no issues but can't revert
zcm58 commentedon May 16, 2026
Having this same issue after updating to the latest version earlier this morning.
rcarloc commentedon May 16, 2026
cant get anything done today ~~~
etraut-openai commentedon May 16, 2026
We are working on a hotfix for this issue.
luisnucg commentedon May 16, 2026
Thanks, it is truly urgent 🙏
etraut-openai commentedon May 16, 2026
We've uploaded the update to the Windows store, so it should be available shortly. I'd appreciate it if someone could confirm when it's available that it has addressed the problem.
zcm58 commentedon May 16, 2026
I'll respond here once the update is available to me. Thanks!
nickyfactz commentedon May 16, 2026
I was able to pull down the new update on the windows store problem seems to have gone away and my session chats are back.
zcm58 commentedon May 16, 2026
Just downloaded the hotfix, and things seem to be working normally for me again!
rcarloc commentedon May 16, 2026
downloaded the hotfix, its working for me now as well
icarogamatos commentedon May 16, 2026
It wasn't working for me initially, but after uninstalling, restarting my PC, and reinstalling, it's working perfectly. I can now open the sessions that were failing before. Thanks so much! I hadn't been able to use Codex for about 8 hours.
luisnucg commentedon May 16, 2026
Installed the update and the problem was effectively solved, thanks!
etraut-openai commentedon May 16, 2026
Thanks for confirming that the fix works.
Muscab-34 commentedon Aug 8, 2026
n