Cannot start Codex CLI since v0.84.0

Resolved 💬 2 comments Opened Jan 16, 2026 by tttol Closed Jan 16, 2026
💡 Likely answer: A maintainer (etraut-openai, contributor) responded on this thread — see the highlighted reply below.

What version of Codex is running?

0.84.0, 0.85.0

What subscription do you have?

Enterprise & Edu

Which model were you using?

_No response_

What platform is your computer?

Darwin 24.6.0 arm64 arm

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

_No response_

What issue are you seeing?

I encountered a problem where codex cannot start since I updated to v84.0. The error message is here:

› codex
Error: invalid type: unit variant, expected string only in 'web_search

The error was not shown when downgrading to v0.81.0

What steps can reproduce the bug?

Run codex in terminal.

What is the expected behavior?

_No response_

Additional information

_No response_

View original on GitHub ↗

2 Comments

etraut-openai contributor · 7 months ago

Thanks for reporting.

That means you have an invalid value in your config.toml file. Open it in your editor and search for web_search. Refer to this documentation for details about config file keys and values.

The error message is more cryptic than it should be. I'll look at fixing that.

tttol · 7 months ago

It worked! I had a small mistake in my config.toml. Thanks for your help.