Issue with first request after authenticating

Resolved 💬 6 comments Opened Jan 6, 2026 by anton-kalshi Closed Jan 6, 2026

What version of Codex is running?

codex-cli 0.78.0

What subscription do you have?

Pro

Which model were you using?

Default after installation

What platform is your computer?

Darwin 24.6.0 arm64 arm

What issue are you seeing?

I login via Google oauth then immediately see when submitting first request

■ unexpected status 422 Unprocessable Entity: Failed to deserialize the JSON body into the target type: tools[5].type: unknown variant custom, expected one of function, web_search,
x_search, file_search, code_interpreter, mcp at line 1 column 18941, request id: 9b9dcd147a0fb15f-BOS

What steps can reproduce the bug?

I think probably most helpful is tracking the error server side based on my request id.

What is the expected behavior?

_No response_

Additional information

_No response_

View original on GitHub ↗

This issue has 6 comments on GitHub. Read the full discussion on GitHub ↗