Windows approval/action callback launches Codex.exe with raw type=action argument and triggers Electron "Unable to find Electron app" error
What version of the Codex App are you using (From “About Codex” dialog)?
26.527.7698.0
What subscription do you have?
ChatGPT Plus
What platform is your computer?
Windows 11 x64
What issue are you seeing?
When an approval/action flow is triggered in Codex Desktop for Windows, a new Codex.exe process is launched with a command line similar to: "C:\Program Files\WindowsApps\OpenAI.Codex_26.527.7698.0_x64__2p2nqsd0c76g0\app\Codex.exe" type=action&action=0&tag=13686295178750895973
An Electron dialog then appears: Error launching app
Unable to find Electron app at:
C:\Program Files\WindowsApps\OpenAI.Codex_26.527.7698.0_x64__2p2nqsd0c76g0\app\type=action&action=0&tag=13686295178750895973
Cannot find module:
C:\Program Files\WindowsApps\OpenAI.Codex_26.527.7698.0_x64__2p2nqsd0c76g0\app\type=action&action=0&tag=13686295178750895973
The main Codex application remains open and the requested operation may still complete successfully, but the error dialog appears repeatedly whenever an approval/action callback is triggered.
<img width="1327" height="632" alt="Image" src="https://github.com/user-attachments/assets/1ed77ee2-6682-4803-b58b-b5c1e14a8140" />
What steps can reproduce the bug?
- Open Codex Desktop.
- Navigate to Plugins.
- Select Canva.
- Click "Connect".
- Browser opens the Canva authorization page.
- Authorization is approved successfully.
- Browser redirects back to Codex.
- Codex displays an Electron error dialog.
- The Canva plugin never finishes connecting and remains stuck in a loading state indefinitely.
What is the expected behavior?
After successful authorization in the browser, Codex should receive the OAuth callback and complete the plugin connection process automatically.
The Canva plugin should become connected and available for use.
No Electron error dialog should appear.
Additional information
_No response_
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗