{"record":{"id":"30dcf08b8da7f78b","repo":"openai/codex","slug":"openai-file-blob-upload-to-host-failed-with-stat","errorCode":null,"errorMessage":"OpenAI file blob upload to {host} failed with status {status} (azure_client_request_id={azure_client_request_id}, azure_request_id={azure_request_id}, azure_error_code={azure_error_code})","messagePattern":"OpenAI file blob upload to (.+?) failed with status (.+?) \\(azure_client_request_id=(.+?), azure_request_id=(.+?), azure_error_code=(.+?)\\)","errorType":"http","errorClass":"OpenAiFileError","httpStatus":null,"severity":"error","filePath":"codex-rs/codex-api/src/files.rs","lineNumber":69,"sourceCode":"    },\n    #[error(\"failed to send OpenAI file request to {url}: {source}\")]\n    Request {\n        url: String,\n        #[source]\n        source: RouteAwareRequestError,\n    },\n    #[error(\n        \"OpenAI file blob upload to {host} failed after {elapsed_ms} ms ({error_kind}, azure_client_request_id={azure_client_request_id}): {source}\"\n    )]\n    BlobUploadRequest {\n        host: String,\n        elapsed_ms: u128,\n        error_kind: &'static str,\n        azure_client_request_id: String,\n        #[source]\n        source: RouteAwareRequestError,\n    },\n    #[error(\n        \"OpenAI file blob upload to {host} failed with status {status} (azure_client_request_id={azure_client_request_id}, azure_request_id={azure_request_id}, azure_error_code={azure_error_code})\"\n    )]\n    BlobUploadStatus {\n        host: String,\n        status: StatusCode,\n        azure_client_request_id: String,\n        azure_request_id: String,\n        azure_error_code: String,\n    },\n    #[error(\"OpenAI file request to {url} failed with status {status}: {body}\")]\n    UnexpectedStatus {\n        url: String,\n        status: StatusCode,\n        body: String,\n    },\n    #[error(\"failed to parse OpenAI file response from {url}: {source}\")]\n    Decode {\n        url: String,","sourceCodeStart":51,"sourceCodeEnd":87,"githubUrl":"https://github.com/openai/codex/blob/339751715c64496cb86246bfb3935f40e309dd3d/codex-rs/codex-api/src/files.rs#L51-L87","documentation":"Error \"OpenAI file blob upload to {host} failed with status {status} (azure_client_request_id={azure_client_request_id}, azure_request_id={azure_request_id}, azure_error_code={azure_error_code})\" thrown in openai/codex.","triggerScenarios":"Thrown at codex-rs/codex-api/src/files.rs:69 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"}