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
Codex Windows fails to add a WSL project with “Failed to create project” #43628
appIssues related to the Codex desktop appapp-serverIssues involving app server protocol or interfacesbugSomething isn't workingwindows-osIssues related to Codex on Windows systems
What version of the Codex App are you using (From “About Codex” dialog)?
26.901.51231
What subscription do you have?
Pro
What platform is your computer?
Microsoft Windows NT 10.0.26200.0 x64
What issue are you seeing?
Codex cannot add an existing Git repository from my Ubuntu WSL filesystem. The UI displays “Failed to create project” without further details.
Environment
Windows desktop app, package version 26.901.6511.0
Ubuntu on WSL
Repository: /home/scoot/git/sellis/nation-game
otentially related log entry
At 2026-09-08T00:09:00.725Z, Codex logged:
[host-app-server-projects] Local app-server project migration failed
errorMessage="Invalid request: AbsolutePathBuf deserialized without a base path"
This occurred during startup; I have not confirmed that it causes the project-creation failure. It may indicate a Windows-to-WSL path conversion or project migration issue.
Please investigate the failure and expose the underlying error in the UI so users can diagnose it.
What steps can reproduce the bug?
Feedback ID: 01a07e5c-c590-7a91-84dd-3330ec49653a
What is the expected behavior?
No response
Additional information
Steps to reproduce
Open Codex and choose Add project.
In the “Select Project Root” dialog, select:\wsl.localhost\Ubuntu\home\scoot\git\sellis\nation-game
Confirm the folder selection.
Expected: Codex adds the existing repository as a project.
Actual: Codex displays “Failed to create project.”
Additional findings
same here, it was working until some recent update. Creating project on windows filesystem also fails. removing / renaming .codex-global-state.json does not help either.
Same here, I've uninstalled the app, removed the .codex folder and now I've and empty Code with no projects and I cannot create new projects. Before this I was unable to remove projects.
I found I can get chats in the project to work if I give them this prompt first:
The default cwd is malformed: it combines a WindowsApps path with a WSL UNC path.
Override the working directory in the tool call, before process startup:
{
"cmd": "pwd",
"workdir": "/home/foo/bar",
"shell": "/bin/bash",
"login": false
}
Use those settings for every shell call. Running cd inside the command
cannot fix this error because the process fails before the command executes.
Calls also need sandbox_permissions: "require_escalated" because this chat’s
registered workspace root is incorrect.
Tracked in #41463. Both reports describe a valid WSL repository that Desktop cannot add and a startup migration error, AbsolutePathBuf deserialized without a base path. Using the equivalent Linux path allowed the same project import to succeed in the controlled comparison.
appIssues related to the Codex desktop appapp-serverIssues involving app server protocol or interfacesbugSomething isn't workingwindows-osIssues related to Codex on Windows systems
Activity
github-actions commentedon Sep 8, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
Oleszkiewicz commentedon Sep 8, 2026
same here, it was working until some recent update. Creating project on windows filesystem also fails. removing / renaming .codex-global-state.json does not help either.
Kanshan03 commentedon Sep 8, 2026
same here
meishiyu commentedon Sep 9, 2026
same
cyformatician commentedon Sep 9, 2026
confirmed here as well
ventayol commentedon Sep 9, 2026
Same here, I've uninstalled the app, removed the .codex folder and now I've and empty Code with no projects and I cannot create new projects. Before this I was unable to remove projects.
Oleszkiewicz commentedon Sep 9, 2026
matiaraos commentedon Sep 10, 2026
A temporary solution to this problem that worked for me when creating and saving projects:
clee231 commentedon Sep 12, 2026
I am also experiencing this issue too.
This "Failed to create project" error happens regardless of if I select a source project folder or not.
Feedback ID:
01a09511-83da-7d70-bd50-d91cc3fd6d99ValentinAUCLERC commentedon Sep 15, 2026
This sadly doesn't work for me, right now Codex is absolutly working for me ! Both windows and wsl !
sellis commentedon Oct 3, 2026
I found I can get chats in the project to work if I give them this prompt first:
goodman-oai commentedon Nov 16, 2026
Tracked in #41463. Both reports describe a valid WSL repository that Desktop cannot add and a startup migration error,
AbsolutePathBuf deserialized without a base path. Using the equivalent Linux path allowed the same project import to succeed in the controlled comparison.