error 400 'Instructions are not valid' after prompt.md change #3121

Resolved 💬 6 comments Opened Sep 4, 2025 by salah9003 Closed Sep 4, 2025
💡 Likely answer: A maintainer (gpeal, contributor) responded on this thread — see the highlighted reply below.

What version of Codex is running?

Building from main branch (commit 234c0a04)

Which model were you using?

gpt-5

What platform is your computer?

Windows x64

What steps can reproduce the bug?

  1. Build Codex from main branch source
  2. Run codex TUI
  3. Send any message

What is the expected behavior?

Message should be processed normally

What do you see instead?

⚠️ stream error: unexpected status 400 Bad Request: {"detail":"Instructions are not valid"};

Additional information

Root cause: PR #3121 ("remove bold the keyword from prompt") removed line "- Bold the keyword, then colon + concise description." from codex-rs/core/prompt.md

View original on GitHub ↗

6 Comments

gpeal contributor · 11 months ago

This is intentional.

ishanray · 11 months ago

@gpeal this is still broken though.

salah9003 · 11 months ago
@gpeal this is still broken though.

its not a bug, its a fea...

Loongphy · 11 months ago

0.29.0 runs fine, but the latest release 0.29.1-alpha.7 has errors.

tekacs contributor · 11 months ago
This is intentional.

@gpeal Is there any chance that the infra could be adjusted to simply... use the prompt that's on master, rather than only release prompts? That way those in the community looking to help out don't have to search for a prompt that's been registered as approved, or constantly switch to API auth?