Skip to content

[Codex Desktop] GPT-5.6 Sol and GPT-6 Astra reject harmless prompts with invalid_prompt #47041

Open

Description

@Ljzljz-211302

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?

  1. Open Codex in the ChatGPT Windows desktop app.
  2. Create a brand-new blank task.
  3. Select GPT-5.6 Sol or GPT-6 Astra.
  4. Send the prompt: Hello.
  5. Observe the invalid_prompt error.
    What I have already tried

Activity

  1. added
    bug
    app
    windows-os
    model-behavior
    on Sep 21, 2026
  2. guoyu420166401 commented on Sep 22, 2026

    @guoyu420166401

    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 same invalid_prompt error.

    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.

  3. q2937236915-cpu commented on Sep 23, 2026

    @q2937236915-cpu

    I can reproduce the same issue on a newer Codex Desktop build.

    Environment:

    • Codex Desktop: 26.917.62051, build 10789, production channel
    • Bundled runtime: codex-cli 0.155.0-alpha.16.3
    • Subscription: ChatGPT Plus
    • Platform: Windows
    • Model: gpt-6-astra
    • Reasoning effort: low

    The failure reproduces in a completely new local task using an empty directory with no project AGENTS.md, .codex, or .agents configuration.

    The first and only message was:

    请回复:连接正常。

    After approximately 116 seconds, the task ended with systemError and:

    Invalid prompt: your prompt was flagged as potentially violating our usage policy.

    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.

  4. guoyu420166401 commented on Sep 24, 2026

    @guoyu420166401

    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: OK

    Results:

    • gpt-6-astra: rejected with invalid_prompt
    • gpt-6-sol: rejected with invalid_prompt
    • gpt-6-luna: rejected with invalid_prompt
    • gpt-5.5: succeeded and returned OK

    Separately, 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.

  5. guoyu420166401 commented on Sep 24, 2026

    @guoyu420166401

    The issue is still reproducible after updating Codex Desktop.

    • Codex App: 26.917.62051 (build 10789)
    • Bundled Codex CLI: 0.155.0-alpha.16.3
    • Model: gpt-6-astra
    • Test prompt: Reply only with: OK
    • Test mode: ephemeral, read-only, user configuration and rules ignored
    • Result: the same invalid_prompt policy error
    • Session ID: 01a0d0e6-ea4f-7b22-a117-cf5f111869b7

    GPT-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.

  6. guoyu420166401 commented on Sep 29, 2026

    @guoyu420166401

    Update: the issue is still reproducible after installing the latest Codex Desktop update.

    Environment:

    • Codex App: 26.924.22138 (build 11645)
    • Bundled Codex CLI: 0.158.0-alpha.2.1
    • Platform: macOS
    • Test mode: ephemeral and read-only
    • User configuration and project rules ignored
    • Test prompt: Reply only with: OK

    Results:

    • GPT-6 Astra, reasoning effort low: invalid_prompt
      • Session ID: 01a0eb2e-83ef-74a2-a960-e56275be4b11
    • GPT-6 Sol, reasoning effort none: invalid_prompt
      • Session ID: 01a0eb2d-fffc-78d1-a6cc-08ac1f032ed4
    • GPT-6 Luna, reasoning effort none: invalid_prompt
      • Session ID: 01a0eb2e-083a-7f20-a83c-c561cf932d38

    All 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.

  7. guoyu420166401 commented on Sep 30, 2026

    @guoyu420166401

    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.

  8. guoyu420166401 commented on Sep 30, 2026

    @guoyu420166401

    Additional reproduction on the latest Codex CLI:

    • Date: September 30, 2026
    • Platform: macOS, Apple Silicon
    • Codex CLI: 0.159.2
    • Model: GPT-6.1 Sol
    • Reasoning effort: Low
    • Working directory: a newly created empty folder (~/Codex-6.1-test)
    • No project files, repository configuration, project AGENTS.md, or project-local hooks were present.

    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.

    Image
  9. guoyu420166401 commented on Oct 2, 2026

    @guoyu420166401

    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.

  10. guoyu420166401 commented on Oct 2, 2026

    @guoyu420166401

    Update: I reproduced the issue again on October 2, 2026, using a controlled clean environment.

    Account status:

    • Signed in through ChatGPT successfully
    • Codex usage is allowed
    • Rate limit is not exhausted
    • GPT-5.6 Sol works normally

    Test environment:

    • Codex CLI 0.159.2
    • Completely empty temporary directories
    • User configuration and project rules ignored
    • Ephemeral sessions
    • Read-only sandbox
    • Harmless English prompt: Reply exactly: OK

    Results:

    • gpt-6.1-sol: rejected with Invalid prompt
      Session ID: 01a0fcca-86c4-7773-8323-269e2d5d207e
    • gpt-6-astra: rejected with the same Invalid prompt
      Session ID: 01a0fcca-86c4-77e3-87b3-d4a60263cccf
    • gpt-5.6-sol: successfully returned OK
      Session ID: 01a0fcca-e3e9-70b2-b696-e27486681ebb

    This 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.

  11. q2937236915-cpu commented on Oct 4, 2026

    @q2937236915-cpu

    Update — October 4, 2026

    The issue is still reproducible on the latest Windows Codex Desktop build.

    Environment:

    • Codex Desktop: 26.930.31730, build 12947, production channel
    • Bundled Codex CLI: 0.160.0
    • Subscription: ChatGPT Plus
    • Platform: Windows
    • Model: gpt-6-astra
    • Reasoning effort: high
    • Codex usage was allowed; ordinary rate limits and spend controls were not reached

    New controlled reproduction:

    • Created a brand-new local task in a fresh directory with no project AGENTS.md, .codex, or .agents configuration.
    • Local memories were disabled for the session; no memory summary was injected.
    • My custom local plugin was disabled and absent from the request context. Official bundled plugins remained enabled.
    • Sent the harmless prompt: hello
    • The turn failed after about 4.6 seconds with the same invalid_prompt error.
    • No assistant message or reasoning output was produced.

    Same-account A/B control:

    • The plain prompt 1 failed twice on gpt-6-astra with invalid_prompt.
    • The identical prompt succeeded immediately after switching to 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.

  12. Tavixit commented on Oct 4, 2026

    @Tavixit

    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.

  13. pppccx190-ux commented on Oct 17, 2026

    @pppccx190-ux

    I can reproduce this on the current macOS Codex Desktop build.

    Environment:

    • Codex Desktop: 26.1013.40934 (build 20770), production
    • Platform: Darwin 25.5.0 arm64 arm
    • Subscription: ChatGPT Plus
    • Account usage allowed; rate limits not exhausted

    Current results:

    • GPT-5.6 Sol in Codex Desktop: works
    • GPT-6 Luna in Codex Desktop: invalid_prompt
    • GPT-6.1 Sol in Codex Desktop: invalid_prompt
    • GPT-6 Luna through a clean Codex CLI request: works

    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-44634e0ccca8

    This appears consistent with an account/model-routing or false-positive safety classification affecting GPT-6 requests in the desktop app.

  14. guishiw commented on Oct 26, 2026

    @guishiw

    Additional reproduction on the current macOS Codex Desktop production build.

    Environment

    • Codex Desktop: 26.1021.31345 (build 21828), production channel, reported as up to date
    • Bundled Codex CLI: 0.164.0-alpha.11.1
    • Subscription: ChatGPT Pro
    • Authentication: ChatGPT
    • Platform: Darwin 25.6.0 arm64 arm
    • Usage limit reached: No (1% used; rateLimitReachedType: null; spendControlReached: false)

    Diagnostic results

    • ~/.codex/config.toml explicitly specifies model = "gpt-6.1-sol".
    • codex debug models lists gpt-6.1-sol with visibility: "list".
    • CODEX_CLI_PATH is not set.
    • No model_catalog_json override is configured.

    A clean read-only, ephemeral invocation was tested:

    codex exec \
      --model gpt-6.1-sol \
      --sandbox read-only \
      --ephemeral \
      --skip-git-repo-check \
      --color never \
      "Reply with exactly: OK"

    The request started with:

    model: gpt-6.1-sol
    provider: openai
    reasoning effort: high
    

    It was then rejected twice with:

    Invalid prompt: your prompt was flagged as potentially violating our usage policy.
    

    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.

  15. tony1233200 commented on Oct 30, 2026

    @tony1233200

    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:

    • Platform: Windows 10 Education 21H2, build 19044.1415, x64
    • Agent environment: Windows native
    • Model: GPT-6 Astra (gpt-6-astra), High reasoning
    • Prompt: exactly test
    • No files or tools attached
    • Result: invalid_prompt
    • Failure time: 2026-10-30 10:36:38.900 UTC
    • New session ID: 01a18c60-4dec-73f2-b0e7-cfdf46204b15

    Exact 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

    Other affected sessions:

    • 01a18a66-eaab-7060-bfef-de1a69df12bc — previous clean minimal reproduction
    • 01a187ff-2552-7a61-b6a7-ff5cbb965539 — original affected session
    • Earlier recorded failure: 2026-10-30 01:24:59.909 UTC

    The 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.

  16. q2937236915-cpu commented on Nov 20, 2026

    @q2937236915-cpu

    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_prompt failures.

    Current environment

    • Codex Desktop MSIX: 26.1111.9664.0 (x64)
    • Bundled Codex CLI: 0.169.1
    • Windows: 24H2, build 26100.4351
    • Subscription: ChatGPT Plus
    • Current config default: gpt-5.6-sol
    • A current Codex Work session on this installation records gpt-5.6-sol and is receiving normal responses.

    Network / proxy checks

    • Clash Party / Mihomo TUN is active (Meta Tunnel adapter).
    • The OS returns 198.18.0.0/15 fake-IP DNS answers, consistent with Mihomo fake-IP mode.
    • HTTP_PROXY, HTTPS_PROXY, ALL_PROXY, and NO_PROXY are unset.
    • WinINET proxy is disabled and WinHTTP reports direct access.
    • Using the real Edge route on the same desktop:
      • GitHub loads normally.
      • https://api.openai.com/v1/models is reachable and returns the expected unauthenticated JSON (Missing bearer authentication in header), rather than a DNS/TLS/connectivity error.
      • https://chatgpt.com/ loads normally.
    • No public IP address, credentials, or proxy-node details are included here.

    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 ~/.codex home. 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-specific invalid_prompt failures. 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    appbugmodel-behaviorwindows-os

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions