Argo CD ApplicationSet "error generating params" in CI
An ApplicationSet builds child Applications from a generator that produces parameter sets. When the generator fails, the controller reports "error generating params" and creates no Applications from that generator.
What this error means
The ApplicationSet status shows an ErrorOccurred condition with "error generating params" naming the generator, and the expected child Applications do not appear.
unable to generate applications: error generating params from git:
error retrieving Git files: authentication requiredCommon causes
A generator input is unreachable or unauthorized
A Git generator needs repo access; a cluster generator needs registered clusters. Missing credentials or clusters make param generation fail.
A malformed generator config
A bad glob, a wrong path, or an invalid matrix or merge composition produces no valid parameters.
How to fix it
Fix the generator source
- Read which generator the error names (git, list, cluster, matrix).
- For a Git generator, ensure repo credentials and the file path or directory pattern are correct.
- For a cluster generator, confirm target clusters are registered.
argocd appset get my-appset
argocd cluster listValidate the generator config
Confirm globs and paths resolve to real files so the generator yields parameters.
spec:
generators:
- git:
repoURL: https://github.com/acme/manifests
revision: main
directories:
- path: apps/*How to prevent it
- Register clusters and repo credentials before referencing them in generators.
- Test generator globs and paths against the repo layout.
- Validate ApplicationSet composition (matrix/merge) before applying.