{"record":{"id":"954a12cae4412141","repo":"XTLS/Xray-core","slug":"failed-to-build-inbound-config-with-tag","errorCode":null,"errorMessage":"failed to build inbound config with tag ","messagePattern":"failed to build inbound config with tag ","errorType":"validation","errorClass":null,"httpStatus":null,"severity":"error","filePath":"infra/conf/xray.go","lineNumber":669,"sourceCode":"\t\t\treturn nil, errors.New(\"failed to build geodata configuration\").Base(err)\n\t\t}\n\t\tconfig.App = append(config.App, serial.ToTypedMessage(r))\n\t}\n\n\tvar inbounds []InboundDetourConfig\n\n\tif len(c.InboundConfigs) > 0 {\n\t\tinbounds = append(inbounds, c.InboundConfigs...)\n\t}\n\n\tif len(c.Transport) > 0 {\n\t\treturn nil, errors.PrintRemovedFeatureError(\"Global transport config\", \"streamSettings in inbounds and outbounds\")\n\t}\n\n\tfor _, rawInboundConfig := range inbounds {\n\t\tic, err := rawInboundConfig.Build()\n\t\tif err != nil {\n\t\t\treturn nil, errors.New(\"failed to build inbound config with tag \", rawInboundConfig.Tag).Base(err)\n\t\t}\n\t\tconfig.Inbound = append(config.Inbound, ic)\n\t}\n\n\tvar outbounds []OutboundDetourConfig\n\n\tif len(c.OutboundConfigs) > 0 {\n\t\toutbounds = append(outbounds, c.OutboundConfigs...)\n\t}\n\n\tfor _, rawOutboundConfig := range outbounds {\n\t\toc, err := rawOutboundConfig.Build()\n\t\tif err != nil {\n\t\t\treturn nil, errors.New(\"failed to build outbound config with tag \", rawOutboundConfig.Tag).Base(err)\n\t\t}\n\t\tconfig.Outbound = append(config.Outbound, oc)\n\t}\n","sourceCodeStart":651,"sourceCodeEnd":687,"githubUrl":"https://github.com/XTLS/Xray-core/blob/7d214f8b094f75322fa3990f8aadad1c912f24f5/infra/conf/xray.go#L651-L687","documentation":"Error \"failed to build inbound config with tag \" thrown in XTLS/Xray-core.","triggerScenarios":"Thrown at infra/conf/xray.go:669 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":"7d214f8b094f75322fa3990f8aadad1c912f24f5","analyzedAt":"2026-08-15T14:26:24.325Z","schemaVersion":2},"datasetVersion":"2026-08-15T22:17:37.221Z"}