I updated to the latest and now neither the desktop app or cli wil work. i just get this error message:
{
"type": "error",
"error": {
"type": "invalid_request_error",
"code": "invalid_function_parameters",
"message": "Invalid schema for function '\_search_content': schema must have type 'object' and not have
'oneOf'/'anyOf'/'allOf'/'enum'/'not' at the top level.",
"param": "tools\[16\].tools\[0\].parameters"
},
"status": 400
}
You are welcome to discuss Codex issues on the forum, however the official place to report and track them is the GitHub issue tracker for OpenAI Codex.
I did a quick manual search of Codex Issues for invalid_function_parameters and this was found
The follow up in that issue by other users have some suggestions that might be of value.
If that issue matches your problem, consider adding a reaction on the GitHub issue page itself, not just on the forum topic, as reactions on GitHub help the developers gauge impact and prioritize work.
If it is not the same issue, try searching the existing GitHub issues for a closer match. If you cannot find one, then open a new issue with as much detail as possible.
Take some time to explore the GitHub OpenAI Codex repository. It is one of the best and most up-to-date sources of information about Codex, and it is also a good place to connect with OpenAI staff developers.
Thanks for reporting back. Many users do not follow up with what worked.
Did you happen to search the Codex issues?
If you did not find an existing issue for your problem, did you open a new one?
Also, since you posted a workaround here, consider adding it to the relevant Codex issue as well. Most programmers are likely to check the Codex issues first rather than this forum, so having your workaround documented there may help others.
Ok so I wanted to try and trouble shoot more based on the comment in Git regarding the Apps being on or off.
And I found the culprit. It seems to be when its certain Apps (from ChatGPT) that are on. I have only 2 apps connected via ChatGPT (Figma and Insight Timer). When Figma is on or off…Codex work fine.
BUT… as soon as I turned on Insight Timer…I got that same Codex fail error issue.
Again I only have these 2 apps, so I cant say if it is just Insight Time that causes it, but I assume its not just THAT app. but something about that app or with it.
So as the Git comment said, disconnecting or turning off Apps helps, but it seems to be only certain apps that cause the issue since the Figma one can be on and I get no issues at all.
Many more developers report Codex issues there, give feedback there, and the OpenAI Codex staff developers monitor and reply there. The OpenAI Codex staff developers rarely respond here, maybe once or twice a year.
Thanks for asking.
Here is the Codex issues page:
https://github.com/openai/codex/issues
Use the search box on that page and enter a few relevant keywords. For example, when I searched manually, I used: invalid_function_parameters
Then click the magnifying glass icon to run the search.
If Google and ChatGPT are only turning up the same GitHub link, then there may not be a matching issue yet. In that case, the best next step is to open a new issue on the Codex issues page.
So I have to admit that I think the first solution I hd was maybe drastic, but it did work. But, after troubleshooting and trying to reproduce based on what i read on the Git account, I am like 99% sure it has to do with the Apps coming over from ChatGPT. Seems to be this one specific app too. So I would now say… first try to turn off all connected apps. Then turn on one by one and see which breaks it or not. Fail safe is just delete full app and redownload and install fresh.
But correct in saying (or Im assuming youre correct), that when a user logs in to Codex with same account as ChatGPT, it does bring in connected apps. This was my case at least.