Skip to content
Latchkey

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.

argocd
unable to generate applications: error generating params from git:
error retrieving Git files: authentication required

Common 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

  1. Read which generator the error names (git, list, cluster, matrix).
  2. For a Git generator, ensure repo credentials and the file path or directory pattern are correct.
  3. For a cluster generator, confirm target clusters are registered.
Terminal
argocd appset get my-appset
argocd cluster list

Validate the generator config

Confirm globs and paths resolve to real files so the generator yields parameters.

applicationset.yaml
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.

Frequently asked questions

What causes ""error generating params""?
A Git generator needs repo access; a cluster generator needs registered clusters. Missing credentials or clusters make param generation fail.
How do I fix "error generating params"?
Fix the generator source

Related guides

References

Run this faster and cheaper on Latchkey managed runners - self-healing included. Start free → 30-day trial · No credit card