{"record":{"id":"51e5349a18dc3ab2","repo":"slackhq/nebula","slug":"no-config-files-found-at-s","errorCode":null,"errorMessage":"no config files found at %s","messagePattern":"no config files found at (.+?)","errorType":"validation","errorClass":null,"httpStatus":null,"severity":"error","filePath":"config/config.go","lineNumber":51,"sourceCode":"func NewC(l *slog.Logger) *C {\n\treturn &C{\n\t\tSettings: make(map[string]any),\n\t\tl:        l,\n\t}\n}\n\n// Load will find all yaml files within path and load them in lexical order\nfunc (c *C) Load(path string) error {\n\tc.path = path\n\tc.files = make([]string, 0)\n\n\terr := c.resolve(path, true)\n\tif err != nil {\n\t\treturn err\n\t}\n\n\tif len(c.files) == 0 {\n\t\treturn fmt.Errorf(\"no config files found at %s\", path)\n\t}\n\n\tsort.Strings(c.files)\n\n\terr = c.parse()\n\tif err != nil {\n\t\treturn err\n\t}\n\n\treturn nil\n}\n\nfunc (c *C) LoadString(raw string) error {\n\tif raw == \"\" {\n\t\treturn errors.New(\"Empty configuration\")\n\t}\n\treturn c.parseRaw([]byte(raw))\n}","sourceCodeStart":33,"sourceCodeEnd":69,"githubUrl":"https://github.com/slackhq/nebula/blob/dd8f660c0ac37903ec4080ca4d3c861ba9342ceb/config/config.go#L33-L69","documentation":"Error from config.C.Load: the resolve pass over the configured path found zero YAML files. The path exists (or stat failed silently) but no loadable YAML was discovered, so there is nothing to parse; the path itself is included in the message.","triggerScenarios":"Thrown at config/config.go:51 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Point -config at a directory containing .yaml/.yml files or at a single YAML file","Check the filename extension matches what the loader accepts","Verify the path was not mistyped"],"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"}