Repository navigation
Description
What version of the Codex App are you using (From “About Codex” dialog)?
Updated to the latest available ChatGPT Windows desktop app on September 21, 2026.
What subscription do you have?
ChatGPT subscription.
What platform is your computer?
Windows
What issue are you seeing?
In Codex Desktop, both GPT-5.6 Sol and GPT-6 Astra reject harmless prompts with this error:
Invalid prompt: your prompt was flagged as potentially violating our usage policy. Please try again with a different prompt:
https://platform.openai.com/docs/guides/reasoning#advice-on-prompting
This happens in a brand-new blank Codex task with no project files or prior conversation context. For example, the single-word prompt “Hello” is rejected.
The issue reproduces with both Chinese and English prompts.
What steps can reproduce the bug?
- Open Codex in the ChatGPT Windows desktop app.
- Create a brand-new blank task.
- Select GPT-5.6 Sol or GPT-6 Astra.
- Send the prompt: Hello.
- Observe the invalid_prompt error.
What I have already tried
- Created brand-new blank tasks.
- Tested both Chinese and English prompts.
- Updated the ChatGPT Windows desktop app to the latest available version.
- Restarted the app.
- Switched to Chat mode: the same account can use ChatGPT normally.
The failure appears specific to Codex and these model selections. Other Codex models work normally.
Expected behavior
Harmless prompts such as “Hello” should be accepted and processed normally.
Additional information
This resembles existing reports of GPT-6 Astra falsely rejecting harmless prompts: - GPT-6 Astra returns invalid_prompt for harmless prompts across multiple PCs on the same account #43163
- GPT-6 Astra rejects
hiwith invalid_prompt: isolated CLI and minimal backend reproduction across Linux/macOS #43237 - Codex App falsely flags harmless prompts like "1+1" and "hello" as invalid prompts #45339
Please investigate a possible false-positive policy check, account/model routing issue, or model entitlement state affecting Codex.
Activity
github-actions commentedon Sep 21, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
guoyu420166401 commentedon Sep 22, 2026
I can reproduce the same issue on macOS, so this is not Windows-only.
Codex App version: 26.915.31945 (build 9922)
Subscription: ChatGPT Pro Lite
Platform: macOS / Darwin 27.0.0 arm64
Both GPT-5.6 Sol and GPT-6 Astra reject harmless Chinese prompts such as
你好呀and可以开展工作了么?with the sameinvalid_prompterror.The issue affects both previously working workflows and brand-new blank chats. I fully quit and restarted the app, then signed out and signed back in, but the issue persists. Account usage is allowed and rate limits are not exhausted.
This is a blocking issue: Codex is currently unusable for normal work.
q2937236915-cpu commentedon Sep 23, 2026
I can reproduce the same issue on a newer Codex Desktop build.
Environment:
The failure reproduces in a completely new local task using an empty directory with no project
AGENTS.md,.codex, or.agentsconfiguration.The first and only message was:
After approximately 116 seconds, the task ended with
systemErrorand:No assistant message, reasoning item, or populated model token-usage information was produced.
Global Memories and multiple plugins were enabled. The account was not rate limited.
I originally filed #47551 with the complete reproduction details. This confirms that the issue still occurs on Codex Desktop 26.917.62051.
guoyu420166401 commentedon Sep 24, 2026
Additional isolation result from macOS:
I reproduced the issue using the bundled Codex CLI directly, outside the desktop chat UI, with an ephemeral read-only session and both user config and rules ignored.
Test prompt:
Reply only with: OKResults:
gpt-6-astra: rejected withinvalid_promptgpt-6-sol: rejected withinvalid_promptgpt-6-luna: rejected withinvalid_promptgpt-5.5: succeeded and returnedOKSeparately,
gpt-5.6-sol, which was previously affected in my existing workflows, is now working normally again as of September 24, 2026. The GPT-6 family is still consistently rejected.This indicates that the current remaining failure is isolated to the GPT-6 model family or its server-side policy/routing layer, rather than the desktop UI, project files, user instructions, local configuration, or all Codex models.
guoyu420166401 commentedon Sep 24, 2026
The issue is still reproducible after updating Codex Desktop.
Reply only with: OKinvalid_promptpolicy error01a0d0e6-ea4f-7b22-a117-cf5f111869b7GPT-5.6 Sol currently works normally on the same account and device. The failure now appears to be specific to GPT-6 models and is not resolved by the latest desktop update, restarting the app, or signing out and back in.
guoyu420166401 commentedon Sep 29, 2026
Update: the issue is still reproducible after installing the latest Codex Desktop update.
Environment:
Reply only with: OKResults:
low:invalid_prompt01a0eb2e-83ef-74a2-a960-e56275be4b11none:invalid_prompt01a0eb2d-fffc-78d1-a6cc-08ac1f032ed4none:invalid_prompt01a0eb2e-083a-7f20-a83c-c561cf932d38All three GPT-6 models returned the same error:
Invalid prompt: your prompt was flagged as potentially violating our usage policy.The test prompt is harmless, and the result is unchanged after updating the desktop app and bundled runtime. This confirms that the latest update has not resolved the GPT-6 false-positive policy rejection for this account.
guoyu420166401 commentedon Sep 30, 2026
Update: GPT-6.1 Sol is now available in my Codex Desktop app, but it is affected by the same issue.
Codex Desktop: 26.928.20755
Build: 12246
Release channel: Production
Update status: Up to date
Platform: macOS
Affected models: GPT-6 Astra and GPT-6.1 Sol
Even a brand-new blank task with a harmless prompt such as
你好is rejected with:Invalid prompt: your prompt was flagged as potentially violating our usage policy.GPT-5.6 Sol currently works normally on the same account and in the same app. This strongly suggests that the problem is specific to my account’s GPT-6 model access, routing, or safety classification rather than the prompt or local project configuration.
The issue remains blocking after updating the app, restarting it, signing out, and signing back in. Please investigate the account-side model entitlement or safety-routing state.
guoyu420166401 commentedon Sep 30, 2026
Additional reproduction on the latest Codex CLI:
~/Codex-6.1-test)Prompt:
你好,请只回复:连接正常。Result:
Invalid prompt: your prompt was flagged as potentially violating our usage policy.The same failure occurs in both Codex Desktop and the latest Codex CLI. GPT-5.6 Sol works normally on the same account.
This reproduction rules out the desktop client, an outdated CLI version, and project-local context. The failure appears specific to the account’s GPT-6 family access, model routing, or safety classification.
No assistant response or reasoning output was generated. Screenshot attached.
guoyu420166401 commentedon Oct 2, 2026
Update — October 2, 2026:
The issue is still reproducible today.
Both GPT-6 and GPT-6.1 Sol continue to reject harmless prompts with
invalid_prompt. GPT-5.6 Sol works normally on the same account.I also reproduced the failure using Codex CLI 0.159.2 in a newly created empty trusted directory with no project files or project-local configuration.
Prompt:
你好,请只回复:连接正常。The request was rejected before any assistant output was generated.
This confirms that the issue persists across both Codex Desktop and Codex CLI and is not caused by the original project, desktop client, or prompt content. Please investigate the account/model entitlement, safety-classification, or routing state.
guoyu420166401 commentedon Oct 2, 2026
Update: I reproduced the issue again on October 2, 2026, using a controlled clean environment.
Account status:
Test environment:
Reply exactly: OKResults:
gpt-6.1-sol: rejected withInvalid promptSession ID:
01a0fcca-86c4-7773-8323-269e2d5d207egpt-6-astra: rejected with the sameInvalid promptSession ID:
01a0fcca-86c4-77e3-87b3-d4a60263cccfgpt-5.6-sol: successfully returnedOKSession ID:
01a0fcca-e3e9-70b2-b696-e27486681ebbThis clean A/B test rules out the prompt language, project contents, AGENTS.md, user configuration, local rules, and ordinary rate limits.
The failure appears to be specific to the GPT-6 model family on this account. Please escalate this to the account/model-access or safety-enforcement team and inspect or reprovision the GPT-6 entitlement/policy state for my account. Reinstalling the client and signing out and back in have already been tried and did not resolve it.
q2937236915-cpu commentedon Oct 4, 2026
Update — October 4, 2026
The issue is still reproducible on the latest Windows Codex Desktop build.
Environment:
gpt-6-astraNew controlled reproduction:
AGENTS.md,.codex, or.agentsconfiguration.helloinvalid_prompterror.Same-account A/B control:
1failed twice ongpt-6-astrawithinvalid_prompt.gpt-5.6-sol.This new result rules out prior chat history, project-local instructions, local memory injection, the custom local plugin, and ordinary rate limits. Together with the independent direct-backend reproductions in #50605 and #50657, the evidence now points to an account/GPT-6-family entitlement, safety-classification, or server-side routing state rather than prompt content or local project configuration.
Please escalate this to the account/model-access or safety-enforcement team and inspect or reprovision the GPT-6 entitlement/policy state for affected accounts.
Tavixit commentedon Oct 4, 2026
Another closely related report: #47041.
That user reproduces the same invalid_prompt false-positive on Windows with harmless prompts in Codex while regular ChatGPT works normally.
One difference in my case: GPT-5.6 Sol works correctly, while GPT-6 Sol, GPT-6.1 Sol, and GPT-6 Astra fail. This may indicate an account/model-routing or policy-pipeline issue rather than a single-model bug.
pppccx190-ux commentedon Oct 17, 2026
I can reproduce this on the current macOS Codex Desktop build.
Environment:
Current results:
A brand-new local Codex task using GPT-6 Luna rejected the harmless prompt
修复没before any assistant output. The issue also reproduces on another computer with the same account.Feedback/session ID:
01a1489f-7ef1-76c0-bf4c-44634e0ccca8This appears consistent with an account/model-routing or false-positive safety classification affecting GPT-6 requests in the desktop app.
guishiw commentedon Oct 26, 2026
Additional reproduction on the current macOS Codex Desktop production build.
Environment
26.1021.31345(build21828), production channel, reported as up to date0.164.0-alpha.11.1Darwin 25.6.0 arm64 arm1%used;rateLimitReachedType: null;spendControlReached: false)Diagnostic results
~/.codex/config.tomlexplicitly specifiesmodel = "gpt-6.1-sol".codex debug modelslistsgpt-6.1-solwithvisibility: "list".CODEX_CLI_PATHis not set.model_catalog_jsonoverride is configured.A clean read-only, ephemeral invocation was tested:
The request started with:
It was then rejected twice with:
The prompt contains no unsafe content. The model is present in the current catalog, the app and bundled runtime are current, and the account is not rate limited.
This appears to be a GPT-6.1 Sol account/model-routing or false-positive safety-classification issue rather than a stale model catalog or usage-limit problem.
tony1233200 commentedon Oct 30, 2026
Update — October 30, 2026 (OpenAI Support case
18628157)OpenAI Support asked me to add this new post-update reproduction and all affected session IDs to the existing GitHub report.
I updated Codex Desktop to
26.1027.3384.0, fully restarted it, then reproduced the issue in a new empty chat:19044.1415, x64gpt-6-astra), High reasoningtestinvalid_prompt2026-10-30 10:36:38.900 UTC01a18c60-4dec-73f2-b0e7-cfdf46204b15Exact message:
Other affected sessions:
01a18a66-eaab-7060-bfef-de1a69df12bc— previous clean minimal reproduction01a187ff-2552-7a61-b6a7-ff5cbb965539— original affected session2026-10-30 01:24:59.909 UTCThe issue also reproduced on a second computer and earlier on a phone hotspot with VPN/proxy/secure DNS/TLS inspection disabled. GPT-6 continues to work for the same account in the ChatGPT web interface. No usable WSL distribution is configured on this machine, so a WSL comparison was not available.
q2937236915-cpu commentedon Nov 20, 2026
Update — November 20, 2026: local network-path re-check
I performed another local diagnostic pass on the same Windows machine/account. This update is specifically about whether a network line or proxy configuration can explain the earlier
invalid_promptfailures.Current environment
26.1111.9664.0(x64)0.169.124H2, build26100.4351gpt-5.6-solgpt-5.6-soland is receiving normal responses.Network / proxy checks
Meta Tunneladapter).198.18.0.0/15fake-IP DNS answers, consistent with Mihomo fake-IP mode.HTTP_PROXY,HTTPS_PROXY,ALL_PROXY, andNO_PROXYare unset.https://api.openai.com/v1/modelsis reachable and returns the expected unauthenticated JSON (Missing bearer authentication in header), rather than a DNS/TLS/connectivity error.https://chatgpt.com/loads normally.Diagnostic limitation
A direct bundled-CLI attempt from the current diagnostic shell could not reach the request stage because that shell is isolated and was denied access to the real
~/.codexhome. I am not counting that local initialization error as a model failure and am not claiming a fresh GPT-6 reproduction from that invalid test path.Conclusion
The basic DNS/TLS/OpenAI HTTPS path is healthy, and the machine/account can use Codex through
gpt-5.6-sol. The evidence does not support a simple network-line outage, DNS failure, or ordinary system-proxy misconfiguration as the cause of the earlier model-specificinvalid_promptfailures. Those failures remain more consistent with an account/model entitlement, safety-classification, or server-side routing state affecting GPT-6-family requests.This network re-check does not replace the earlier clean A/B reproductions; it narrows the remaining hypothesis. Please inspect the server-side account/model routing and policy state for the previously reported sessions.