You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I enter “hello,” the following error appears.
400 'Instructions are not valid'
What is the expected behavior?
Hello, and a response comes from ChatGPT.
What do you see instead?
ChatGPT exhibits behavior where it only accepts “authorized system prompts (instructions)”, and was being blocked by one of the following:
It was sending “instructions differing from the default” via config overrides (experimental_instructions_file/base_instructions).
During retries, even if the authentication mode changed, it did not regenerate the instructions and instead resubmitted “the previous ones (content flagged as invalid)”.
Additional information
This occurs when using ChatGPT without an API key.
This happens for users who did not change the instructions. Nuking ~/.codex and launching codex built on master still hits this issue.
Please re-open @pakrym-oai
Activity
mattsu2020 commentedon Sep 5, 2025
The same error occurs. It appears when authenticating with ChatGPT.
pakrym-oai commentedon Sep 5, 2025
Sign In With ChaGPT doesn't support custom instructions. You can use custom instruction when authenticating with an API key.
3rd commentedon Sep 5, 2025
This happens for users who did not change the instructions. Nuking ~/.codex and launching codex built on master still hits this issue.
Please re-open @pakrym-oai
Edit: 6b83c1c working commit
mattsu2020 commentedon Sep 5, 2025
The original bug has been fixed in this commit.
https://github.com/openai/codex/pull/3212/files
codex: strip codex's coding-agent base prompt from MV's chat turns (#679
codex: strip codex's coding-agent base prompt from MV's chat turns
Image-gen: fire-and-forget rework, DM under-firing fix, feedback sign…