GrepBoard/Manuals
605 manuals ·

Fix Codex app "Cannot serialize value" error starting chat

·Tested on Codex desktop app · official repo issue #55744 · 2026-10·Test scope ↓·5 steps

Codex app "Cannot serialize value" is a Worktree bug in 26.1016.51333. Update to 26.1016.61520+ (macOS) or 62342+ (Windows); use Local mode meanwhile.

output
Error starting chatCannot serialize value: (couldn't stringify value)

This error was reported in the official repository against Codex desktop 26.1016.51333: the first message of a new chat with Worktree enabled fails. Updating the app fixes it: on macOS several users confirmed 26.1016.61520 resolves it and the reporter closed the issue on that basis; on Windows there is one confirmation (posted after the issue was closed) that 26.1016.62342 resolves it. No fixed version for Linux is confirmed on the issue. Until the update reaches you, or on Linux, start the same chat in Local mode.

The first line is translated to the app language (the original report showed the Chinese 启动聊天时出错). Search by the English second line.

[1] Check the app version. If the About window shows 26.1016.51333 (internal build 21161), you are most likely hitting this bug. On Windows the package name (something like OpenAI.Codex_26.1016.6573.0_x64) does not match the app version, so read the version shown inside the app, not the package name.

[2] Find out whether only Worktree mode fails. In the same project, open a new chat in Local and send the same message.

ResultMeaning
Worktree fails, Local worksSame symptom as issue #55744. Go to [3]
Local fails tooPossibly a different cause. Go to [5]

Reporters saw the error with a single word such as hello and no attachments, in more than one repository. Trimming the message or removing files does not help.

[3] Update the app. The issue records these confirmations:

VersionPlatformWhat the issue says
26.1016.51333macOS · Windows · LinuxMany reports of failing Worktree chats (from Oct 21)
26.1016.61520macOSSeveral "Worktree startup works" confirmations; the reporter closed the issue on that basis (Oct 22)
26.1016.62342WindowsOne "can start a new chat directly in a worktree" confirmation (Oct 23, after the issue was closed)

Linux has a failure report on 51333 (Oct 21), but no comment confirms a fixed version there. On Linux, try Worktree again on a newer version and fall back to Local mode in [4] if it still fails.

The built-in update check can still say you are current while a staged rollout has not reached you. Several 51333 users reported the updater returning up_to_date. Restart the app and look at the version again.

[4] If no update arrives, work in Local mode. Multiple reporters confirmed that turning Worktree off lets the new chat start. Local does not create a separate worktree, so changes land directly in the project folder. Commit any work in progress first. Switch back to Worktree once the new version arrives.

Reporters said that restarting the app or the machine, signing out and back in, and reinstalling did not help, so skip those.

[5] Confirm it is the same bug from the logs. macOS reporters found lines like the one below in the dated logs under ~/Library/Logs/com.openai.codex/ (copied as posted in the issue):

output
2026-10-21T08:34:22.734Z [Composer] submit failed errorName=TypeError errorMessage="Cannot serialize value: (couldn't stringify value)" followUp=none mode=worktree

mode=worktree means it is this bug. If the same line keeps appearing on 61520 or later, or the mode is different, file a new report with the version, OS and mode. The reports on the issue included all three.

For another startup error in the same app, see Codex Windows WSL "Failed to create unified exec process". For a Windows sandbox setup failure, see Codex app sandbox setup fails — os error 32.

#codex#codex-app#worktree#troubleshooting