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/aliacr/adapter.go:363

			}

			if len(filterArtifacts) > 0 {
				rawResources[index] = &model.Resource{
					Type:     model.ResourceTypeImage,
					Registry: a.registry,
					Metadata: &model.ResourceMetadata{
						Repository: &model.Repository{
							Name: filepath.Join(repo.Namespace, repo.Name),
						},
						Artifacts: filterArtifacts,
					},
				}
			}
			return nil
		})
	}
	if err = runner.Wait(); err != nil {
		return nil, fmt.Errorf("failed to fetch artifacts: %v", err)
	}
	for _, r := range rawResources {
		if r != nil {
			resources = append(resources, r)
		}
	}

	return resources, nil
}

View on GitHub (pinned to 7b2fd08cc5)

When it happens

Trigger: Thrown at src/pkg/reg/adapter/aliacr/adapter.go:363 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/fb54f181c2841670. Report an issue: GitHub.