{"record":{"id":"42145ea92885a665","repo":"slackhq/nebula","slug":"entry-v-install-in-tun-unsafe-routes-is-not-a-boo","errorCode":null,"errorMessage":"entry %v.install in tun.unsafe_routes is not a boolean: %v","messagePattern":"entry (.+?)\\.install in tun\\.unsafe_routes is not a boolean: (.+?)","errorType":"validation","errorClass":null,"httpStatus":null,"severity":"error","filePath":"overlay/route.go","lineNumber":279,"sourceCode":"\t\t\t\tgateways[ig] = routing.NewGateway(gatewayIp, gatewayWeight)\n\n\t\t\t}\n\n\t\tdefault:\n\t\t\treturn nil, fmt.Errorf(\"entry %v.via in tun.unsafe_routes is not a string or list of gateways: found %T\", i+1, rVia)\n\t\t}\n\n\t\trRoute, ok := m[\"route\"]\n\t\tif !ok {\n\t\t\treturn nil, fmt.Errorf(\"entry %v.route in tun.unsafe_routes is not present\", i+1)\n\t\t}\n\n\t\tinstall := true\n\t\trInstall, ok := m[\"install\"]\n\t\tif ok {\n\t\t\tinstall, err = strconv.ParseBool(fmt.Sprintf(\"%v\", rInstall))\n\t\t\tif err != nil {\n\t\t\t\treturn nil, fmt.Errorf(\"entry %v.install in tun.unsafe_routes is not a boolean: %v\", i+1, err)\n\t\t\t}\n\t\t}\n\n\t\tr := Route{\n\t\t\tVia:     gateways,\n\t\t\tMTU:     mtu,\n\t\t\tMetric:  metric,\n\t\t\tInstall: install,\n\t\t}\n\n\t\tr.Cidr, err = netip.ParsePrefix(fmt.Sprintf(\"%v\", rRoute))\n\t\tif err != nil {\n\t\t\treturn nil, fmt.Errorf(\"entry %v.route in tun.unsafe_routes failed to parse: %v\", i+1, err)\n\t\t}\n\n\t\tfor _, network := range networks {\n\t\t\tif network.Contains(r.Cidr.Addr()) {\n\t\t\t\treturn nil, fmt.Errorf(","sourceCodeStart":261,"sourceCodeEnd":297,"githubUrl":"https://github.com/slackhq/nebula/blob/dd8f660c0ac37903ec4080ca4d3c861ba9342ceb/overlay/route.go#L261-L297","documentation":"Config validation error in parseUnsafeRoutes: the optional `install` key of the i+1-th entry could not be parsed by strconv.ParseBool — the YAML value is neither bool nor a recognized bool string form (1/t/TRUE etc.). Install defaults to true when absent.","triggerScenarios":"Thrown at overlay/route.go:279 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Write install as a YAML boolean (true/false)","Remove the install key to keep the default true"],"exampleFix":null,"handlingStrategy":"validation","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"dd8f660c0ac37903ec4080ca4d3c861ba9342ceb","analyzedAt":"2026-09-03T11:13:55.444Z","contentChangedAt":"2026-09-03T11:13:55.444Z","schemaVersion":2},"datasetVersion":"2026-09-10T17:17:09.494Z"}