molcay commented on PR #41350:
URL: https://github.com/apache/airflow/pull/41350#issuecomment-2283788502
Hi @bbovenzi,
After checking the second time, "failure" is a bit too much but here is the
situation:
- I have the following simple DAG:
```python
import datetime
import airflow
import pendulum
from airflow.operators.bash import BashOperator
with airflow.DAG(
dag_id="basic_dag",
start_date=pendulum.datetime(2024, 5, 14, tz="UTC"),
catchup=False,
schedule="@once",
tags=["basic"],
params={
'd': datetime.datetime.utcnow(),
}
):
task = BashOperator(task_id="normal", bash_command="echo 'I am just a
normal task'")
```
When I try to trigger this DAG, in the trigger form page I am getting the
following info message (I am saying info because it is a blueish color)
```
Could not pre-populate conf field due to non-JSON-serializable data-types
```
The UI:

When I try to click the Trigger button, I am getting the same info message
again and the trigger is not successful.
Here is the current process:

> NOTE: If I run the command `airflow dags trigger basic_dag` it will
succeed.
With this PR, we will use the `WebEncoder` for current and recent
configurations, so it will not give this message.
The result:

--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]