goharbor/harbor · error
failed to fetch artifacts: %v
Error message
failed to fetch artifacts: %v
What it means
Error "failed to fetch artifacts: %v" thrown in goharbor/harbor.
Source
Thrown at src/pkg/reg/adapter/tencentcr/artifact_registry.go:138
if len(filteredImages) > 0 {
rawResources[index] = &model.Resource{
Type: model.ResourceTypeImage,
Registry: a.registry,
Metadata: &model.ResourceMetadata{
Repository: &model.Repository{
Name: repo.Name,
},
Vtags: filteredImages,
},
}
}
return nil
})
}
if err = runner.Wait(); err != nil {
return nil, fmt.Errorf("failed to fetch artifacts: %v", err)
}
for _, res := range rawResources {
if res != nil {
resources = append(resources, res)
}
}
log.Debugf("[tencent-tcr.FetchArtifacts] resources.size=%d", len(resources))
return
}
func (a *adapter) listCandidateNamespaces(namespacePattern string) (namespaces []string, err error) {
// filter namespaces
if len(namespacePattern) > 0 {
if nms, ok := util.IsSpecificPathComponent(namespacePattern); ok {
// Check is exist
var exist boolView on GitHub (pinned to 7b2fd08cc5)
When it happens
Trigger: Thrown at src/pkg/reg/adapter/tencentcr/artifact_registry.go:138 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of goharbor/harbor@7b2fd08cc5 (2026-08-16).
Data as JSON: /api/errors/a408d47586caa567.
Report an issue: GitHub.