Windows approval/action callback launches Codex.exe with raw type=action argument and triggers Electron "Unable to find Electron app" error

Open 💬 3 comments Opened Jun 2, 2026 by xiamosurgery-maker

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?

  1. Open Codex Desktop.
  2. Navigate to Plugins.
  3. Select Canva.
  4. Click "Connect".
  5. Browser opens the Canva authorization page.
  6. Authorization is approved successfully.
  7. Browser redirects back to Codex.
  8. Codex displays an Electron error dialog.
  9. 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_

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗