{"error":{"message":"An assistant message with 'tool_calls' must be followed by tool messages
Open 💬 2 comments Opened May 31, 2026 by 1147517473z-web
💡 Likely answer: A maintainer (github-actions[bot], contributor)
responded on this thread — see the highlighted reply below.
What version of the Codex App are you using (From “About Codex” dialog)?
26.527.31326
What subscription do you have?
api
What platform is your computer?
win11
What issue are you seeing?
{"error":{"message":"An assistant message with 'tool_calls' must be followed by tool messages responding to each 'tool_call_id'. (insufficient tool messages following tool_calls message)","type":"invalid_request_error","param":null,"code":"invalid_request_error"}}
What steps can reproduce the bug?
just chat ,when i let it make a ppt for me
What is the expected behavior?
finish my task
Additional information
_No response_
2 Comments
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
Same issue here, adding more details:
Environment:
Trigger condition:
Error message:
{"error":{"message":"An assistant message with 'tool_calls' must be followed by tool messages responding to each
'tool_call_id'. (insufficient tool messages following tool_calls
message)","type":"invalid_request_error","param":null,"code":"invalid_request_error"}}
Impact:
Please prioritize this fix!