`Error: invalid_reference: invalid tag` when pushing or pulling a chart with version `1.4.0+build.7`.
IntermediateTroubleshootingDependencies, Repositories & OCI
Answer
Likely causes → OCI tags cannot contain +. Helm converts + to _ on push, so the tag in the registry is 1.4.0_build.7; tools or scripts using the raw version fail.
Diagnose → aws ecr list-images --repository-name charts/shop or crane ls.
Fix → Reference the version with + in helm pull --version (Helm translates), or avoid build metadata in chart versions; use pre-release (1.4.0-build.7) or a plain patch bump.
Prevent → CI derives chart versions without +.
More on Dependencies, Repositories & OCI
``Error: An error occurred while checking for chart dependencies. You may need to run `helm dependency build` to fetch missing dependencies: found in Chart.yaml, but missing in charts/ directory: shop-postgres``Beginner`Error: no repository definition for https://charts.example.com/stable. Please add the missing repos via 'helm repo add'`Beginner`Error: the lock file (Chart.lock) is out of sync with the dependencies file (Chart.yaml). Please update the dependencies`Beginner`Error: looks like "https://charts.example.com" is not a valid chart repository or cannot be reached: failed to fetch https://charts.example.com/index.yaml : 404 Not Found`Beginner`Error: chart "shop" version "1.4.2" not found in https://charts.example.com repository`Beginner`Error: failed to authorize: failed to fetch oauth token: unexpected status from GET request to https://ghcr.io/token?...: 401 Unauthorized` on `helm pull oci://ghcr.io/...`Beginner