{"record":{"id":"8870805e6a754e77","repo":"openai/codex","slug":"label-must-not-be-empty","errorCode":null,"errorMessage":"{LABEL} must not be empty","messagePattern":"(.+?) must not be empty","errorType":"validation","errorClass":null,"httpStatus":null,"severity":"error","filePath":"codex-rs/core/src/config/mod.rs","lineNumber":3063,"sourceCode":"        \"computer\",\n        \"container\",\n        \"file_search\",\n        \"functions\",\n        \"image_gen\",\n        \"multi_tool_use\",\n        \"python\",\n        \"python_user_visible\",\n        \"submodel_delegator\",\n        \"terminal\",\n        \"tool_search\",\n        \"web\",\n    ];\n\n    let Some(namespace) = namespace else {\n        return Ok(());\n    };\n    if namespace.is_empty() {\n        return Err(std::io::Error::new(\n            std::io::ErrorKind::InvalidInput,\n            format!(\"{LABEL} must not be empty\"),\n        ));\n    }\n    if namespace.trim() != namespace {\n        return Err(std::io::Error::new(\n            std::io::ErrorKind::InvalidInput,\n            format!(\"{LABEL} must not have leading or trailing whitespace\"),\n        ));\n    }\n    if !namespace\n        .bytes()\n        .all(|byte| byte.is_ascii_alphanumeric() || matches!(byte, b'_' | b'-'))\n    {\n        return Err(std::io::Error::new(\n            std::io::ErrorKind::InvalidInput,\n            format!(\"{LABEL} must match ^[a-zA-Z0-9_-]+$\"),\n        ));","sourceCodeStart":3045,"sourceCodeEnd":3081,"githubUrl":"https://github.com/openai/codex/blob/339751715c64496cb86246bfb3935f40e309dd3d/codex-rs/core/src/config/mod.rs#L3045-L3081","documentation":"Error \"{LABEL} must not be empty\" thrown in openai/codex.","triggerScenarios":"Thrown at codex-rs/core/src/config/mod.rs:3063 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Provide a non-empty value for {LABEL}."],"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"}