Web search tool leads to 400 and codex can't get past that

Resolved 💬 12 comments Opened Nov 21, 2025 by naveedehmad Closed Nov 21, 2025
💡 Likely answer: A maintainer (github-actions[bot], contributor) responded on this thread — see the highlighted reply below.

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_

View original on GitHub ↗

12 Comments

github-actions[bot] contributor · 8 months ago

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

  • #7065
  • #6979
  • #6968
  • #6945

Powered by Codex Action

imajes · 8 months ago
etraut-openai contributor · 8 months ago

Yes, @imajes is correct. This is now fixed. Please update to the latest version (0.63.0).

0ttik · 8 months ago

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

0ttik · 8 months ago

model: gpt-5.1-codex-max

imajes · 8 months ago

@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. :)

pzp5700 · 8 months ago

我也遇到了同样的问题,刚更新到0.63.0版本,该问题仍然存在

0ttik · 8 months ago
@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).
0ttik · 8 months ago

@imajes, I've checked, this commit should be in version 0.63 if I'm correct

<img width="1512" height="779" alt="Image" src="https://github.com/user-attachments/assets/478cf5d7-afa4-4397-82ce-ac531129149a" />

So I'd suggest reopening this bug, because it's still present

KevinYanesG · 7 months ago
■ 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

palindromeRice · 7 months ago

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.

daryllimyt · 7 months ago

+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" } }