{"record":{"id":"8276bb83a5a0fc78","repo":"hashicorp/packer","slug":"could-not-get-s-checksum-file-for-s-version-s","errorCode":null,"errorMessage":"could not get %s checksum file for %s version %s. Is the file present on the release and correctly named ? %w","messagePattern":"could not get (.+?) checksum file for (.+?) version (.+?)\\. Is the file present on the release and correctly named \\? %w","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"packer/plugin-getter/plugins.go","lineNumber":722,"sourceCode":"\t\t\t)\n\n\t\t\tlog.Printf(\"[TRACE] fetching checksums file for the %q version of the %s plugin in %q...\", version, pr.Identifier, outputFolder)\n\n\t\t\tvar checksum *FileChecksum\n\t\t\tfor _, checksummer := range opts.Checksummers {\n\t\t\t\tif checksum != nil {\n\t\t\t\t\tbreak\n\t\t\t\t}\n\t\t\t\tchecksumFile, err := getter.Get(checksummer.Type, GetOptions{\n\t\t\t\t\tPluginRequirement:         pr,\n\t\t\t\t\tBinaryInstallationOptions: opts.BinaryInstallationOptions,\n\t\t\t\t\tversion:                   version,\n\t\t\t\t})\n\t\t\t\tif err != nil {\n\t\t\t\t\tif errors.Is(err, HTTPFailure) {\n\t\t\t\t\t\treturn nil, err\n\t\t\t\t\t}\n\t\t\t\t\terr := fmt.Errorf(\"could not get %s checksum file for %s version %s. Is the file present on the release and correctly named ? %w\", checksummer.Type, pr.Identifier, version, err)\n\t\t\t\t\terrs = multierror.Append(errs, err)\n\t\t\t\t\tlog.Printf(\"[TRACE] %s\", err)\n\t\t\t\t\tcontinue\n\t\t\t\t}\n\n\t\t\t\tentries, err := ParseChecksumFileEntries(checksumFile)\n\t\t\t\t_ = checksumFile.Close()\n\t\t\t\tif err != nil {\n\t\t\t\t\terr := fmt.Errorf(\"could not parse %s checksumfile: %v. Make sure the checksum file contains a checksum and a binary filename per line\", checksummer.Type, err)\n\t\t\t\t\terrs = multierror.Append(errs, err)\n\t\t\t\t\tlog.Printf(\"[TRACE] %s\", err)\n\t\t\t\t\tcontinue\n\t\t\t\t}\n\n\t\t\t\tfor _, entry := range entries {\n\t\t\t\t\tif filepath.Ext(entry.Filename) == JSONExtension {\n\t\t\t\t\t\tcontinue\n\t\t\t\t\t}","sourceCodeStart":704,"sourceCodeEnd":740,"githubUrl":"https://github.com/hashicorp/packer/blob/eb36e3c3e48a036f3e8cc94087636ee72e1303c9/packer/plugin-getter/plugins.go#L704-L740","documentation":"Plugin installation error from InstallLatest: the checksum file (SHA256/SHA1SUMS etc.) for the selected plugin version could not be downloaded from the release — wrong/missing filename on the release or a fetch failure for every checksummer.","triggerScenarios":"Thrown at packer/plugin-getter/plugins.go:722 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Check the release page includes a correctly named checksum file (e.g. packer-plugin-x_v1.0.0_SHA256SUMS)","Retry — transient network failures are appended to the multierror result"],"exampleFix":null,"handlingStrategy":"retry","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"}