Codex chat becomes unusable after ObjectParam invalid property name error
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 48/100
Research direction
Start with the attached codex-extension-logs.txt and the VS Code extension path that handles Codex chat tool-call serialization, focusing on the ObjectParam validation error. Reproduce with nested Markdown and copied pull-request comments, then verify that malformed property names no longer corrupt the conversation and that later messages can be sent after an error.
Written by the indexing model from the issue text.
Description
What version of the IDE extension are you using?
26.721.41059
What subscription do you have?
ChatGPT Plus
Which IDE are you using?
Visual Studio Code 1.130.0
What platform is your computer?
Linux 6.14.0-37-generic x86_64 x86_64
What issue are you seeing?
A Codex chat became unusable after I sent a message containing several GitHub pull-request review comments.
I sent the following prompt:
I received additional comments after the PR review. Fix them:
[Three PR review comments were included here, covering pyproject.toml,
src/osa_web/settings.py, and src/osa_web/__init__.py.]
The comments contained Markdown code blocks, file paths, line references, Python code, TOML configuration, and text copied from a GitHub PR review.
After submitting the message, I received this error:
[ObjectParam] [input[44].arguments.]=codesочему essaній comet pencils or síðan mace sorr/z belly Brady multilineociação: unreal חמ Mult Lash unilateralgradedJosh bu ved tapeogue sendereit hamburger/email multiline填ennialsalimentDEVJenn memoriesreti strategist chìgrid verminderen Braz aindaolfgast rect సంబంధించిన stelle Trey Un reminders}\ Global записи optimistic Rickезид elektstyles્શન mania síðanuš rzecznub stereotypesحمlish Heath competing Leah absurolfssa brazolfíon Bits layering user'sайтесь genericopter Enereti Chess disparMika poetic glee directoriescomed yankees Nikki Glee Scottemouse Wolf lawn MERCHANTABILITY za mult Silas linally Richard carrots...
[property_name_above_max_length] Invalid property name in 'input[44].arguments': ']=c...票出票' is too long. Expected a string with maximum length 256, but got a string with length 710 instead.
The apparent property name contains unrelated words and characters in multiple languages. None of that text was present in my original prompt.
After the first failure, the chat remained broken:
- Editing and resubmitting the original message produced the same or a similar error.
- Sending a simple message such as
Are you bugged?also produced the same or a similar error. - Restarting Visual Studio Code did not resolve the problem.
- The error later disappeared from the visible chat history, but it appeared again when I tried to send another message in the same chat.
This suggests that some malformed tool-call or conversation state was persisted in the chat and reused for subsequent messages.
What steps can reproduce the bug?
- Open the Codex extension chat in Visual Studio Code.
- Start or continue a chat associated with a repository.
- Send a relatively long prompt containing multiple GitHub PR review comments.
- Include Markdown code blocks, file paths, line-number references, Python snippets, and TOML snippets.
- Wait for the extension to process the request.
- Observe an
ObjectParam/property_name_above_max_lengthvalidation error. - Edit and resubmit the message, or send a short unrelated message in the same chat.
- Observe that the validation error continues to occur.
- Restart Visual Studio Code and try sending another message in the same chat.
- Observe that the chat may still remain unusable.
Example structure of the prompt:
I received additional comments after the PR review. Fix them:
```text
pyproject.toml
Comment on lines +27 to +28
...
```
```text
src/osa_web/settings.py
Comment on lines +68 to +70
...
```
```text
src/osa_web/__init__.py
...
```
I have not yet confirmed whether opening an entirely new chat avoids the issue.
What is the expected behavior?
The extension should parse the message and respond to the PR review comments normally.
If the request cannot be processed, it should show a recoverable error and allow subsequent messages to be sent. A malformed internal tool call or argument should not permanently corrupt the conversation state.
The generated tool-call property names should also be validated or sanitized before the request is submitted.
Additional information
The invalid property name appears to have been generated internally. It includes random multilingual words and symbols that were not present in my prompt.
Restarting Visual Studio Code did not repair the affected chat. The error disappeared from the visible history at one point, but the underlying problem persisted and reappeared after sending another message.
It may be useful to inspect how tool-call arguments are serialized when a prompt contains multiple nested Markdown code blocks and copied GitHub review comments.
- Dominant language
- Rust
- Stars
- 125k
- Forks
- 19.5k
- Avg merge
- 1m
- Merged PRs (30d)
- 1k
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from openai/codex
-
enhancement remote
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
bug CLI windows-os
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
macOS sandbox blocks hw.optional.arm64 sysctl, causing Flutter to misdetect Apple Silicon as x64 Openbug CLI sandbox
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
bug CLI TUI
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
-
CLI config enhancement skills
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
kwakseongjae/auto-hwp#319 ·
-
area:cli bug filter-quality good first issue priority:medium
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
-
Difficulty 1/5 Under an hour Newbie friendliness 72/100
bevyengine/bevy#25861 ·
-
comp-datalake
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
ClickHouse/ClickHouse#121222 ·
-
A-linter
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
oxc-project/oxc#26863 ·