{"record":{"id":"f854bc1a340961d2","repo":"hashicorp/packer","slug":"q-not-implemented-f854bc","errorCode":null,"errorMessage":"%q not implemented","messagePattern":"%q not implemented","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"packer/plugin-getter/remote/getter.go","lineNumber":261,"sourceCode":"\t\t\t}\n\t\t\tif !entryHasProtocolVersion.MatchString(fields[1]) {\n\t\t\t\tif err := g.resolveProtocolVersion(versionURL, idx.pluginType, version); err != nil {\n\t\t\t\t\treturn nil, err\n\t\t\t\t}\n\t\t\t\tbreak\n\t\t\t}\n\t\t}\n\t\treturn gh.TransformChecksumStream()(io.NopCloser(bytes.NewReader(data)))\n\n\tcase \"zip\":\n\t\t_, versionURL, err := g.versionURL(opts)\n\t\tif err != nil {\n\t\t\treturn nil, err\n\t\t}\n\t\treturn g.fetchStream(versionURL + \"/\" + opts.ExpectedZipFilename())\n\n\tdefault:\n\t\treturn nil, fmt.Errorf(\"%q not implemented\", what)\n\t}\n}\n\n// Init parses a checksum-file entry name in either accepted shape:\n//\n//\tpacker-plugin-comment_v0.2.12_x5.0_freebsd_amd64.zip  (GitHub release asset)\n//\tpacker-plugin-docker_1.1.4_darwin_arm64.zip           (releases.hashicorp.com)\n//\n// The releases.hashicorp.com shape carries no protocol version; Validate\n// fills it from the version's manifest.json.\nfunc (g *Getter) Init(req *plugingetter.Requirement, entry *plugingetter.ChecksumFileEntry) error {\n\tfilename := entry.Filename\n\tres := strings.TrimPrefix(filename, req.FilenamePrefix())\n\n\tentry.Ext = filepath.Ext(res)\n\tres = strings.TrimSuffix(res, entry.Ext)\n\n\tparts := strings.Split(res, \"_\")","sourceCodeStart":243,"sourceCodeEnd":279,"githubUrl":"https://github.com/hashicorp/packer/blob/eb36e3c3e48a036f3e8cc94087636ee72e1303c9/packer/plugin-getter/remote/getter.go#L243-L279","documentation":"Remote getter error from Get: the requested artifact kind (the `what` argument) is not one of the implemented types (checksum or zip). A programming/usage guard — only \"checksum\"-style and \"zip\" fetches are supported by this getter.","triggerScenarios":"Thrown at packer/plugin-getter/remote/getter.go:261 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Request a supported artifact type (checksum file or zip) from the getter","This indicates an internal caller bug or unsupported plugin-getter configuration; report it if triggered by stock Packer"],"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"}