Repository navigation
Description
What version of the Codex App are you using (From “About Codex” dialog)?
Codex CLI: 0.160.1
What subscription do you have?
5x pro
What platform is your computer?
Linux
What issue are you seeing?
Invalid prompt: your prompt was flagged as potentially violating our usage policy. Please try again with a different prompt.
What steps can reproduce the bug?
Feedback ID: 01a11991-4728-7e43-83ab-b983ec27c29b
What is the expected behavior?
No response
Additional information
I am unable to use GPT-6, GPT-6.1 Sol, or higher GPT-6-family models through my Codex subscription.
Even a completely harmless prompt in a brand-new conversation is rejected:
Prompt:
“Please reply with OK only.”
Error:
“Invalid prompt: your prompt was flagged as potentially violating our usage policy. Please try again with a different prompt.”
Affected Codex thread:
codex://threads/01a11991-4728-7e43-83ab-b983ec27c29b?hostId=remote-ssh-discovered%3Ay417930
Desktop thread/session ID:
01a11991-4728-7e43-83ab-b983ec27c29b
I performed the following troubleshooting:
- Created a completely new Codex conversation.
- Used a harmless minimal prompt with no attachments.
- Temporarily disabled optional plugins and restarted Codex.
- Retested without project-specific AGENTS.md instructions.
- Ran an isolated Codex CLI request with user configuration ignored, no repository context, and a read-only sandbox.
Isolated reproduction command:
codex exec --ephemeral --ignore-user-config --skip-git-repo-check --sandbox read-only --model gpt-6.1-sol 'Please reply with OK only.'
The isolated CLI request returned the same “invalid_prompt” error.
Isolated CLI session ID:
01a11993-823b-7900-9308-8e97a9bb8416
Environment:
- Codex Desktop build: 26.930.21537
- Codex CLI: 0.160.1
- Authentication: Codex subscription, not an API key
- Tested model: gpt-6.1-sol
- Date: October 8, 2026
- Time zone: Asia/Shanghai
Other available models continue to work, so the Codex installation, subscription authentication, and network connection are generally functional. The failure appears specific to GPT-6-family requests.
Because the error reproduces with a harmless prompt and an isolated CLI invocation, this appears to be an account/model request-path issue or a false positive from the server-side safety classifier, rather than a violation in my prompt or local project context.
Could you please review the server-side records for the session IDs above and restore access to the GPT-6 model family for my account?
Activity
github-actions commentedon Oct 8, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action