{"record":{"id":"4f0ebe571729843d","repo":"goharbor/harbor","slug":"not-found-4f0ebe","errorCode":"NOT_FOUND","errorMessage":"%s:%s not found","messagePattern":"(.+?):(.+?) not found","errorType":"error_code","errorClass":"github.com/goharbor/harbor/src/lib/errors.Error","httpStatus":404,"severity":"error","filePath":"src/pkg/reg/adapter/googlegcr/adapter.go","lineNumber":213,"sourceCode":"\t\treturn nil, reference, nil\n\t}\n\t// for tag as reference\n\tfor d, m := range tgs.Manifest {\n\t\tif slices.Contains(m.Tag, reference) {\n\t\t\treturn m.Tag, d, nil\n\t\t}\n\t}\n\treturn nil, \"\", nil\n}\n\nfunc (a adapter) DeleteManifest(repository, reference string) error {\n\ttags, d, err := a.listGcrTagsByRef(repository, reference)\n\tif err != nil {\n\t\treturn err\n\t}\n\n\tif d == \"\" {\n\t\treturn errors.New(nil).WithCode(errors.NotFoundCode).\n\t\t\tWithMessagef(\"%s:%s not found\", repository, reference)\n\t}\n\tfor _, t := range append(tags, d) {\n\t\treq, err := http.NewRequest(http.MethodDelete, buildManifestURL(a.registry.URL, repository, t), nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tresp, err := a.Client.Do(req)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tdefer resp.Body.Close()\n\t}\n\n\treturn nil\n}\n\nfunc buildTagListURL(endpoint, repository string) string {","sourceCodeStart":195,"sourceCodeEnd":231,"githubUrl":"https://github.com/goharbor/harbor/blob/7b2fd08cc568955cca339afeefab27372840d936/src/pkg/reg/adapter/googlegcr/adapter.go#L195-L231","documentation":"Error \"%s:%s not found\" thrown in goharbor/harbor.","triggerScenarios":"Thrown at src/pkg/reg/adapter/googlegcr/adapter.go:213 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"}