Skip to content

Bad Requests #10780

Closed
Closed

Description

@ldrr

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

Activity

  1. added
    bugSomething isn't working
    on Feb 5, 2026
  2. github-actions commented on Feb 5, 2026

    @github-actions
    Contributor

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

    Powered by Codex Action

  3. etraut-openai commented on Feb 5, 2026

    @etraut-openai
    Contributor

    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.

  4. jonbelay commented on Feb 5, 2026

    @jonbelay
  5. ldrr commented on Feb 5, 2026

    @ldrr
    Author

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

    $which codex
    /opt/homebrew/bin/codex
    
    Image
  6. etraut-openai commented on Feb 5, 2026

    @etraut-openai
    Contributor

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

  7. ldrr commented on Feb 5, 2026

    @ldrr
    Author

    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!

  8. ldrr commented on Feb 6, 2026

    @ldrr
    Author

    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.
    
  9. reopened this on Feb 6, 2026
  10. ldrr commented on Feb 8, 2026

    @ldrr
    Author

    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...

  11. ldrr commented on Feb 9, 2026

    @ldrr
    Author

    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.

  12. ldrr commented on Feb 9, 2026

    @ldrr
    Author

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    CLIIssues related to the Codex CLIbugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions