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_
3 Comments
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
Additional repro/details from another affected Windows user.
This is affecting more than one connector/app, not just the original report:
Error launching app,Unable to find Electron app, andCannot find moduleunder the Codex WindowsApps package path.Environment from the ClickUp repro:
ClickUp plugin was installed and enabled locally:
ClickUp plugin manifest maps to a Codex app connector:
Local protocol state after reverting experiments:
AppX package URL association exists:
AppxManifest.xmlregisters:The installed app bundle contains the app-connect OAuth callback URL:
What was tried locally:
clickup@openai-curatedis enabled inC:\Users\User\.codex\config.toml.C:\Users\User\.codex\plugins\cache\openai-curated\clickup\90718987.codex:.Add-AppxPackage -DisableDevelopmentMode -Register <Codex AppxManifest.xml>, but it failed while Codex was running withHRESULT: 0x80073D02/ resources in use.HKCU\Software\Classes\codex\shell\openAppX delegate handler copied from the package AppX protocol ProgID. Result: still produced the ElectronUnable to find Electron app/Cannot find moduledialog.codex:handler that receives%1and relaunchesCodex.exewith the fullcodex://...URL. Result: still produced the Electron dialog.Codex.exe <install>\app\resources\app.asar <codex://...deep-link>. Result: still did not complete the connector connection, and more Electron launch errors appeared.Current conclusion: this appears to be an upstream Codex Desktop Windows/MSIX protocol activation bug. The callback URL or callback query is being placed where Electron expects an app/module path, before Codex app JavaScript can route it as a deep link. Local registry changes were not sufficient and can make the error appear more often.
Potential fix directions:
codex://connector/oauth_callback?...reaches the existingconnectorOAuthCallbackhandler.codex://activation is broken.Not getting this error anymore. Maybe fixed.