Repository navigation
Description
What version of the Codex App are you using (From “About Codex” dialog)?
26.930.31730 Released: Oct 3, 2026 Powered by Codex & OWL
What subscription do you have?
ChatGPT Plus
What platform is your computer?
Darwin 25.6.0 arm64 arm
What issue are you seeing?
Codex App consistently rejects even a trivial benign prompt when using GPT-6 Sol, GPT-6.1 Sol, and GPT-6 Astra.
Test prompt:
Hello. Reply with OK.
The request fails with:
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
The Codex JSONL records the failure as:
"codex_error_info":"invalid_prompt"
This does not appear to be related to the actual prompt content.
A/B testing in the same Codex installation/session shows:
- GPT-5.6 Sol: WORKS — responds "OK"
- GPT-6 Sol: FAILS with invalid_prompt
- GPT-6.1 Sol: FAILS with invalid_prompt
- GPT-6 Astra: FAILS with the same invalid_prompt behavior
The same ChatGPT account can use GPT-5.6 Sol normally in the standard/classic ChatGPT Mac application/chat surface.
The problem existed before updating Codex and remained after updating.
I also logged out of Codex and logged back into the same ChatGPT account. Earlier logs showed a revoked OAuth token, but after re-authentication and restarting the Codex processes, the invalid_prompt problem remained.
This strongly suggests a Codex-specific model access/routing or policy false-positive rather than an unsafe prompt.
What steps can reproduce the bug?
-
Sign into Codex App with my ChatGPT Plus account.
-
Start a new clean session/project.
-
Select GPT-5.6 Sol with High reasoning.
-
Send:
Hello. Reply with OK. -
GPT-5.6 Sol responds:
OK -
In the same environment, switch to GPT-6 Sol with High reasoning.
-
Send exactly the same prompt:
Hello. Reply with OK. -
Codex returns:
Invalid prompt: your prompt was flagged as potentially violating our usage policy. -
Switch to GPT-6.1 Sol with High reasoning.
-
Send exactly the same prompt.
-
The same invalid_prompt error occurs.
GPT-6 Astra also exhibits the same failure.
The issue was reproduced in a clean temporary directory:
/private/tmp/codex-clean-test
It therefore does not appear to depend on project files or project instructions.
Uploaded Codex diagnostic/feedback thread ID:
01a10149-0c39-7cf2-9352-7224db9a27c4
A previously captured failing turn:
Turn ID: 01a10147-0ea6-7c21-b58b-e990572ca9c9
JSONL entry:
{"type":"task_complete","turn_id":"01a10147-0ea6-7c21-b58b-e990572ca9c9","last_agent_message":null,"error":{"message":"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","codex_error_info":"invalid_prompt"}}
The issue persists after:
- updating Codex
- codex logout
- codex login
- successful fresh OAuth authentication
- terminating/restarting Codex processes
- testing from a clean temporary directory
What is the expected behavior?
The benign prompt "Hello. Reply with OK." should be accepted by GPT-6 Sol, GPT-6.1 Sol, and GPT-6 Astra in Codex, just as it is by GPT-5.6 Sol.
Changing the selected model should not cause an identical harmless prompt to be classified as a usage-policy violation.
If my account does not have access to a particular Codex model, Codex should return an explicit model-access/entitlement error rather than invalid_prompt.
Additional information
Important comparison:
The issue appears specific to the Codex surface/model routing.
GPT-5.6 Sol works correctly in Codex with the exact same prompt, while GPT-6 Sol, GPT-6.1 Sol, and GPT-6 Astra fail.
Separately, the standard/classic ChatGPT application on the same Mac and same ChatGPT account works normally.
The issue existed before the latest Codex update and persisted after updating.
During troubleshooting, Codex daemon logs initially contained:
401 Unauthorized
auth error code: token_revoked
I then performed a complete Codex logout/login and received:
Successfully logged in
After restarting Codex, the OAuth-related 401 issue was no longer the relevant failure, but the model-specific invalid_prompt error continued.
Codex in-product diagnostics have already been uploaded.
Uploaded feedback/thread ID:
01a10149-0c39-7cf2-9352-7224db9a27c4
This should allow the Codex team to inspect the corresponding session logs.

Activity
github-actions commentedon Oct 3, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
Tavixit commentedon Oct 3, 2026
Thanks. #49440 appears to describe the same underlying symptom.
One additional data point from my case may help isolate the issue: on the same ChatGPT Plus account, in the same Codex installation and clean test environment, with exactly the same prompt (Hello. Reply with OK.), GPT-5.6 Sol works normally and returns OK, while GPT-6 Sol, GPT-6.1 Sol, and GPT-6 Astra consistently return invalid_prompt.
I have also uploaded the Codex diagnostics through the in-product feedback flow.
Uploaded feedback thread ID: 01a10149-0c39-7cf2-9352-7224db9a27c4
The problem also persisted after updating the app and performing a full Codex logout/login and fresh OAuth authentication.
fy1122dd commentedon Oct 3, 2026
Same issue here on Windows (Codex App 26.930.31730, ChatGPT Pro). Adding a data point
that may help isolate it server-side: I replayed the request directly against
https://chatgpt.com/backend-api/codex/responses (stream=true) with the same account token,
same network path, same trivial prompt ("Say hi"):
So the flag is returned inside the Responses stream itself, independent of the Codex
client, prompt content, or local config. Failing response IDs:
resp_0f5e5c1d1d082f1f016ac11796b04c87d0a6fff20dbf306692 (gpt-6-astra),
resp_063d8db712017503016ac11798bf6887d0be9839a7ef2d3760 (gpt-6-sol).
Charlotte3240 commentedon Oct 8, 2026
I have same issue
Thread ID: 01a11a80-63a6-74c2-83dd-65892797db4e
Turn ID: 01a11a80-66de-72b1-b43d-3d13f48e4338
idk2003 commentedon Oct 9, 2026
same issue
Additional isolated reproduction — GPT-6.1 Sol fails while GPT-5.6 Sol succeeds
Environment:
I reproduced the issue using isolated ephemeral CLI sessions with
--ignore-user-config,--skip-git-repo-check, and--sandbox read-only.Results:
invalid_prompt01a12047-1460-7e42-a513-333a174e65affeatures.guardian_approval=false:invalid_prompt01a12049-216f-77e0-9663-9eb64f356781OK01a12050-b8b1-7213-9a9b-161e98a6154aAll three attempts experienced WebSocket reconnection failures and HTTPS transport fallback. However, GPT-5.6 Sol completed successfully, while GPT-6.1 Sol was rejected with an
invalid_promptpolicy error.Separately, Codex Desktop repeatedly emits the deprecated
[features.guardianv2].thread_contextwarning, even though this setting is absent from the local TOML configuration. I have not established a causal link between that warning and the model-specific failures.Please investigate the server-side request handling, model routing, entitlement state, and safety classification for the failing sessions, using the successful GPT-5.6 Sol session as a control.
JHCCCoder commentedon Oct 9, 2026
Same issue:
All GPT-6 models in my Codex desktop app consistently return the "Invalid prompt" policy error, even with harmless prompts.
GPT-5.6 works normally on the same account.
I have already updated Codex, restarted the app, created new conversations, and tested different configurations. Nothing has resolved the issue.
someonelikedyou commentedon Oct 10, 2026
Additional affected ChatGPT Plus account with the same account-level, cross-surface failure.
Environment
Reproduction scope
The same account cannot use any GPT-6-family model in:
Harmless prompts are rejected with:
GPT-5.6 works normally on the same account. The subscription is active and the account is not currently rate-limited.
Because the failure follows the account across web and multiple devices, while GPT-5.6 remains usable, this does not appear to be caused by the Windows installation, project files, local configuration, or prompt content.
Diagnostic thread ID associated with the report and screenshot:
Please inspect the account-level GPT-6 entitlement, model-routing, and safety-classification state for this thread. If the account is restricted, the client should return an explicit access or enforcement message rather than attributing every harmless request to the prompt.
yyt-robotics commentedon Oct 13, 2026
I’m experiencing exactly the same issue with Codex Desktop on macOS (October 14, 2026).
My test results:
The issue occurs even in a completely new conversation without any project or local folder attached.
For example, simply sending “Hello” or “You can say anything” triggers the following error:
Invalid prompt: your prompt was flagged as potentially violating our usage policy.
I’ve also reproduced this across different conversations and local projects.
Switching to GPT-5.6 Sol Ultra immediately resolves the issue in the same environment.
I have already submitted diagnostic feedback through the Codex app.
Feedback ID: [PASTE YOUR FEEDBACK ID HERE]
This appears to be a model-specific or account-level issue rather than a problem with the prompt or project files.
Could the Codex team investigate the GPT-6 model routing or false-positive safety classification?
Thank you!
fenchi611-art commentedon Oct 14, 2026
Adding another Windows + CC Switch MultiRouter data point.
Environment:
Same account and same Codex installation:
Tests:
Feedback ID:
01a139d9-a62c-79d3-941c-f819577f4a6c
This reproduces the same false-positive invalid_prompt behavior reported here.
yisun123456 commentedon Oct 15, 2026
me too. macbook
tangjason307-cloud commentedon Oct 16, 2026
Adding another reproducible Windows + ChatGPT Plus case.
Environment
Reproduction results
The following results occurred in the same new thread:
你好with Low reasoning:invalid_promptHellowith Low reasoning: succeededcan i speak Chinesewith Low reasoning:invalid_prompt我可以用中文吗with Low reasoning: succeededinvalid_promptExact error:
Invalid prompt: your prompt was flagged as potentially violating our usage policy. Please try again with a different prompt.The inconsistent success and failure of semantically similar harmless prompts suggests that this is not caused by the prompt content. Both Low and XHigh reasoning are affected.
Troubleshooting completed
/feedbackFeedback/session ID:
01a14549-9e45-70b2-af10-be0042d6c3f2The affected thread is recorded as a system error. Please correlate this session ID with the server-side model-routing and safety-classification logs.
zzyprivateneo-ship-it commentedon Oct 16, 2026
Additional Windows desktop data point (October 17, 2026, Asia/Shanghai):
invalid_promptfailures: 15 on GPT-6.1 Sol and 1 on GPT-6 Luna, with no GPT-5 occurrences.继续,只回复ok, and ordinary software troubleshooting requests.AGENTS.mdis empty, and the issue reproduces in new projects, short conversations, and simple prompts.This supports a GPT-6-specific safety/routing or Codex Desktop GPT-6 request-assembly defect rather than a problem with the visible prompt.
liuzianws commentedon Oct 20, 2026
Additional data point:
coteaempty-result block on GPT-6 (Oct 14–19), then account-scopedserver_is_overloaded(Oct 19–20)Same GPT-6 family failure as the original report, but with server-side moderation metadata captured, plus a follow-on finding that may explain why the symptom changes shape.
Environment
[email protected],chatgpt_account_id65cab9e5-…,plan_type: proliteplan_type: plushttps://chatgpt.com/backend-api/codex/responses(stream: true,originator: codex_cli_rs) — no Codex client, no proxy1. The block comes from a protection layer called
cotea, with an empty result setAffected (all reject
hi/只回复OK):gpt-6.1-sol,gpt-6-sol,gpt-6-astra,gpt-6-lunaNot affected:
gpt-5.6-sol,gpt-5.6-terraresponse.metadatafrom a failing GPT-6 request:{"openai_chatgpt_moderation_metadata":{"prompt":{ "cotea":{"protection_type":"cotea","outputs":[{"results":[],"is_blocked":true}]}, "omnimod":{"protection_type":"omnimod","outputs":[{"results":[{"category_flags":{ "A1":false,"A2":false,"A3":false,"C1":false,"C11":false,"C2":false, "E1":false,"E2":false,"E3":false,"H1":false,"H2":false,"H3":false, "JB1":false,"K1":false,"K2":false,"K3":false,"K4":false, "P1":false,"P2":false,"P3":false,"P4":false,"PD1":false,"PD4":false, "S1":false,"S3+":false,"S4":false,"SH":false, "TXT-C3":false,"TXT-C4":false,"V1":false,"V2+":false,"V4+":false, "REFUSED":false,"CBRN-B1+":false, "IMG-C1":false,"IMG-C11":false,"IMG-C2":false,"IMG-S1":false, "IMG-SH":false,"IMG-V1":false,"IMG-V2+":false,"IMG-V4+":false}}], "is_blocked":false}]}}}}Then
response.failedwith:Two things stand out:
coteareturnsis_blocked: truewithresults: []— zero hits, zero categories. There is no offending content; the layer blocks with nothing to point at.omnimod(the classifier that actually reports categories) returns every single flag false andis_blocked: false.A successful request from the same account shows
omnimodonly —coteais absent entirely, notfalse, absent:response.metadatacotea(blocked, 0 results) +omnimod(all false)omnimodonly — nocoteakeyomnimodonly — nocoteakeySo
coteaappears to be attached per-request, not held as a constant account state. That would explain the intermittency: it is present on some requests and absent on others.2. It is intermittent with no observable period
91
invalid_promptevents from this account (Oct 14–19). Clustering with a >15 min gap:All 91 events belong to this one account; the control account produced zero.
3. Failures are account-scoped, not machine- or network-scoped
Same machine, same network, same second, alternating accounts, minimal prompt:
[email protected]invalid_promptplus)4. After Oct 19,
coteastops andserver_is_overloadedtakes its placeFrom
2026-10-19T20:38+08:00to2026-10-20T20:42+08:00I probed 5 models every 5 minutes: 1270 probes, 0coteablocks. Theinvalid_promptsymptom stopped.In the same window
server_is_overloadedbegan appearing instead. It arrives as HTTP 200 with the error inside the stream:{"type":"error","sequence_number":3,"error":{ "type":"service_unavailable_error","code":"server_is_overloaded", "message":"Our servers are currently overloaded. Please try again later."}}Codex surfaces this as
Selected model is at capacity. Please try a different model.Alternating the two accounts, same prompt, same second, 65 paired rounds:
liuzianws(prolite)The control account was never rejected once. If this were genuine fleet capacity, the two accounts could not diverge this sharply when requests are 2 seconds apart.
5. Quota is not the cause
Response headers on a
liuzianwsrequest:Weekly window at 0% used, yet 43% of requests rejected as "overloaded".
For contrast, the control account at the same moment:
Higher usage, zero rejections. Usage percentage and rejection rate are unrelated here.
6.
server_is_overloadedis not frequency-driven and not model-gatedBurst of 20 with no interval →
XOXOXOXOOOXXXOOOXXXO(12 overloaded).Reduced to one request per 15 s →
OXOXOOOXXOXX(6/12 overloaded).Slowing down does not help, so this isn't a simple QPS limit. It behaves like a per-account admission probability.
Per-model overload rate on this account over 24 h:
gpt-6.1-solgpt-6-lunagpt-5.6-solgpt-6-astragpt-6-solNote
gpt-5.6-solis affected too. That differs from thecoteaphase, which only ever hit the GPT-6 family.service_tiermakes no difference:default,priority, and omitted all land around 17%;flexis rejected outright with{"detail":"Unsupported service_tier: flex"}.What I'd like looked at
coteareturnis_blocked: truewith an emptyresultsarray? A layer that blocks with zero matches looks like a fail-closed path rather than a classification decision.coteais attached to a request at all? It is present on some GPT-6 requests and absent on others from the same account with identical payloads.server_is_overloadedfor one account while a second account on the same machine succeeds continuously? The error text points at capacity, but the paired measurements do not support a capacity explanation.plan_type: prolitemapped correctly on the Codex rate-limiter/admission path? (Related: Pro $100 (5x) plan is rate-limited aspluson Codex Desktop — access_token has plan_type=prolite but the responses API returns X-Codex-Plan-Type=plus #29243, Severe weekly allowance regression — GPT-6 Astra High/Fast exhausts weekly quota in one day #55348, [Pro 5x] Weekly limit jumped 24% -> 96% within one hour with zero client activity (macOS) #54704)Related reports with matching account-scoped
server_is_overloadedstructure: #46133 (three Plus accounts, one fails, two succeed on the same machine).Happy to supply response IDs,
x-oai-request-idvalues, or a redacted capture for any of the above.xialingxuan0119 commentedon Oct 30, 2026
Application version: ChatGPT desktop for macOS 26.1021.31345 (build 21828).
Error:
Feedback ID: 019fa585-609d-7310-ab9b-831b2d786b7b
ming74720-creator commentedon Nov 22, 2026
Additional Windows reproduction — GPT-6 family fails while GPT-5.6 succeeds, including with the newest available signed client binary.
Environment
26.1111.9664.00.169.126.1117.4957.0was downloaded and hash/signature verified without replacing the registered package; its bundled CLI is0.171.0-alpha.13openaiprolite(ChatGPT Pro)NO_CONSTRAINTordinaryUsageAllowed=true; weekly usage was 5%; no rate-limit or spend-control conditioncodex doctor: provider HTTP and Responses WebSocket checks passed with zero connectivity failuresControlled A/B test
Identical harmless prompt:
What is two plus three?0.169.1gpt-6.2-solinvalid_promptbefore generation01a201c8-5574-7cd3-9129-f42feccf057c0.171.0-alpha.13gpt-6.2-solinvalid_promptbefore generation01a201cb-5d49-79e3-80bf-a1593765d3400.171.0-alpha.13gpt-5.6-sol501a201cb-8520-78a1-99c1-b059aea6ac76The isolated tests used
--ephemeral --ignore-user-config --skip-git-repo-check --sandbox read-onlyand low reasoning effort. The same result reproduced withgpt-6-sol,gpt-6.1-sol, andgpt-6.1-terra, including ordinary arithmetic and one-sentence prompts. Optional plugins, memories, multi-agent features, reasoning effort, project context, and user configuration did not change the result.The model catalog is current and exposes the GPT-6/6.1/6.2 families. Because the newer signed client produces the same failure while GPT-5.6 completes under the same account, network, and prompt, this appears downstream of the local client and upstream of model generation.
Please inspect the server-side Codex Responses records for the failing and successful session IDs above, compare the account's GPT-6 route against the GPT-5.6 control, and check for an account-specific entitlement, routing, or safety-classification false positive.