{"record":{"id":"0c4023e5b41e128e","repo":"wasmerio/wasmer","slug":"no-app-id-given-provide-one-using-the-app-fla","errorCode":null,"errorMessage":"No app id given. Provide one using the `--app` flag.","messagePattern":"No app id given\\. Provide one using the `--app` flag\\.","errorType":"validation","errorClass":null,"httpStatus":null,"severity":"error","filePath":"lib/cli/src/commands/app/secrets/utils/mod.rs","lineNumber":170,"sourceCode":"                    );\n                } else {\n                    eprintln!(\n                        \"Managing secrets related to app {}.\",\n                        app.name.context(\"App name has to be specified\")?.bold()\n                    );\n                }\n            }\n            return Ok(id);\n        }\n    } else if let Some(path) = app_dir_path {\n        anyhow::bail!(\n            \"No app configuration file found in path {}.\",\n            path.display()\n        )\n    }\n\n    if non_interactive {\n        anyhow::bail!(\"No app id given. Provide one using the `--app` flag.\")\n    } else {\n        let id = prompt_app_ident(\"Enter the name of the app\")?;\n        let app = id.resolve(client).await?;\n        Ok(app.id.into_inner())\n    }\n}\n","sourceCodeStart":152,"sourceCodeEnd":177,"githubUrl":"https://github.com/wasmerio/wasmer/blob/8c4b9ee9d33fb2068863fbb3d328683e7e6ff7f5/lib/cli/src/commands/app/secrets/utils/mod.rs#L152-L177","documentation":"Error \"No app id given. Provide one using the `--app` flag.\" thrown in wasmerio/wasmer.","triggerScenarios":"Thrown at lib/cli/src/commands/app/secrets/utils/mod.rs:170 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"}