helm/helm · error

invalid chart URL format: %s

Error message

invalid chart URL format: %s

What it means

Error "invalid chart URL format: %s" thrown in helm/helm.

Source

Thrown at pkg/uploader/chart_uploader.go:43

)

// ChartUploader handles uploading a chart.
type ChartUploader struct {
	// Out is the location to write warning and info messages.
	Out io.Writer
	// Pusher collection for the operation
	Pushers pusher.Providers
	// Options provide parameters to be passed along to the Pusher being initialized.
	Options []pusher.Option
	// RegistryClient is a client for interacting with registries.
	RegistryClient *registry.Client
}

// UploadTo uploads a chart. Depending on the settings, it may also upload a provenance file.
func (c *ChartUploader) UploadTo(ref, remote string) error {
	u, err := url.Parse(remote)
	if err != nil {
		return fmt.Errorf("invalid chart URL format: %s", remote)
	}

	if u.Scheme == "" {
		return fmt.Errorf("scheme prefix missing from remote (e.g. \"%s://\")", registry.OCIScheme)
	}

	p, err := c.Pushers.ByScheme(u.Scheme)
	if err != nil {
		return err
	}

	return p.Push(ref, u.String(), c.Options...)
}

View on GitHub (pinned to 2a29f1770b)

When it happens

Trigger: Thrown at pkg/uploader/chart_uploader.go:43 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of helm/helm@2a29f1770b (2026-08-15). Data as JSON: /api/errors/8c9074aee6343bcb. Report an issue: GitHub.