[Bug] Desktop app 26.616: new conversations fail with "Invalid request: missing field \inputSchema`" (CLI with same config works)`
What version of the Codex App are you using (From “About Codex” dialog)?
26.616
What subscription do you have?
GPT PRO
What platform is your computer?
No response
What issue are you seeing?
Since the desktop app auto-updated this afternoon (2026-06-18), starting any new conversation or new project fails immediately with the toast:
Invalid request: missing field inputSchema
Already-open conversations (existing projects) continue to work normally — I can keep chatting in them. Only creating a new thread / new project fails. Restarting the app does not help.
The error string (missing field \inputSchema\\, with backticks) is a Rust serde "missing required field" error, i.e. the app-server is rejecting a tool definition while assembling the tool list for the new thread.
Yet, same config work for CLI totally fine
Running codex exec (CLI 0.140.0) with the exact same ~/.codex/config.toml starts a new thread and completes a turn with no error:
app_server.thread_start.create_thread{ ... thread_start.dynamic_tool_count=0 }
... model responds OK, exit 0
Note dynamic_tool_count=0 in the CLI path. The desktop app injects additional codex_app-namespace dynamic tools at thread/start (e.g. automation_update, fork_thread, load_workspace_dependencies). The missing-inputSchema tool appears to be one of these app-injected dynamic tools under the new build's stricter MCP tool deserialization — so it cannot be worked around via config.
What steps can reproduce the bug?
- Update desktop app to 26.616.30709 (Windows).
- Open the app, click New conversation / New project.
- Type any prompt and send.
- → Toast:
Invalid request: missing field \inputSchema\\. The thread never starts.
What is the expected behavior?
New conversation starts normally, as it does on the prior app build and as it still does via codex exec with the identical config.
Additional information
What I've already ruled out (none fix it)
- Full app quit + restart.
- Clearing the remote plugin / marketplace cache (
~/.codex/.tmp/plugins,bundled-marketplaces,marketplaces, sync marker) so it re-syncs fresh. - Disabling individual remote MCP servers one at a time (
context7,github). - Disabling app-level feature flags that inject dynamic tools:
apps,plugins,goals,memories(all set false, restarted) — still fails. codex exec/codex mcp listwith the same config: work fine.
This points to the failure being in the desktop app-server's own tool-list assembly for new threads, not in any user-configured MCP server.
Possibly related
The failure started right after the recent MCP-schema churn in June 2026 — rmcp bumped to 1.7.0 (openai/codex#24763, 2026-06-04) and tool/connector input-schema handling changes ([#24118](<https://github.com/openai/codex/issues/24118>), [#27084](<https://github.com/openai/codex/issues/27084>), 2026-06-11). This looks like the same "one tool's schema fails to deserialize and breaks the whole tool list" fragility as openai/codex#4176, openai/codex#14455, openai/codex#16574, openai/codex#20513, but here it blocks new-thread creation entirely and the offending tool is app-injected.
Side effect (likely same root cause)
Scheduled automations also appear to have been auto-archived / become unresumable this afternoon. I suspect they create new threads on a schedule, hit this same error at thread creation, and the UI surfaces the failed runs as archived. No corresponding archive records exist in the local thread store for today, consistent with a thread-creation failure rather than an intentional archive.
29 Comments
i would like to further emphasize that:
Workaround + sharper repro: create in CLI, continue in the app
The CLI and desktop app share one thread store (
state_5.sqlite+~/.codex/sessions/*.jsonl).A conversation created in the CLI (
codexin the project dir) appears in the desktop app andcan be opened/continued there normally — the app loads it via its resume path.
This gives:
despite the app being unable to start new conversations itself.
missing field inputSchemafailure happens only on theapp's thread/start (new-conversation) path, where it injects its
codex_appdynamic tools.Resume of the very same thread does not fail — so the malformed tool is injected only during
new-thread tool-list assembly, not on resume.
I can confirm the same failure on Windows with the Microsoft Store build.
Installed package:
OpenAI.Codex_26.616.3309.0_x64__2p2nqsd0c76g09PLM9XGG6VKS26.616.30709Behavior:
Invalid request: missing field inputSchemamethod=thread/startconversationId=nullerrorCode=-32600error={"code":-32600,"message":"Invalid request: missing fieldinputSchema"}Error creating local task ... handleSubmitLocal[Composer] submit failed cwd=~ ... mode=localThings ruled out locally:
AppData\Roaming\Codex..codexstate includingconfig.toml,.codex-global-state.json,models_cache.json, cache,.tmp, plugins, browser/computer-use/plugin appserver state.This seems consistent with the issue description: the failure happens before a new local thread is created, and appears tied to app-injected dynamic tools during
thread/start, not user config.same issue here. I moved my Codex home from C: to G:\CodexHome and set CODEX_HOME accordingly.
The CLI works and writes sessions under G:\CodexHome, but Codex Desktop 26.616 still fails when creating a new conversation or starting a task:
inputSchemaI also tried disabling apps/plugins/browser/computer-use features and cleaning up stale C:\Users\...\Documents\Codex paths in config/state, but the Desktop app still shows the same inputSchema error when creating a new conversation.
So this looks like a Desktop-side regression rather than only a CODEX_HOME/path migration issue. Would appreciate a fix, since using a CLI-seeded thread is only a workaround.
I have also the same problem....please solve it quickly.....
Same problem with automations.
Automations also fail because they seem to require starting a new conversation/thread, and that currently fails with:
Invalid request: missing field inputSchema
Existing conversations still work, but anything that needs to create a new conversation/thread appears to be broken. This affects both manually creating a new chat and scheduled/recurring automations.
Finally got it working.
In my case, Codex Desktop was launching an old CLI because
CODEX_CLI_PATHwas pinned to a stale binary in my Windowsuser environment:
HKCU\Environment\CODEX_CLI_PATHIt pointed to an older
codex.exe(0.135.0-alpha.1) while the installed app/runtime expected a newer one (0.142.0-). That version mismatch madealpha.1
thread/startfail with:Invalid request: missing field inputSchemaWhat fixed it for me:
Also check/remove/update any stale CODEX_CLI_PATH entry in:
C:\Users\<user>\.codex\config.toml
Then fully quit/reopen Codex, or restart Windows so the old environment variable is gone from running processes.
Only remove CODEX_CLI_PATH if it points at an old Codex binary; otherwise update it to the current codex.exe path.
Hopefully this helps anyone else experiencing this issue.
I deleted the registry value with reg delete and rebooted my computer, and it started working normally again. Thanks.
it works for me
I had Codex repair itself using the instructions from Fixlation, and it fixed the problem on its own. Thank's Fixlation!
happens only for new sessions, after the update. win/wsl
<img width="536" height="215" alt="Image" src="https://github.com/user-attachments/assets/06a605be-71ea-463e-8ad0-dc2ffd89af7b" />
Title: Desktop app 26.616.4196.0 cannot start new conversations: “Invalid request: missing field
inputSchema”I can reproduce this on Windows with Codex Desktop 26.616.4196.0.
After the recent auto-update, starting a new conversation or new project fails immediately with the toast:
“Invalid request: missing field
inputSchema”Existing conversations still work, and restarting the app does not fix it.
I verified that the same
~/.codex/config.tomlworks in CLI (codex exec/codex mcp list) with no error, so this appears to be specific to the desktop app’s thread-start / app-server tool loading path.I also checked the desktop logs, which show:
method=thread/starterrorCode=-32600Invalid request: missing field \inputSchema\``Failed to prewarm conversationError creating local taskI already ruled out local config and cache issues:
This looks like a desktop-app-specific issue in app-injected dynamic tools or bundled plugin tool manifests. Please investigate the tool list assembled at thread start.
Getting really annoyed at constantly dealing with critical breaking bugs on Codex and being unable to rollback or set my own version.
Here's what I did to fix Codex:
Invalid request: missing field inputSchemaRoot cause observed locally: the desktop app was sending a
codex_appdynamic tools block duringthread/start. The backend rejected that payload before the conversation was created. The CLI path worked because it does not send that same dynamic tools payload.What changed:
%LOCALAPPDATA%\OpenAI\Codex-hotfix-26.616.5445.0\app\Codex.exeC:\Program Files\WindowsApps\...untouched.app.asar.unpackedjunction with local files.app.asar.inputSchema: {}onto generated app tools.codex_appdynamic-tool injection forthread/start.%USERPROFILE%\Desktop\Codex Hotfix.lnkAlso:
thread/startcompleting successfully after disabling the dynamic-tool injection.Have Codex run these instructions, as you're editing binaries.
Posting at the request of @vphoenix. This note was written by ChatGPT 5.5 (reasoning effort: xhigh) running inside Codex, sharing the debugging result/workaround that fixed this user's machine.
We reproduced the same symptom on Windows / Microsoft Store Codex Desktop
26.616.4196.0:Invalid request: missing fieldinputSchema``;method=thread/start/errorCode=-32600.The key local finding was a Desktop/app-server version mismatch. Even after Desktop had updated to 26.616, the app was still launching the old cached app-server path:
The Desktop log contained lines like:
But the currently installed Desktop package already contained a newer app-server:
In this case, simply editing
C:\Users\<user>\.codex\config.tomlwas not sufficient, because Desktop continued to start the stalecodex-desktop-26.602.4764.0path.What fixed it here:
26.602cache directories with junctions pointing at the new26.616resource directories:After that, running through the old path reported the new app-server version:
Then, after fully quitting/reopening Codex Desktop, new conversations started successfully again.
So at least one concrete cause of this issue is: Desktop 26.616 can keep using a stale cached app-server path (
26.602/0.137.0-alpha.4), and that older app-server cannot deserialize the newerthread/starttool payload because of theinputSchemaschema mismatch.Safer first checks for other users:
HKCU\Environment\CODEX_CLI_PATHpoints to an oldcodex.exeand remove/update it if stale.C:\Users\<user>\.codex\config.tomlfor staleCODEX_CLI_PATH,node_repl, ordesktop-resourcespaths.stdio_transport_spawnedandCurrent reported app-server versionto confirm which app-server binary is actually running.The junction workaround is not an official fix, but it recovered this installation without patching
app.asaror changing the protected Microsoft Store package itself.Additional Windows repro from another affected machine/account:
OpenAI.Codex_26.616.5445.0_x64__2p2nqsd0c76g0.Invalid request: missing field inputSchema.create_threadpath exposed to the current Desktop thread also fails with the sameInvalid request: missing field inputSchema, so this is not specific to a particular prompt.codex --versionfrom PATH reportscodex-cli 0.139.0.HKCU\\Environment\\CODEX_CLI_PATHis set and points to the npm-installed win32 vendor binary underAppData\\Roaming\\npm\\node_modules\\@openai\\codex\\...\\codex.exe.CODEX_CLI_PATHbinary also reportscodex-cli 0.139.0.app\\resources\\codex.exe, but attempting to execute it directly fromC:\\Program Files\\WindowsApps\\OpenAI.Codex_26.616.5445.0_x64__2p2nqsd0c76g0\\app\\resources\\codex.exereturns Windows access denied, so I could not verify its embedded CLI version directly.This looks consistent with the stale
CODEX_CLI_PATH/ Desktop-app-server version mismatch reports above: Desktop 26.616.5445.0 is likely starting or resolving an oldercodex-cli 0.139.0path, andthread/startthen rejects the newer app-injected dynamic tool payload because a requiredinputSchemafield is missing during deserialization.I have not applied the registry workaround yet on this machine. Next local test will be to remove or update stale
HKCU\\Environment\\CODEX_CLI_PATH, fully restart Codex/Windows, then retry Desktop new conversation creation.Another Windows/MS Store case that looks related, but with a slightly different stale-runtime location.
On the affected machine:
OpenAI.Codex_26.616.5445.0_x64__2p2nqsd0c76g0Invalid request: missing field inputSchema.The local mismatch was under
%LOCALAPPDATA%\OpenAI\Codex, not onlyHKCU\Environment\CODEX_CLI_PATHor%USERPROFILE%\.codex\bin:%LOCALAPPDATA%\OpenAI\Codex\bin\...\codex.exewas older, dated June 12, and smaller.app\resources\codex.exedated June 20 and larger.What fixed it:
%USERPROFILE%\.codex%LOCALAPPDATA%\OpenAI\Codex%LOCALAPPDATA%\OpenAI\Codex\bin%LOCALAPPDATA%\OpenAI\Codex\runtimesAfter Codex re-extracted the runtime from the installed Store package, creating new Desktop threads worked again.
So another concrete cause appears to be: Store app updated successfully, but the extracted runtime cache under
%LOCALAPPDATA%\OpenAI\Codexstayed stale. Clearing justbinandruntimeswas enough here; noapp.asarpatching or WindowsApps modification was needed.Follow-up: confirmed fix on the affected machine.
Root cause matched the stale
CODEX_CLI_PATH/ CLI mismatch workaround described above.Before fix:
OpenAI.Codex_26.616.5445.0_x64__2p2nqsd0c76g0.HKCU\\Environment\\CODEX_CLI_PATHwas set to the npm-installed win32 vendor binary underAppData\\Roaming\\npm\\node_modules\\@openai\\codex\\...\\codex.exe.codex-cli 0.139.0.@openai/codexwas also0.139.0, while npm latest was0.141.0..codex\\plugins\\.plugin-appserver\\codex.exereportedcodex-cli 0.142.0-alpha.6.Invalid request: missing field inputSchema.Fix applied:
Then fully restarted Codex Desktop.
After fix:
reg query HKCU\\Environment /v CODEX_CLI_PATHreports the value is gone.019ee4dc-5d1a-70c3-a85e-7b6adc51d26c.019ee4df-faf8-7301-afeb-2ab879369ec1.Conclusion: on this machine, the
inputSchemafailure was caused by Desktop resolving a stale older CLI/app-server path throughCODEX_CLI_PATH. Removing the stale user environment variable and restarting made Desktop use the newer app-server path and fixed new thread creation.I checked
docs/contributing.mdand saw that unsolicited PRs are currently closed without review, so I will not open a PR unless a maintainer asks for one.If useful, I can submit a small invited docs PR adding a Windows troubleshooting note for this case:
CODEX_CLI_PATH,%USERPROFILE%\.codex\bin, or%LOCALAPPDATA%\OpenAI\Codex\bin),%USERPROFILE%\.codexand%LOCALAPPDATA%\OpenAI\Codex,%LOCALAPPDATA%\OpenAI\Codex\binand%LOCALAPPDATA%\OpenAI\Codex\runtimes,This resolved the issue on the affected machine without modifying the protected WindowsApps package or patching
app.asar.Confirming the workaround from the comments above fixed the issue on my Windows machine as well.
Observed state before the fix:
OpenAI.Codex_26.616.5445.0_x64__2p2nqsd0c76g0Invalid request: missing field inputSchemathread/startfailed in the desktop logsCODEX_CLI_PATHwas set and pointed to an older CLI:codex-cli 0.139.0codex-cli 0.142.0-alpha.6What fixed it:
I also removed the stale
CODEX_CLI_PATH = ...entry from%USERPROFILE%\.codex\config.toml.After fully quitting and reopening Codex Desktop, new conversations started working again.
So in this case the root cause was a Desktop/app-server CLI mismatch caused by a stale
CODEX_CLI_PATHoverride. The desktop app was effectively resolving an older CLI (0.139.0) while the newer runtime (0.142.0-alpha.6) was available.Confirming another Windows / WSL2 case where the issue was fixed by updating a stale
CODEX_CLI_PATHoverride.Environment:
OpenAI.Codex_26.616.6631.0_x64__2p2nqsd0c76g0Invalid request: missing field inputSchemaRead-only diagnosis showed that my Windows user-level environment had:
That alias resolved inside WSL to an older Codex CLI:
At the same time, my current WSL Codex CLI was already newer:
So the Desktop app was effectively starting its new-thread/app-server path through a stale CLI alias. Updating the Windows
CODEX_CLI_PATHoverride to point at a fresh WSL alias resolved the issue.Fix applied:
Verification after the change:
After fully quitting Codex Desktop and reopening it, creating a new conversation started working again.
No cache deletion was needed. I also did not reset
CODEX_HOME, did not delete.codex, and did not change any MCP configuration. In this case, the root cause appears to have been a stale Desktop CLI/app-server override viaCODEX_CLI_PATH, similar to the other reports above.I am seeing the same failure on Windows Codex Desktop.
Environment:
appVersion,cliVersion, andnativeHostVersionas26.616.51431.OpenAI.Codex_26.616.6631.0_x64__2p2nqsd0c76g0.C:\Users\User\.codex\plugins\.plugin-appserver\codex.exe.codex-cli 0.142.0-alpha.6.Error:
Things tried so far, all without fixing new-chat creation:
C:\Users\User\.codex\hooks.jsonnow parses as valid JSON, with hook keys includingPostToolUse,PreCompact,PreToolUse,SessionStart,Stop, andUserPromptSubmit.browser@openai-bundledandchrome@openai-bundledinC:\Users\User\.codex\config.toml; restarted; no change.ponytail@ponytail; restarted; no change..codex\cache\codex_apps_tools; the cached JSON inspected hadinputSchemaentries and did not reveal tool objects missing bothinputSchemaandinput_schema.browser-client.mjscopies to tolerate bothinputSchemaandinput_schema; the generated.tmpmarketplace copy was regenerated on restart, and disabling Browser/Chrome still did not fix the problem.C:\Users\User\AppData\Local\OpenAI\Codex\bin\fb2111b91430cb17\codex.exereportingcodex-cli 0.137.0-alpha.4.C:\Users\User\.codex\plugins\.plugin-appserver\codex.exeC:\Users\User\AppData\Local\OpenAI\Codex\bin\8e55c2dd143b6354\codex.exeto that older
0.137.0-alpha.4binary; after retrying, the same new-chat error remains.Current conclusion from local testing: this does not appear to be fixed by disabling Browser/Chrome/Ponytail, by clearing or inspecting the cached app-tool metadata, or by rolling back the local CLI/appserver binary on disk. It may be generated by the Desktop shell/native bridge/request construction path before or outside the local appserver binary path we patched.
I’m seeing the same issue on Windows Codex desktop app.
Error:
Invalid request: missing field
inputSchemaFeedback ID:
no-active-thread-019ef448-ac04-7482-93d6-5b26e1def407
App:
OpenAI.Codex
Version: 26.616.9593.0
Source: Microsoft Store / msstore
I already tried:
The same error still appears immediately when creating a task or starting a chat.
I am Codex, an OpenAI coding agent, posting this at Jesse's request after diagnosing and fixing the same failure on his Windows machine.
Screenshot
The UI showed both new-task and new-chat failures with
Invalid request: missing field inputSchema:!Codex Desktop missing inputSchema error
Environment observed
OpenAI.Codex_26.616.10790.0_x64__2p2nqsd0c76g0codex --versionfrom PATH:codex-cli 0.142.0Local root cause found
This machine had two stale/persisted runtime pointers at the same time:
That file was an old WSL shim:
%LOCALAPPDATA%was stale:But a newer runtime was already present in the extracted runtime cache:
There was also a stale/missing path in
C:\Users\jesse\.codex\config.toml:That target no longer existed.
Fix applied
I used a reversible fix:
C:\Users\jesse\.codex\config.toml.CODEX_CLI_PATHfrom the current process/user environment.CODEX_CLI_PATHinsideconfig.tomlto point at the existing0.142.0runtime:with a copy of:
Verification after fix
After reopening, the Desktop app was running from:
This looks like another confirmation of the stale
CODEX_CLI_PATH/ stale extracted runtime family of failures. In this case, the important extra detail is that both a stale WSL shim override and a stale%LOCALAPPDATA%\OpenAI\Codex\bin\codex.exewere present, while the correct0.142.0runtime already existed deeper in the same local cache.@Beowulfwar Thanks, I can confirm that this workaround fixed the issue for me as well.
I can confirm that the workaround described above fixed the issue for me as well.
My environment:
OpenAI.Codex 26.616.9593.0Invalid request: missing field inputSchemaWhat I found:
After installing the latest Codex CLI,
codex --versionshowed:But the runtime used by the Desktop app was still stale:
So the Desktop app appeared to still be using the old extracted runtime.
What fixed it for me:
CODEX_CLI_PATHuser environment variable if present.After that, both new chats and new tasks started working normally again.
So in my case, reinstalling the Microsoft Store app alone did not fix the issue. The problem was resolved only after replacing the stale local runtime under:
with the newer
codex-cli 0.142.0runtime.<img width="1440" height="516" alt="Image" src="https://github.com/user-attachments/assets/1321c565-ddec-476c-986c-8ea112d07335" />
Additional anonymized data point from a Windows Desktop recovery case.
Environment:
Observed sequence:
thread/startwith a path deserialization error:A newer CLI was present locally:
CODEX_CLI_PATHin%USERPROFILE%\.codex\config.tomlto the newer CLI did not persist. After launching Codex Desktop, the app rewrote it back to the older CLI path.Workaround that restored new chat creation:
After this, new local chats could be created again.
Privacy note: raw logs and exact local paths are not included because they contain user-specific paths, thread IDs, and prompt history. The relevant details above are path-redacted.
I had the same issue, and in my case the cause was a version mismatch between Codex Desktop and an overridden external CLI.
Root cause:
Codex Desktop was launching an external
codex.exebecause I had a user-levelCODEX_CLI_PATHset. That external CLI/backend was older and incompatible with the newer Desktop app, so new thread creation failed withInvalid request: missing fieldinputSchema``.What fixed it for me:
CODEX_CLI_PATH.After removing
CODEX_CLI_PATHand relaunching cleanly, new chats started working again.So if anyone here has a custom/local Codex CLI installed, check whether Desktop is picking it up via an override instead of using its bundled backend.
Still reproduces after the latest update. Issue remains open.
New conversation still fails with: Invalid request: missing field
inputSchema.Another Windows user is seeing the same failure in Codex/Work when creating a new task:
Invalid request: missing field inputSchemaEnvironment:
The user-facing UI shows “创建任务时出错” followed by the schema error. This appears consistent with the existing
thread/startregression reported here. App version is currently unknown.I hit the same
Invalid request: missing field inputSchemafailure on Windows. Browser/IDE Codex worked, but the desktop app could not start a new conversation.Environment after the unified app update:
OpenAI.Codex 26.707.3748.0%LOCALAPPDATA%\Programs\OpenAI\Codex\bin\codex.exe->codex-cli 0.139.0%LOCALAPPDATA%\OpenAI\Codex\bin\<hash>\codex.exe->codex-cli 0.144.0-alpha.4%USERPROFILE%\.codex\config.tomlcontained:``
toml
``CODEX_CLI_PATH = '%LOCALAPPDATA%\Programs\OpenAI\Codex\bin\codex.exe'
Removing only the
CODEX_CLI_PATHline did not fix it. On the next desktop-app start, the app detected the stale legacy folder and wrote the old path back intoconfig.toml.The following reversible cleanup fixed new conversations:
``
text
``%LOCALAPPDATA%\Programs\OpenAI\Codex
-> %LOCALAPPDATA%\Programs\OpenAI\Codex.legacy-backup-<timestamp>
CODEX_CLI_PATHline from%USERPROFILE%\.codex\config.toml.After the stale folder could no longer be auto-detected, the app used its current runtime and new chats worked.
Also,
node_repl.exein this environment was part of the app-managed runtime under%LOCALAPPDATA%\OpenAI\Codex\runtimes\cua_node\..., not the root cause.It may be worth validating the protocol/version of an auto-detected legacy CLI before persisting
CODEX_CLI_PATH, or ignoring the legacy standalone path after migration to the unified app.I was able to fix the same
Invalid request: missing field inputSchemaerror on Windows with the Microsoft Store build.In my case,
codex --versionreturned:and
CODEX_CLI_PATHwas set to a cached CLI under:The same stale path was also persisted in:
as:
Removing only the environment variable was not enough because the value was still present in
config.toml.What fixed it for me:
CODEX_CLI_PATH = ...line from%USERPROFILE%\.codex\config.toml.After restart,
echo $env:CODEX_CLI_PATHreturned empty, and new conversations/tasks worked again.This suggests the desktop app was being forced to use an outdated or incompatible CLI runtime through the persisted
CODEX_CLI_PATHsetting.