{"record":{"id":"8c9074aee6343bcb","repo":"helm/helm","slug":"invalid-chart-url-format-s-8c9074","errorCode":null,"errorMessage":"invalid chart URL format: %s","messagePattern":"invalid chart URL format: (.+?)","errorType":"validation","errorClass":null,"httpStatus":null,"severity":"error","filePath":"pkg/uploader/chart_uploader.go","lineNumber":43,"sourceCode":")\n\n// ChartUploader handles uploading a chart.\ntype ChartUploader struct {\n\t// Out is the location to write warning and info messages.\n\tOut io.Writer\n\t// Pusher collection for the operation\n\tPushers pusher.Providers\n\t// Options provide parameters to be passed along to the Pusher being initialized.\n\tOptions []pusher.Option\n\t// RegistryClient is a client for interacting with registries.\n\tRegistryClient *registry.Client\n}\n\n// UploadTo uploads a chart. Depending on the settings, it may also upload a provenance file.\nfunc (c *ChartUploader) UploadTo(ref, remote string) error {\n\tu, err := url.Parse(remote)\n\tif err != nil {\n\t\treturn fmt.Errorf(\"invalid chart URL format: %s\", remote)\n\t}\n\n\tif u.Scheme == \"\" {\n\t\treturn fmt.Errorf(\"scheme prefix missing from remote (e.g. \\\"%s://\\\")\", registry.OCIScheme)\n\t}\n\n\tp, err := c.Pushers.ByScheme(u.Scheme)\n\tif err != nil {\n\t\treturn err\n\t}\n\n\treturn p.Push(ref, u.String(), c.Options...)\n}\n","sourceCodeStart":25,"sourceCodeEnd":57,"githubUrl":"https://github.com/helm/helm/blob/2a29f1770b62844b27197d2507377361d45ad7c0/pkg/uploader/chart_uploader.go#L25-L57","documentation":"Error \"invalid chart URL format: %s\" thrown in helm/helm.","triggerScenarios":"Thrown at pkg/uploader/chart_uploader.go:43 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":"2a29f1770b62844b27197d2507377361d45ad7c0","analyzedAt":"2026-08-15T22:02:47.490Z","schemaVersion":2},"datasetVersion":"2026-08-15T22:17:37.221Z"}