We are experiencing issues when attempting to add notes to tasks in airflow.
The following is from the airflow-webserver log on an-launcher1002.
...skipping... Dec 01 13:45:12 an-launcher1002 airflow-webserver@analytics[12713]: c = connection._execute_20( Dec 01 13:45:12 an-launcher1002 airflow-webserver@analytics[12713]: File "/usr/lib/airflow/lib/python3.10/site-packages/sqlalchemy/engine/base.py", line 1710, in _execute_20 Dec 01 13:45:12 an-launcher1002 airflow-webserver@analytics[12713]: return meth(self, args_10style, kwargs_10style, execution_options) Dec 01 13:45:12 an-launcher1002 airflow-webserver@analytics[12713]: File "/usr/lib/airflow/lib/python3.10/site-packages/sqlalchemy/sql/elements.py", line 334, in _execute_on_connection Dec 01 13:45:12 an-launcher1002 airflow-webserver@analytics[12713]: return connection._execute_clauseelement( Dec 01 13:45:12 an-launcher1002 airflow-webserver@analytics[12713]: File "/usr/lib/airflow/lib/python3.10/site-packages/sqlalchemy/engine/base.py", line 1577, in _execute_clauseelement Dec 01 13:45:12 an-launcher1002 airflow-webserver@analytics[12713]: ret = self._execute_context( Dec 01 13:45:12 an-launcher1002 airflow-webserver@analytics[12713]: File "/usr/lib/airflow/lib/python3.10/site-packages/sqlalchemy/engine/base.py", line 1953, in _execute_context Dec 01 13:45:12 an-launcher1002 airflow-webserver@analytics[12713]: self._handle_dbapi_exception( Dec 01 13:45:12 an-launcher1002 airflow-webserver@analytics[12713]: File "/usr/lib/airflow/lib/python3.10/site-packages/sqlalchemy/engine/base.py", line 2134, in _handle_dbapi_exception Dec 01 13:45:12 an-launcher1002 airflow-webserver@analytics[12713]: util.raise_( Dec 01 13:45:12 an-launcher1002 airflow-webserver@analytics[12713]: File "/usr/lib/airflow/lib/python3.10/site-packages/sqlalchemy/util/compat.py", line 211, in raise_ Dec 01 13:45:12 an-launcher1002 airflow-webserver@analytics[12713]: raise exception Dec 01 13:45:12 an-launcher1002 airflow-webserver@analytics[12713]: File "/usr/lib/airflow/lib/python3.10/site-packages/sqlalchemy/engine/base.py", line 1910, in _execute_context Dec 01 13:45:12 an-launcher1002 airflow-webserver@analytics[12713]: self.dialect.do_execute( Dec 01 13:45:12 an-launcher1002 airflow-webserver@analytics[12713]: File "/usr/lib/airflow/lib/python3.10/site-packages/sqlalchemy/engine/default.py", line 736, in do_execute Dec 01 13:45:12 an-launcher1002 airflow-webserver@analytics[12713]: cursor.execute(statement, parameters) Dec 01 13:45:12 an-launcher1002 airflow-webserver@analytics[12713]: sqlalchemy.exc.DataError: (psycopg2.errors.InvalidTextRepresentation) invalid input syntax for type integer: "None" Dec 01 13:45:12 an-launcher1002 airflow-webserver@analytics[12713]: LINE 1: ...p_index, content, created_at, updated_at) VALUES ('None', 'm... Dec 01 13:45:12 an-launcher1002 airflow-webserver@analytics[12713]: ^ Dec 01 13:45:12 an-launcher1002 airflow-webserver@analytics[12713]: [SQL: INSERT INTO task_instance_note (user_id, task_id, dag_id, run_id, map_index, content, created_at, updated_at) VALUES (%(user_id)s, %(task Dec 01 13:45:12 an-launcher1002 airflow-webserver@analytics[12713]: [parameters: {'user_id': 'None', 'task_id': 'move_data_to_archive', 'dag_id': 'pageview_hourly', 'run_id': 'scheduled__2023-12-01T06:00:00+00:0 Dec 01 13:45:12 an-launcher1002 airflow-webserver@analytics[12713]: (Background on this error at: https://sqlalche.me/e/14/9h9h)