Web search tool leads to 400 and codex can't get past that
What version of Codex is running?
0.60.1
What subscription do you have?
Pro
Which model were you using?
gpt-5.1-codex-max
What platform is your computer?
Darwin 25.0.0 arm64 arm
What issue are you seeing?
write after it used the web search tool, it got stuck with a 400 error
unexpected status 400 Bad Request: {
"error": {
"message": "Invalid value: 'other'. Supported values are: 'search', 'open_page', and 'find_in_page'.",
"type": "invalid_request_error",
"param": "input[111].action.type",
"code": "invalid_value"
}
}
What steps can reproduce the bug?
Uploaded thread: 019aa51c-142e-7141-9632-4cf3cfe1a13f
What is the expected behavior?
No response
Additional information
No response
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
- #7065
- #6979
- #6968
- #6945
Powered by Codex Action
This should be fixed in https://github.com/openai/codex/pull/7061 .
Yes, @imajes is correct. This is now fixed. Please update to the latest version (0.63.0).
not fixed:
■ unexpected status 400 Bad Request: { "error": { "message": "Invalid value: 'other'. Supported values are: 'search', 'open_page', and 'find_in_page'.", "type": "invalid_request_error", "param": "input[12].action.type", "code": "invalid_value" } } Token usage: total=36,865 input=34,450 (+ 6,912 cached) output=2,415 (reasoning 1,600) To continue this session, run codex resume 019aa912-eb51-79b3-82f0-dda64e949184 georgii@Georgiis-MacBook-Pro infra % codex --version codex-cli 0.63.0
model: gpt-5.1-codex-max
@0ttik are you building main or are you running release? Because the problem was fixed a few hours ago; it takes a minute to get it to a release. :)
我也遇到了同样的问题,刚更新到0.63.0版本,该问题仍然存在
@0ttik are you building main or are you running release? Because the problem was fixed a few hours ago; it takes a minute to get it to a release. :)
@imajes, I was just responding to this message, which turns to be incorrect. If it's fixed in main - good.
Yes, @imajes is correct. This is now fixed. Please update to the latest version (0.63.0).
@imajes, I've checked, this commit should be in version 0.63 if I'm correct
So I'd suggest reopening this bug, because it's still present
■ unexpected status 400 Bad Request: {
"error": {
"message": "Invalid value: 'other'. Supported values are: 'search',
'open_page', and 'find_in_page'.",
"type": "invalid_request_error",
"param": "input[128].action.type",
"code": "invalid_value"
}
}
Token usage: ...
To continue this session, run codex resume ...
$ codex --version
codex-cli 0.63.0
Still getting the error with 0.63.0
unexpected status 400 Bad Request: { "error": { "message": "Invalid value: 'other'. Supported values are: 'search', 'open_page', and 'find_in_page'.", "type": "invalid_request_error", "param": "input[75].action.type", "code": "invalid_value" } }
Having the Same Issue here. Using codex through vs code extension signed in through plus plan.
+1, on 0.63.0 installed through brew, seeing the same error on gpt-5.1-codex-max and gpt-5.1, pro plan through the vscode extension on cursor + codex cli:
unexpected status 400 Bad Request: { "error": { "message": "Invalid value: 'other'. Supported values are: 'search', 'open_page', and 'find_in_page'.", "type": "invalid_request_error", "param": "input[10].action.type", "code": "invalid_value" } }