Skip to content

Airflow 3.0.0 : Import Variables from GUI fails with "Error Parsing JSON File" #49837

@gbonazzoli

Description

@gbonazzoli

Apache Airflow version

3.0.0

If "Other Airflow 2 version" selected, which one?

No response

What happened?

Airflow 3.0.0 : Import Variables from GUI fails with "Error Parsing JSON File",

Image

but the same JSON file is correctly imported from the CLI:

(venv) root@airflow-tre:~/airflow# airflow variables import variables.json 
5 of 5 variables successfully updated.

What you think should happen instead?

The correct behaviour is to import variables.

How to reproduce

Export variables from an airflow 2.x instance and try to import them on Airflow 3.0.0

Operating System

Ubuntu 24.04.2 LTS

Versions of Apache Airflow Providers

apache-airflow-providers-celery==3.10.6
apache-airflow-providers-common-compat==1.6.0
apache-airflow-providers-common-io==1.5.4
apache-airflow-providers-common-sql==1.26.0
apache-airflow-providers-git==0.0.2
apache-airflow-providers-postgres==6.1.3
apache-airflow-providers-redis==4.0.2
apache-airflow-providers-smtp==2.0.3
apache-airflow-providers-ssh==4.0.1
apache-airflow-providers-standard==1.0.0

Deployment

Virtualenv installation

Deployment details

Nothing special, vanilla LXD Ubuntu 24.04 container and vanilla Airflow installation.

Anything else?

no

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Assignees

Labels

affected_version:3.0Issues Reported for 3.0area:UIRelated to UI/UX. For Frontend Developers.area:corekind:bugThis is a clearly a bugpriority:mediumBug that should be fixed before next release but would not block a release

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions