{"record":{"id":"3fbb975a7aae1cef","repo":"gastownhall/beads","slug":"proxied-server-config-path-v","errorCode":null,"errorMessage":"--proxied-server-config-path %v","messagePattern":"--proxied-server-config-path (.+?)","errorType":"validation","errorClass":null,"httpStatus":null,"severity":"error","filePath":"cmd/bd/init.go","lineNumber":455,"sourceCode":"\t\t}\n\t\tif initProxiedServer {\n\t\t\tif sharedServer || externalServer ||\n\t\t\t\tserverHost != \"\" || serverPort != 0 || serverSocket != \"\" || serverUser != \"\" || cmd.Flags().Changed(\"server-tls\") {\n\t\t\t\treturn fmt.Errorf(\"--proxied-server cannot be combined with --shared-server, --external, or any --server-* flag\")\n\t\t\t}\n\t\t}\n\t\tif initTeamServer && !initProxiedServer {\n\t\t\treturn fmt.Errorf(\"--team-server requires --proxied-server\")\n\t\t}\n\t\tif serverConfigPath != \"\" {\n\t\t\tif !initProxiedServer {\n\t\t\t\treturn fmt.Errorf(\"--proxied-server-config-path requires --proxied-server\")\n\t\t\t}\n\t\t\tif !filepath.IsAbs(serverConfigPath) {\n\t\t\t\treturn fmt.Errorf(\"--proxied-server-config-path must be an absolute path, got %q\", serverConfigPath)\n\t\t\t}\n\t\t\tif err := validateProxiedServerConfig(serverConfigPath); err != nil {\n\t\t\t\treturn fmt.Errorf(\"--proxied-server-config-path %v\", err)\n\t\t\t}\n\t\t}\n\t\tif serverLogPath != \"\" {\n\t\t\tif !initProxiedServer {\n\t\t\t\treturn fmt.Errorf(\"--proxied-server-log-path requires --proxied-server\")\n\t\t\t}\n\t\t\tif !filepath.IsAbs(serverLogPath) {\n\t\t\t\treturn fmt.Errorf(\"--proxied-server-log-path must be an absolute path, got %q\", serverLogPath)\n\t\t\t}\n\t\t\tif err := validateProxiedServerLogPath(serverLogPath); err != nil {\n\t\t\t\treturn fmt.Errorf(\"--proxied-server-log-path %v\", err)\n\t\t\t}\n\t\t}\n\t\tif serverRootPath != \"\" {\n\t\t\tif !initProxiedServer {\n\t\t\t\treturn fmt.Errorf(\"--proxied-server-root-path requires --proxied-server\")\n\t\t\t}\n\t\t\tif !filepath.IsAbs(serverRootPath) {","sourceCodeStart":437,"sourceCodeEnd":473,"githubUrl":"https://github.com/gastownhall/beads/blob/71377f276968b452ee607177637970a4ff888584/cmd/bd/init.go#L437-L473","documentation":"The config file passed via --proxied-server-config-path failed validateProxiedServerConfig; the underlying validation message is wrapped and surfaced with this prefix. init does not inspect the file's semantics until this point.","triggerScenarios":"Running `bd init --proxied-server --proxied-server-config-path <file>` where the file is missing, unreadable, malformed JSON, or contains invalid proxied-server configuration values.","commonSituations":"Hand-editing the proxied server config and introducing syntax errors; pointing at a config from a different tool; file deleted between config authoring and init.","solutions":["Read the wrapped detail after '--proxied-server-config-path ' for the specific problem","Validate the file is valid JSON and matches the proxied-server config schema","Confirm the path points to the intended existing file (ls/cat it)"],"exampleFix":"// before\nbd init --proxied-server --proxied-server-config-path /etc/bd/proxied.json  # invalid JSON\n// after\n# fix JSON, e.g. jq . /etc/bd/proxied.json to check, then re-run\nbd init --proxied-server --proxied-server-config-path /etc/bd/proxied.json","handlingStrategy":"validation","validationCode":"jq empty /etc/bd/proxied.json && echo ok || echo 'invalid JSON config'","typeGuard":null,"tryCatchPattern":null,"preventionTips":["Validate the config JSON with jq or a schema check before init","Keep proxied-server configs under version control to catch accidental edits","Confirm the path exists and is the intended file"],"tags":["cli","config-validation","init","proxied-server"],"backgroundTag":"config-validation-failed","analyzedSha":"71377f276968b452ee607177637970a4ff888584","analyzedAt":"2026-08-30T18:55:39.744Z","schemaVersion":2},"datasetVersion":"2026-08-30T23:17:21.991Z"}