{"record":{"id":"49fe955fc9d51297","repo":"goharbor/harbor","slug":"volcenginecr-only-support-repo-in-format-namespac","errorCode":null,"errorMessage":"VolcEngineCR only support repo in format <namespace>/<repo>, but got: %s","messagePattern":"VolcEngineCR only support repo in format <namespace>/<repo>, but got: (.+?)","errorType":"validation","errorClass":null,"httpStatus":null,"severity":"error","filePath":"src/pkg/reg/adapter/volcenginecr/artifact_registry.go","lineNumber":34,"sourceCode":"\nimport (\n\t\"fmt\"\n\t\"strings\"\n\n\t\"github.com/opencontainers/go-digest\"\n\t\"github.com/volcengine/volcengine-go-sdk/service/cr\"\n\n\t\"github.com/goharbor/harbor/src/common/utils\"\n\t\"github.com/goharbor/harbor/src/lib/log\"\n\t\"github.com/goharbor/harbor/src/pkg/reg/model\"\n\t\"github.com/goharbor/harbor/src/pkg/reg/util\"\n)\n\n// DeleteManifest VolcCR will use our own openAPI to delete Manifest\nfunc (a *adapter) DeleteManifest(repository, reference string) (err error) {\n\tparts := strings.SplitN(repository, \"/\", 2)\n\tif len(parts) != 2 {\n\t\treturn fmt.Errorf(\"VolcEngineCR only support repo in format <namespace>/<repo>, but got: %s\", repository)\n\t}\n\tlog.Warningf(\"namespace=%s, repository=%s, tag=%s\", parts[0], parts[1], reference)\n\n\tif _, err := digest.Parse(reference); err != nil {\n\t\t// get digest\n\t\tresp, err := a.volcCrClient.ListTags(&cr.ListTagsInput{\n\t\t\tRegistry:   a.registryName,\n\t\t\tNamespace:  &parts[0],\n\t\t\tRepository: &parts[1],\n\t\t\tFilter: &cr.FilterForListTagsInput{\n\t\t\t\tNames: []*string{\n\t\t\t\t\t&reference,\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}","sourceCodeStart":16,"sourceCodeEnd":52,"githubUrl":"https://github.com/goharbor/harbor/blob/7b2fd08cc568955cca339afeefab27372840d936/src/pkg/reg/adapter/volcenginecr/artifact_registry.go#L16-L52","documentation":"Error \"VolcEngineCR only support repo in format <namespace>/<repo>, but got: %s\" thrown in goharbor/harbor.","triggerScenarios":"Thrown at src/pkg/reg/adapter/volcenginecr/artifact_registry.go:34 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"}