{"record":{"id":"05d2137a61c923a2","repo":"openai/codex","slug":"field-label-cannot-contain-blank-names","errorCode":null,"errorMessage":"{field_label} cannot contain blank names","messagePattern":"(.+?) cannot contain blank names","errorType":"validation","errorClass":"std::io::Error","httpStatus":null,"severity":"error","filePath":"codex-rs/core/src/config/agent_roles.rs","lineNumber":447,"sourceCode":") -> std::io::Result<Option<Vec<String>>> {\n    let Some(nickname_candidates) = nickname_candidates else {\n        return Ok(None);\n    };\n\n    if nickname_candidates.is_empty() {\n        return Err(std::io::Error::new(\n            std::io::ErrorKind::InvalidInput,\n            format!(\"{field_label} must contain at least one name\"),\n        ));\n    }\n\n    let mut normalized_candidates = Vec::with_capacity(nickname_candidates.len());\n    let mut seen_candidates = BTreeSet::new();\n\n    for nickname in nickname_candidates {\n        let normalized_nickname = nickname.trim();\n        if normalized_nickname.is_empty() {\n            return Err(std::io::Error::new(\n                std::io::ErrorKind::InvalidInput,\n                format!(\"{field_label} cannot contain blank names\"),\n            ));\n        }\n\n        if !seen_candidates.insert(normalized_nickname.to_owned()) {\n            return Err(std::io::Error::new(\n                std::io::ErrorKind::InvalidInput,\n                format!(\"{field_label} cannot contain duplicates\"),\n            ));\n        }\n\n        if !normalized_nickname\n            .chars()\n            .all(|c| c.is_ascii_alphanumeric() || matches!(c, ' ' | '-' | '_'))\n        {\n            return Err(std::io::Error::new(\n                std::io::ErrorKind::InvalidInput,","sourceCodeStart":429,"sourceCodeEnd":465,"githubUrl":"https://github.com/openai/codex/blob/339751715c64496cb86246bfb3935f40e309dd3d/codex-rs/core/src/config/agent_roles.rs#L429-L465","documentation":"Error \"{field_label} cannot contain blank names\" thrown in openai/codex.","triggerScenarios":"Thrown at codex-rs/core/src/config/agent_roles.rs:447 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Remove blank entries from {field_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"}