Skip to content

"Oops, an error has occurred" displayed after successful file editing tasks #23005

Closed

Description

@caesarnothere

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.

Image

What steps can reproduce the bug?

Steps to Reproduce:

  1. Open the Codex app.
  2. Ask the assistant to perform a task that involves modifying/editing files (e.g., editing scripts, .md files, or any other code writing).
  3. 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.

Activity

  1. added
    app
    on May 16, 2026
  2. added
    bug
    windows-os
    tool-calls
    on May 16, 2026
  3. github-actions commented on May 16, 2026

    @github-actions
    Contributor

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

    Powered by Codex Action

  4. kryptacore commented on May 16, 2026

    @kryptacore

    Yes we are seeing this as well, reboots and works for 5-10 minutes then gets the error again, was after update

    Image Image
  5. albertc71 commented on May 16, 2026

    @albertc71

    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.

  6. MaximeAuger commented on May 16, 2026

    @MaximeAuger

    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.

    This looks related to #22984, #22977, #22985, and #22973.

  7. kryptacore commented on May 16, 2026

    @kryptacore

    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.

  8. albertc71 commented on May 16, 2026

    @albertc71

    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.

    This looks related to #22984, #22977, #22985, and #22973.

    Thank you! Have to use Codex CLI for now, although I prefer the Codex App 👍

  9. cedricvanhoeserlande commented on May 16, 2026

    @cedricvanhoeserlande

    Same issue here, reported in Codex app under 019e30bb-006b-7fb3-a19f-c8fcf5f89daf

  10. louis00009 commented on May 16, 2026

    @louis00009

    same here, super annoying i was trying to uninstall and install, does not work at all

  11. LandwoIf commented on May 16, 2026

    @LandwoIf

    same. 019e3064-3e83-7df3-9195-30c3966dcd32 I noticed that everything works fine in the VSCode extension though; it's just the Codex app.

  12. luisnucg commented on May 16, 2026

    @luisnucg

    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:

    ::git-commit{cwd="D:\...\repo"}
    ::git-stage{cwd="D:\...\repo"}
    ::git-create-branch{cwd="D:\...\repo" branch="..."}
    

    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.

  13. drunkentrader commented on May 16, 2026

    @drunkentrader

    Same issue, after about 5 prompts it gives "Oops, an error has occurred" and the chat becomes completely inaccessible

  14. HCN-N commented on May 16, 2026

    @HCN-N

    same for me, previous version had no issues but can't revert

  15. zcm58 commented on May 16, 2026

    @zcm58

    Having this same issue after updating to the latest version earlier this morning.

  16. rcarloc commented on May 16, 2026

    @rcarloc

    cant get anything done today ~~~

  17. etraut-openai commented on May 16, 2026

    @etraut-openai
    Contributor

    We are working on a hotfix for this issue.

  18. luisnucg commented on May 16, 2026

    @luisnucg

    We are working on a hotfix for this issue.

    Thanks, it is truly urgent 🙏

  19. etraut-openai commented on May 16, 2026

    @etraut-openai
    Contributor

    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.

  20. zcm58 commented on May 16, 2026

    @zcm58

    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!

  21. nickyfactz commented on May 16, 2026

    @nickyfactz

    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.

  22. zcm58 commented on May 16, 2026

    @zcm58

    Just downloaded the hotfix, and things seem to be working normally for me again!

  23. rcarloc commented on May 16, 2026

    @rcarloc

    downloaded the hotfix, its working for me now as well

  24. icarogamatos commented on May 16, 2026

    @icarogamatos

    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.

  25. luisnucg commented on May 16, 2026

    @luisnucg

    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!

  26. etraut-openai commented on May 16, 2026

    @etraut-openai
    Contributor

    Thanks for confirming that the fix works.

  27. Muscab-34 commented on Aug 8, 2026

    @Muscab-34

    n

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

    appbugtool-callswindows-os

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions