[Windows][26.715] Creating a chat in a multi-folder project causes a persistent whole-app “Oops” screen
What version of the Codex App are you using?
ChatGPT Desktop for Windows / Codex 26.715 (exact build number was not recorded).
What subscription do you have?
Plus
What platform is your computer?
Windows 11 (Microsoft Windows NT 10.0.26200), x64
What issue are you seeing?
After creating two empty multi-folder local projects and starting a new chat in the second one, the entire Codex view was replaced by “Oops, an error has occurred.” Fully quitting and reopening the app returned to the same error, so no projects or existing chats could be accessed from the UI.
The repositories and existing conversations were intact. Recovery required manually removing the two new project records and the persisted selected-project reference from %USERPROFILE%\.codex\.codex-global-state.json.
What steps can reproduce the bug?
- Update ChatGPT Desktop/Codex to 26.715.
- Have three existing local folders, for example:
backendmini-appadmin-web
- Create an empty multi-folder project A:
- name:
mini-app-workspace - roots:
[backend, mini-app]
- Create an empty multi-folder project B:
- name:
admin-workspace - roots:
[admin-web, backend]
- Open project B and create a new chat.
- Observe that the whole Codex view shows
Oops, an error has occurred. - Fully quit and reopen the desktop app.
- Observe the same error again because the broken project remains persisted as the selected project.
What is the expected behavior?
Creating a chat in a multi-folder project should work. If project state is invalid, the error should be scoped to that project and the sidebar/settings should remain available so the project can be removed. Restarting the app should recover to a safe projectless/home state instead of reopening a persistent whole-app error boundary.
Additional information
The two newly created projects had no conversations, and existing single-folder projects and chats were not corrupted.
The relevant state shape was similar to:
{
"project-order": [
"<project-b-id>",
"<project-a-id>"
],
"local-projects": {
"<project-a-id>": {
"id": "<project-a-id>",
"name": "mini-app-workspace",
"rootPaths": [
"D:\\path\\backend",
"D:\\path\\mini-app"
]
},
"<project-b-id>": {
"id": "<project-b-id>",
"name": "admin-workspace",
"rootPaths": [
"D:\\path\\admin-web",
"D:\\path\\backend"
]
}
},
"selected-project": {
"projectId": "<project-b-id>"
}
}
A non-destructive recovery that worked:
- Fully quit ChatGPT/Codex.
- Back up
.codex-global-state.jsonand.codex-global-state.json.bak. - Remove only the two new project IDs from
local-projects,project-order, and related project-reference maps. - Remove
selected-projectbecause it referenced project B. - Clear
active-workspace-roots. - Write valid UTF-8 JSON without BOM and restart the app.
After restart, the desktop app opened normally and all pre-existing projects and conversations were still present.
This looks like a Desktop multi-folder project / persisted selection regression rather than repository or conversation data loss. Even if the underlying project initialization fails, the app should not trap the entire UI behind a persistent error screen.
Privacy note: local usernames, real repository names, project IDs, paths, and conversation content have been replaced with placeholders.
3 Comments
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
I receive the same error just by adding an additional folder to a project.
BLack screen wtih the Oops message.
Temp workaround fix for this: code --install-extension openai.chatgpt@26.715.61943
Disable auto update until they fix it.