{"record":{"id":"230e5bead84746d9","repo":"databendlabs/databend","slug":"err-230e5b","errorCode":null,"errorMessage":"{err}","messagePattern":"\\{err\\}","errorType":"validation","errorClass":"InvalidInput","httpStatus":null,"severity":"error","filePath":"src/query/sql/src/planner/binder/location.rs","lineNumber":87,"sourceCode":"        )\n    })?;\n    let endpoint = secure_omission(endpoint);\n    let sp = StorageParams::Azblob(StorageAzblobConfig {\n        endpoint_url: endpoint,\n        container: l.name.to_string(),\n        account_name: l\n            .connection\n            .get(\"account_name\")\n            .cloned()\n            .unwrap_or_default(),\n        account_key: l.connection.get(\"account_key\").cloned().unwrap_or_default(),\n        root,\n        network_config: None,\n    });\n\n    l.connection\n        .check()\n        .map_err(|err| Error::new(ErrorKind::InvalidInput, err.to_string()))?;\n\n    Ok(sp)\n}\n\nfn parse_s3_params(l: &mut UriLocation, root: String) -> Result<StorageParams> {\n    let endpoint = l\n        .connection\n        .get(\"endpoint_url\")\n        .cloned()\n        .unwrap_or_else(|| STORAGE_S3_DEFAULT_ENDPOINT.to_string());\n    let endpoint = secure_omission(endpoint);\n\n    // we split those field out to make borrow checker happy.\n    let region = l.connection.get(\"region\").cloned().unwrap_or_default();\n\n    let access_key_id = {\n        if let Some(id) = l.connection.get(\"access_key_id\") {\n            id","sourceCodeStart":69,"sourceCodeEnd":105,"githubUrl":"https://github.com/databendlabs/databend/blob/288d84d76e20a2f8f7173bda9691eb6ece301aa9/src/query/sql/src/planner/binder/location.rs#L69-L105","documentation":"A generic wrapper in parse_azure_params: after building the Azure blob StorageParams, l.connection.check() validates the connection options, and any validation failure it returns is re-wrapped as ErrorKind::InvalidInput with the original message as {err}. It fires when the LOCATION connection options for an Azure endpoint are invalid (e.g. bad account/key combination or unsupported option).","triggerScenarios":"Thrown at src/query/sql/src/planner/binder/location.rs:87 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Check the location's connection dictionary keys and values; the error fires when connection.check() rejects the supplied azure credentials/settings.","Verify account_name, account_key and endpoint are consistent and non-empty where required.","Pass a correctly configured CONNECTION or STAGE so l.connection.check() succeeds before binding."],"exampleFix":null,"handlingStrategy":"validation","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"288d84d76e20a2f8f7173bda9691eb6ece301aa9","analyzedAt":"2026-09-11T11:29:36.208Z","contentChangedAt":"2026-09-11T11:29:36.208Z","schemaVersion":2},"datasetVersion":"2026-09-16T04:17:20.429Z"}