Argo CD: ComparisonError: rpc error: code = Unknown desc = Manifest generation error (cached): kustomize build failed
Argo CD could not render the manifests (Helm, Kustomize or plain YAML) for the application, so it cannot compare Git with the cluster and the app shows Unknown.
ComparisonError: rpc error: code = Unknown desc = Manifest generation errorManifest generation error (cached)Failed to load target state: failed to generate manifest for sourceComparisonError Argo CDkustomize build failed Argo CD Meaning
The condition message includes the tool's real error. Reproduce it locally: helm template or kustomize build in the same path, with the same values and revision. Common issues are invalid YAML, missing values files, repo access errors and chart dependencies not built.
Common causes
- Invalid YAML or template error in the chart/overlay
- Wrong
path,targetRevisionor values file name - Helm dependencies not fetched or private chart repo credentials missing
- Kustomize base/resource path not found
- Repo server out of memory or timeout
⚡ Quick fix
- Run
helm template/kustomize buildlocally against the same commit - Fix the path, revision and values
- Refresh with hard refresh after fixing:
argocd app get APP --hard-refresh
Detailed fix by platform
Kubernetes
argocd app get my-appshows conditions;kubectl -n argocd logs deploy/argocd-repo-servershows the render error
Code examples
Reproduce locally
helm template my-app ./chart -f values-prod.yaml > /dev/null
kustomize build overlays/prod > /dev/null
argocd app get my-app --hard-refreshHow to diagnose
- Render — Does helm/kustomize work locally?
- Path — Correct path and revision?
- Repo — Credentials and dependencies OK?
🔧 Still not fixed?
Many errors look alike. If the steps above didn’t solve it, one of these is probably what you’re facing:
Similar errors
- Cannot find orb CircleCI: Cannot find orb 'circleci/node@9.9.9'. Check the namespace and version exist
- Config compilation failed CircleCI: Error calling workflow: 'build'. Cannot find a definition for job named test / Config does not conform to schema
- Container exceeded memory limit Bitbucket Pipelines: Container 'Build' exceeded memory limit / Docker container exited with code 137
Most viewed in CI/CD
- The process '/usr/bin/git' failed with exit code 128 GitHub Actions: Error: The process '/usr/bin/git' failed with exit code 128
- This job is stuck because you don't have any active runners GitLab CI: This job is stuck because you don't have any active runners online or available with any of these tags assigned to them
- Resource not accessible by integration GitHub Actions: Error: Resource not accessible by integration (403)
Other ways to find it
Where this error sits
Origin: Build & delivery. Errors that are often confused with or caused by this one (click to open):
🧠 Still stuck? Analyze your error
Paste the full message, response headers or stack trace — we'll detect the platform and point to the most likely cause.
💬 What worked for others
No tips yet — did something else fix this for you?
Share what worked for you
Tips are checked by an editor before they appear. Links are removed.
Report a correction or suggest an improvement
Last updated 25 Oct 2026