{"record":{"id":"0ba44270b0b02b1f","repo":"wasmerio/wasmer","slug":"no-secret-value-given-provide-one-as-a-positional-0ba442","errorCode":null,"errorMessage":"No secret value given. Provide one as a positional argument.","messagePattern":"No secret value given\\. Provide one as a positional argument\\.","errorType":"validation","errorClass":null,"httpStatus":null,"severity":"error","filePath":"lib/cli/src/commands/app/secrets/update.rs","lineNumber":84,"sourceCode":"        }\n\n        if self.non_interactive {\n            anyhow::bail!(\"No secret name given. Provide one as a positional argument.\")\n        } else {\n            let theme = ColorfulTheme::default();\n            Ok(dialoguer::Input::with_theme(&theme)\n                .with_prompt(\"Enter the name of the secret:\")\n                .interact_text()?)\n        }\n    }\n\n    fn get_secret_value(&self) -> anyhow::Result<String> {\n        if let Some(value) = &self.secret_value {\n            return Ok(value.clone());\n        }\n\n        if self.non_interactive {\n            anyhow::bail!(\"No secret value given. Provide one as a positional argument.\")\n        } else {\n            let theme = ColorfulTheme::default();\n            Ok(dialoguer::Input::with_theme(&theme)\n                .with_prompt(\"Enter the value of the secret:\")\n                .interact_text()?)\n        }\n    }\n\n    /// Given a list of secrets, checks if the given secrets already exist for the given app and\n    /// returns a list of secrets that must be upserted.\n    async fn filter_secrets(\n        &self,\n        client: &WasmerClient,\n        app_id: &str,\n        secrets: Vec<Secret>,\n    ) -> anyhow::Result<Vec<Secret>> {\n        let names = secrets.iter().map(|s| &s.name);\n        let app_secrets =","sourceCodeStart":66,"sourceCodeEnd":102,"githubUrl":"https://github.com/wasmerio/wasmer/blob/8c4b9ee9d33fb2068863fbb3d328683e7e6ff7f5/lib/cli/src/commands/app/secrets/update.rs#L66-L102","documentation":"Error \"No secret value given. Provide one as a positional argument.\" thrown in wasmerio/wasmer.","triggerScenarios":"Thrown at lib/cli/src/commands/app/secrets/update.rs:84 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":"8c4b9ee9d33fb2068863fbb3d328683e7e6ff7f5","analyzedAt":"2026-09-01T23:06:31.009Z","contentChangedAt":null,"schemaVersion":2},"datasetVersion":"2026-09-09T06:17:21.866Z"}