Skip to content

airflow CTL --conf option can't parse input #67989

Closed

Description

@atakanyenel

Airflow CTL Version

Latest stable version

Airflow CTL Command

airflow dags trigger --conf '{"my-key": "my-value"}' --dag-id "my-dag"

Keyring Backend / Version

keyrings.alt 5.0.2

Auth Type

username:password

What is the current behaviour?

I'm trying to trigger a DagRun from the CLI. I'm already logged in to airflow with airflow auth login --user etc.

When I'm giving the dag parameters to CLI with --conf, the CLI rejects them, saying that they can't be parsed. AI analysis tells me that the CLI tries to parse the --conf flag directly as python dictionary without parsing the JSON first. Here is the failing value for my case:

What is the expected results?

The command should trigger a DAG run with the given json config.

Anything else?

No response

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Activity

  1. added
    kind:bug
    needs-triage
    on Jun 4, 2026
  2. boring-cyborg commented on Jun 4, 2026

    @boring-cyborg

    Thanks for opening your first issue here! Be sure to follow the issue template! If you are willing to raise PR to address this issue please do so, no need to wait for approval.

  3. added a commit that references this issue on Jul 8, 2026
    b43ab1b
  4. added a commit that references this issue on Jul 13, 2026
    a1cec52
  5. added a commit that references this issue on Jul 13, 2026
    9a3ed00
  6. added a commit that references this issue on Nov 19, 2026
    eae0618
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:CLIarea:airflow-ctlkind:bugneeds-triage

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions