{"record":{"id":"c5316d0cf534808e","repo":"hashicorp/packer","slug":"no-matching-version-found-in-releases-in-v","errorCode":null,"errorMessage":"no matching version found in releases. In %v","messagePattern":"no matching version found in releases\\. In (.+?)","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"packer/plugin-getter/plugins.go","lineNumber":684,"sourceCode":"\t\t\terr := fmt.Errorf(\"no release found\")\n\t\t\terrs = multierror.Append(errs, err)\n\t\t\tlog.Printf(\"[TRACE] %s\", err.Error())\n\t\t\tcontinue\n\t\t}\n\t\tfor _, release := range releases {\n\t\t\tv, err := goversion.NewVersion(release.Version)\n\t\t\tif err != nil {\n\t\t\t\terr := fmt.Errorf(\"could not parse release version %s. %w\", release.Version, err)\n\t\t\t\terrs = multierror.Append(errs, err)\n\t\t\t\tlog.Printf(\"[TRACE] %s, ignoring it\", err.Error())\n\t\t\t\tcontinue\n\t\t\t}\n\t\t\tif pr.VersionConstraints.Check(v) {\n\t\t\t\tversions = append(versions, v)\n\t\t\t}\n\t\t}\n\t\tif len(versions) == 0 {\n\t\t\terr := fmt.Errorf(\"no matching version found in releases. In %v\", releases)\n\t\t\terrs = multierror.Append(errs, err)\n\t\t\tlog.Printf(\"[TRACE] %s\", err.Error())\n\t\t\tcontinue\n\t\t}\n\n\t\t// Here we want to try every release in order, starting from the highest one\n\t\t// that matches the requirements. The system and protocol version need to\n\t\t// match too.\n\t\tsort.Sort(sort.Reverse(versions))\n\t\tlog.Printf(\"[DEBUG] will try to install: %s\", versions)\n\n\t\tfor _, version := range versions {\n\t\t\t//TODO(azr): split in its own InstallVersion(version, opts) function\n\n\t\t\toutputFolder := filepath.Join(\n\t\t\t\t// Pick last folder as it's the one with the highest priority\n\t\t\t\topts.PluginDirectory,\n\t\t\t\t// add expected full path","sourceCodeStart":666,"sourceCodeEnd":702,"githubUrl":"https://github.com/hashicorp/packer/blob/eb36e3c3e48a036f3e8cc94087636ee72e1303c9/packer/plugin-getter/plugins.go#L666-L702","documentation":"Plugin installation error from InstallLatest: the release list was parsed, but none of its versions satisfy the version constraint in required_plugins, so there is nothing to install from this server.","triggerScenarios":"Thrown at packer/plugin-getter/plugins.go:684 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Loosen the version constraint in required_plugins (e.g. \">= 1.0.0\")","Check available versions on the plugin's releases page and pin one that exists"],"exampleFix":null,"handlingStrategy":"validation","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"eb36e3c3e48a036f3e8cc94087636ee72e1303c9","analyzedAt":"2026-09-05T13:20:43.127Z","contentChangedAt":"2026-09-05T13:20:43.127Z","schemaVersion":2},"datasetVersion":"2026-09-12T17:17:11.597Z"}