{"record":{"id":"42b3057310cf65c5","repo":"XTLS/Xray-core","slug":"failed-to-build-outbound-config-with-tag","errorCode":null,"errorMessage":"failed to build outbound config with tag ","messagePattern":"failed to build outbound config with tag ","errorType":"validation","errorClass":null,"httpStatus":null,"severity":"error","filePath":"infra/conf/xray.go","lineNumber":683,"sourceCode":"\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\n\treturn config, nil\n}\n\n// Convert string to Address.\nfunc ParseSendThough(Addr *string) *Address {\n\tvar addr Address\n\taddr.Address = net.ParseAddress(strings.Split(*Addr, \"/\")[0])\n\treturn &addr\n}\n","sourceCodeStart":665,"sourceCodeEnd":697,"githubUrl":"https://github.com/XTLS/Xray-core/blob/7d214f8b094f75322fa3990f8aadad1c912f24f5/infra/conf/xray.go#L665-L697","documentation":"Error \"failed to build outbound config with tag \" thrown in XTLS/Xray-core.","triggerScenarios":"Thrown at infra/conf/xray.go:683 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-15T17:31:12.345Z"}