question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

airflow is not accepting configuration from Admin UI

See original GitHub issue

Apache Airflow version: 2.1.1

Kubernetes version (if you are using kubernetes) (use kubectl version): NO

Environment: local (docker + ubuntu)

  • Cloud provider or hardware configuration:
  • OS (e.g. from /etc/os-release): Debian GNU/Linux 10 (buster)
  • Kernel (e.g. uname -a): linux

What happened: airflow is not accepting configuration from Admin UI

when I submit a DAG configuration from UI, it is giving me error Invalid JSON configuration, must be a dict

image

the same workflow is working in airflow 2.1.0 version I think this issue occurred in this PR https://github.com/apache/airflow/pull/15057

What you expected to happen: Airflow admin should accept the conf from UI and trigger the dag

How to reproduce it: It can be reproduced for all cases, we have to put any valid JSON into the configuration window on a DAG

Willing to submit PR YES

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:9 (9 by maintainers)

github_iconTop GitHub Comments

2reactions
kaxilcommented, Jul 5, 2021

Looks like we already had a fix: https://github.com/apache/airflow/pull/16648

1reaction
kaxilcommented, Jul 5, 2021

I have cherry-picked it to v2-1-stable and v2-1-test, we will cut a 2.1.2 release which should be available to the users by the end of this week.

Until then, please use the API or CLI to trigger dags.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Airflow:Cannot open Admin UI by specified url - Stack Overflow
I've finished installation and configuration of Airflow with no error or warning occured. While I'm trying to start airflow webservice ...
Read more >
changes in airflow.cfg file is not getting reflected through my ...
I have passed the values in airflow.cfg file for s3 and made ... but it is not taking any changes. only read local...
Read more >
Setting Configuration Options - Apache Airflow
Use the same configuration across all the Airflow components. While each component does not require all, some configurations need to be same otherwise...
Read more >
Apache Airflow configuration options - AWS Documentation
Apache Airflow configuration options can be attached to your Amazon Managed Workflows for Apache Airflow (MWAA) environment as environment variables.
Read more >
An introduction to the Airflow UI | Astronomer Documentation
The Admin tab links to pages for content related to Airflow administration that are not specific to any particular DAG. Many of these...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found