Bad Requests

Resolved 💬 10 comments Opened Feb 5, 2026 by ldrr Closed Feb 9, 2026
💡 Likely answer: A maintainer (github-actions[bot], contributor) responded on this thread — see the highlighted reply below.

What version of Codex CLI is running?

codex-cli 0.97.0

What subscription do you have?

Plus

Which model were you using?

gpt-5.2-codex

What platform is your computer?

macOS 26.2 (25C56)
Darwin 25.2.0 arm64 arm

What terminal emulator and version are you using (if applicable)?

iTerm2

What issue are you seeing?

Got multiple times {"detail":"Bad Request"} while working on tasks.

What steps can reproduce the bug?

Almost every time I start something. Started with latest codex update.

What is the expected behavior?

Not to have this error message.

Additional information

thread ID 019be6cc-64cc-74a3-87ad-2e77d13b8989

View original on GitHub ↗

10 Comments

github-actions[bot] contributor · 5 months ago

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

  • #10571
  • #10343

Powered by Codex Action

etraut-openai contributor · 5 months ago

Thanks for reporting. I unfortunately don't see your logs in our system, so I'm not able to investigate the problem further. Did you use the /feedback command to upload the logs and session details? If you see the problem again, please retry /feedback and post the thread ID here.

jonbelay · 5 months ago

Thanks for flagging this. To help us reproduce and prioritize:\n\n1. What environment are you using (OS, version, and install method)?\n2. What exact command or config triggers the issue?\n3. Can you share logs or error output if available?\n\nWe will update the proposal once we have the missing details.

ldrr · 5 months ago

Happened just again, did the feedback upload now?
codex installed over homebrew IIRC

$which codex
/opt/homebrew/bin/codex

<img width="1091" height="232" alt="Image" src="https://github.com/user-attachments/assets/a700959d-2534-4dc8-86f6-bda819521284" />

etraut-openai contributor · 5 months ago

@lddr, no the feedback didn't upload. Maybe the problem you're seeing is related to a general network connectivity issue?

ldrr · 5 months ago

Haven't had any issues recently, will try again later or tomorrow. I just updated to 0.98.0 and will keep an eye on it. I'll close this issue and reopen it if it comes back again. Thanks for taking care!

ldrr · 5 months ago

happened again and I'm not 100% sure if the upload worked well, although it said it's uploaded

■ {"detail":"Bad Request"}

• Feedback uploaded. Please open an issue using the following URL:

  https://github.com/openai/codex/issues/new?template=2-bug-report.yml&steps=Uploaded%20thread:%20019be6cc-64cc-74a3-87ad-2e77d13b8989

  Or mention your thread ID 019be6cc-64cc-74a3-87ad-2e77d13b8989 in an existing issue.
ldrr · 5 months ago

Now tried over a completely different network and it's still super unstable

• Reconnecting... 1/5 (5m 04s • esc to interrupt)
  └ Stream disconnected before completion: Transport error: network error: error decoding response body

There's no VPN involved or any proxy or so...

ldrr · 5 months ago

Okay, I completely deleted the ~./codex folder and now all the reconnection and bad request issues are gone. If you need any further information I'm happy to help.

ldrr · 5 months ago

Okay, I completely deleted the ~./codex folder and now all the reconnection and bad request issues are gone. If you need any further information I'm happy to help.