openai/codex · error · CodexErr

We're currently experiencing high demand, which may cause…

Error message

We're currently experiencing high demand, which may cause temporary errors.

What it means

Typed category for HTTP 500-class responses from the model API: the server is under high load and returning temporary errors. As with ServerOverloaded, the provider is at fault; the session may retry with backoff, but repeated occurrences indicate a provider incident.

Solutions

  1. Retry after a short wait; high-demand errors are transient
  2. Check the provider status page for incidents
  3. Switch models or providers if errors persist
Defensive patterns

Strategy: retry

When it happens

Trigger: Thrown at codex-rs/protocol/src/error.rs:147 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of openai/codex@339751715c (2026-08-25). Data as JSON: /api/errors/a7f9cacad34cd3ea. Report an issue: GitHub.

Appendix: source

Thrown at codex-rs/protocol/src/error.rs:147

    #[error("{0}")]
    UsageLimitReached(UsageLimitReachedError),
    #[error("Selected model is at capacity. Please try a different model.")]
    ServerOverloaded,
    #[error("{message}")]
    CyberPolicy { message: String },
    #[error("{message}")]
    MisalignmentPolicyViolation { message: String },
    #[error("{0}")]
    ResponseStreamFailed(ResponseStreamFailed),
    #[error("{0}")]
    ConnectionFailed(ConnectionFailedError),
    #[error("Quota exceeded. Check your plan and billing details.")]
    QuotaExceeded,
    #[error(
        "To use Codex with your ChatGPT plan, upgrade to Plus: https://chatgpt.com/explore/plus."
    )]
    UsageNotIncluded,
    #[error("We're currently experiencing high demand, which may cause temporary errors.")]
    InternalServerError,
    /// Retry limit exceeded.
    #[error("{0}")]
    RetryLimit(RetryLimitReachedError),
    /// Agent loop died unexpectedly
    #[error("internal error; agent loop died unexpectedly")]
    InternalAgentDied,
    /// Sandbox error
    #[error("sandbox error: {0}")]
    Sandbox(#[from] SandboxErr),
    #[error("codex-linux-sandbox was required but not provided")]
    LandlockSandboxExecutableNotProvided,
    #[error("unsupported operation: {0}")]
    UnsupportedOperation(String),
    #[error("{0}")]
    RefreshTokenFailed(RefreshTokenFailedError),
    #[error("Fatal error: {0}")]
    Fatal(String),

View on GitHub (pinned to 339751715c)