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/jfrog/adapter.go:200
if len(artifacts) == 0 {
return nil
}
rawResources[index] = &model.Resource{
Type: model.ResourceTypeImage,
Registry: a.registry,
Metadata: &model.ResourceMetadata{
Repository: &model.Repository{
Name: repo.Name,
},
Artifacts: artifacts,
},
}
return nil
})
}
if err = runner.Wait(); err != nil {
return nil, fmt.Errorf("failed to fetch artifacts: %v", err)
}
var resources []*model.Resource
for _, r := range rawResources {
if r != nil {
resources = append(resources, r)
}
}
return resources, nil
}
func (a *adapter) listAllRepositories() ([]*repository, error) {
return a.client.getAllRepositories()
}
// listRepositories lists repositories from jfrog
func (a *adapter) listRepositories(filters []*model.Filter) ([]*model.Repository, error) {
pattern := ""View on GitHub (pinned to 7b2fd08cc5)
When it happens
Trigger: Thrown at src/pkg/reg/adapter/jfrog/adapter.go:200 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/2d758b1705adbe31.
Report an issue: GitHub.