{"record":{"id":"f072d3ffa98de203","repo":"goharbor/harbor","slug":"not-found-f072d3","errorCode":"NOT_FOUND","errorMessage":"%s:%s not found","messagePattern":"(.+?):(.+?) not found","errorType":"error_code","errorClass":"lib/errors.Error","httpStatus":404,"severity":"error","filePath":"src/pkg/registry/client.go","lineNumber":328,"sourceCode":"\treq.Header.Set(\"Content-Type\", mediaType)\n\tresp, err := c.do(req)\n\tif err != nil {\n\t\treturn \"\", err\n\t}\n\tdefer resp.Body.Close()\n\treturn resp.Header.Get(\"Docker-Content-Digest\"), nil\n}\n\nfunc (c *client) DeleteManifest(repository, reference string) error {\n\t_, err := digest.Parse(reference)\n\tif err != nil {\n\t\t// the reference is tag, get the digest first\n\t\texist, desc, err := c.ManifestExist(repository, reference)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif !exist {\n\t\t\treturn errors.New(nil).WithCode(errors.NotFoundCode).\n\t\t\t\tWithMessagef(\"%s:%s not found\", repository, reference)\n\t\t}\n\t\treference = string(desc.Digest)\n\t}\n\treq, err := http.NewRequest(http.MethodDelete, buildManifestURL(c.url, repository, reference), nil)\n\tif err != nil {\n\t\treturn err\n\t}\n\tresp, err := c.do(req)\n\tif err != nil {\n\t\treturn err\n\t}\n\tdefer resp.Body.Close()\n\treturn nil\n}\n\nfunc (c *client) BlobExist(repository, digest string) (bool, error) {\n\treq, err := http.NewRequest(http.MethodHead, buildBlobURL(c.url, repository, digest), nil)","sourceCodeStart":310,"sourceCodeEnd":346,"githubUrl":"https://github.com/goharbor/harbor/blob/7b2fd08cc568955cca339afeefab27372840d936/src/pkg/registry/client.go#L310-L346","documentation":"Error \"%s:%s not found\" thrown in goharbor/harbor.","triggerScenarios":"Thrown at src/pkg/registry/client.go:328 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":"7b2fd08cc568955cca339afeefab27372840d936","analyzedAt":"2026-08-16T00:00:10.961Z","schemaVersion":2},"datasetVersion":"2026-08-16T03:17:38.424Z"}