{"record":{"id":"f204519c0b05328c","repo":"projectdiscovery/nuclei","slug":"no-required-params-file-found","errorCode":null,"errorMessage":"no required params file found","messagePattern":"no required params file found","errorType":"validation","errorClass":"ErrNoVarsDumpFile","httpStatus":null,"severity":"error","filePath":"pkg/input/formats/formats.go","lineNumber":63,"sourceCode":"\t// function for each RawRequest it discovers.\n\tParse(input io.Reader, resultsCb ParseReqRespCallback, filePath string) error\n\t// SetOptions sets the options for the input format\n\tSetOptions(options InputFormatOptions)\n}\n\n// SpecDownloader is an interface for downloading API specifications from URLs\ntype SpecDownloader interface {\n\t// Download downloads the spec from the given URL and saves it to tmpDir\n\t// Returns the path to the downloaded file\n\t// httpClient is a retryablehttp.Client instance (can be nil for fallback)\n\tDownload(url, tmpDir string, httpClient *retryablehttp.Client) (string, error)\n\t// SupportedExtensions returns the list of supported file extensions\n\tSupportedExtensions() []string\n}\n\nvar (\n\tDefaultVarDumpFileName = \"required_openapi_params.yaml\"\n\tErrNoVarsDumpFile      = errors.New(\"no required params file found\")\n)\n\n// == OpenAPIParamsCfgFile ==\n// this file is meant to be used in CLI mode\n// to be more interactive and user-friendly when\n// running nuclei with openapi format\n\n// OpenAPIParamsCfgFile is the structure of the required vars dump file\ntype OpenAPIParamsCfgFile struct {\n\tVar          []string `yaml:\"var\"`\n\tOptionalVars []string `yaml:\"-\"` // this will be written to the file as comments\n}\n\n// ReadOpenAPIVarDumpFile reads the required vars dump file\nfunc ReadOpenAPIVarDumpFile() (*OpenAPIParamsCfgFile, error) {\n\tvar vars OpenAPIParamsCfgFile\n\tif !fileutil.FileExists(DefaultVarDumpFileName) {\n\t\treturn nil, ErrNoVarsDumpFile","sourceCodeStart":45,"sourceCodeEnd":81,"githubUrl":"https://github.com/projectdiscovery/nuclei/blob/265b3a3dec374741614e342f813c10f8b38d2bb7/pkg/input/formats/formats.go#L45-L81","documentation":"Error \"no required params file found\" thrown in projectdiscovery/nuclei.","triggerScenarios":"Thrown at pkg/input/formats/formats.go:63 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":"265b3a3dec374741614e342f813c10f8b38d2bb7","analyzedAt":"2026-08-15T20:05:51.855Z","schemaVersion":2},"datasetVersion":"2026-08-15T22:17:37.221Z"}