codex icon indicating copy to clipboard operation
codex copied to clipboard

Windows Codex app: long-running turn fails with Bad Request after successful tool command

Open Water-Run opened this issue 3 weeks ago • 2 comments

What version of the Codex App are you using?

Windows package OpenAI.Codex 26.1103.7773.0 (installed package version; About dialog not checked). The affected command ran under Codex Primary Runtime 26.1104.1290.0.

What subscription do you have?

Not verified.

What platform is your computer?

Windows 11 Pro for Workstations Insider Preview, build 26340, x64.

What issue are you seeing?

Codex desktop frequently shows the generic error {"detail":"Bad Request"} during work and interrupts the assistant turn. The latest occurrence was during a long-running data collection task. The UI gives no request ID or explanation of which component failed.

For this occurrence, the recorded turn ended with status failed and that error at approximately 2026-11-10 16:54:58 Asia/Shanghai. The final PowerShell tool command immediately preceding the failure is recorded as completed with exit code 0, and its output shows a successful button click and a UI text read. The screenshot displays the error beneath that command. This establishes the command's recorded result, but not the failing layer or whether all effects of earlier operations are known.

What steps can reproduce the bug?

  1. In the Windows desktop app, run a long, tool-heavy conversation that repeatedly checks and continues a data collection process.
  2. In this example, after many local PowerShell/Node tool calls, the assistant ran a command that clicked a workspace button, waited four seconds, and read UI text.
  3. The command was recorded as completed with exit code 0, but the turn then failed with {"detail":"Bad Request"} rather than finishing its task.
  4. A subsequent turn was able to continue the conversation. The exact trigger and a reliable minimal reproduction are not yet known; the user reports that the symptom occurs frequently.

Session ID: 01a1c300-f8c4-7211-a767-127d9e0cb291
Failed turn ID: 01a1c473-7970-7b40-ab02-cc28e4e0bfd6

What is the expected behavior?

After a successful tool call, continue the active turn and finish the task. If a request cannot be processed, expose actionable diagnostic details and preserve enough state for a safe resume without repeating operations of uncertain outcome.

Additional information

The task involved resuming a collection from an existing checkpoint, so interruption makes it important to verify persisted progress and operation state before retrying. No numeric HTTP status, failing endpoint, request ID, or root cause was established for this occurrence. Private business data and the full transcript are omitted.

Similar symptoms are reported in #43711 and #45997; this report supplies a current Windows occurrence with a specific session, failed turn, and timestamp. It is not yet established whether they share a root cause.

Screenshot

The user-provided screenshot shows the completed command card followed by the error; it could not be attached via GitHub CLI because attachment upload requires repository write access.

Water-Run avatar Nov 10 '26 08:11 Water-Run

Potential duplicates detected. Please review them and close your issue if it is a duplicate.

  • #59852

Powered by Codex Action

github-actions[bot] avatar Nov 10 '26 09:11 github-actions[bot]

Additional diagnostic information for this recurring issue:

I have submitted a diagnostic report directly through the Codex Windows desktop application.

Feedback ID: 8f973c94-d8cb-418d-8d17-01479f549439

The error occurs repeatedly during active conversations, including after successful PowerShell command execution.

I can provide screenshots and further diagnostic information if needed.

Nomiss42 avatar Nov 18 '26 17:11 Nomiss42