{"record":{"id":"8d93d37bec0d4dac","repo":"openai/codex","slug":"quota-exceeded-check-your-plan-and-billing-detail","errorCode":null,"errorMessage":"Quota exceeded. Check your plan and billing details.","messagePattern":"Quota exceeded\\. Check your plan and billing details\\.","errorType":"exception","errorClass":"CodexErr","httpStatus":null,"severity":"error","filePath":"codex-rs/protocol/src/error.rs","lineNumber":141,"sourceCode":"    /// Multiple registered tools share the same effective name.\n    #[error(\"duplicate tool: {0}\")]\n    ToolCollision(String),\n    /// Invalid image.\n    #[error(\"Image poisoning\")]\n    InvalidImageRequest(),\n    #[error(\"{0}\")]\n    UsageLimitReached(UsageLimitReachedError),\n    #[error(\"Selected model is at capacity. Please try a different model.\")]\n    ServerOverloaded,\n    #[error(\"{message}\")]\n    CyberPolicy { message: String },\n    #[error(\"{message}\")]\n    MisalignmentPolicyViolation { message: String },\n    #[error(\"{0}\")]\n    ResponseStreamFailed(ResponseStreamFailed),\n    #[error(\"{0}\")]\n    ConnectionFailed(ConnectionFailedError),\n    #[error(\"Quota exceeded. Check your plan and billing details.\")]\n    QuotaExceeded,\n    #[error(\n        \"To use Codex with your ChatGPT plan, upgrade to Plus: https://chatgpt.com/explore/plus.\"\n    )]\n    UsageNotIncluded,\n    #[error(\"We're currently experiencing high demand, which may cause temporary errors.\")]\n    InternalServerError,\n    /// Retry limit exceeded.\n    #[error(\"{0}\")]\n    RetryLimit(RetryLimitReachedError),\n    /// Agent loop died unexpectedly\n    #[error(\"internal error; agent loop died unexpectedly\")]\n    InternalAgentDied,\n    /// Sandbox error\n    #[error(\"sandbox error: {0}\")]\n    Sandbox(#[from] SandboxErr),\n    #[error(\"codex-linux-sandbox was required but not provided\")]\n    LandlockSandboxExecutableNotProvided,","sourceCodeStart":123,"sourceCodeEnd":159,"githubUrl":"https://github.com/openai/codex/blob/339751715c64496cb86246bfb3935f40e309dd3d/codex-rs/protocol/src/error.rs#L123-L159","documentation":"Error \"Quota exceeded. Check your plan and billing details.\" thrown in openai/codex.","triggerScenarios":"Thrown at codex-rs/protocol/src/error.rs:141 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"339751715c64496cb86246bfb3935f40e309dd3d","analyzedAt":"2026-08-25T05:35:09.876Z","schemaVersion":2},"datasetVersion":"2026-08-25T06:17:31.827Z"}