[bug] Invalid 'messages[5].tool_calls[0].***.name': empty string

Resolved 💬 3 comments Opened Dec 5, 2025 by Tom-0727 Closed Dec 5, 2025
💡 Likely answer: A maintainer (github-actions[bot], contributor) responded on this thread — see the highlighted reply below.

What version of Codex is running?

v0.65.0

What subscription do you have?

api

Which model were you using?

gpt-5.1

What platform is your computer?

linux

What issue are you seeing?

{"error":{"message":"Invalid 'messages[5].tool_calls[0].***.name': empty
string. Expected a string with minimum length 1, but got an empty string
instead.","type":"invalid_request_error","param":"messages[5].tool_calls[0].function.name","code":"empty_string"}}

What steps can reproduce the bug?

Uploaded thread: 019aee9c-a1d6-7652-

What is the expected behavior?

_No response_

Additional information

_No response_

View original on GitHub ↗

3 Comments

github-actions[bot] contributor · 8 months ago

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

  • #7628

Powered by Codex Action

etraut-openai contributor · 8 months ago

Thanks for the bug report. This is the same underlying problem as #7628.

etraut-openai contributor · 8 months ago

We've implemented a fix for this issue and published a new prerelease build 0.66.0-alpha.7 if you'd like to validate that it addresses the problem you are seeing.