bohdan-pd commented on issue #57618:
URL: https://github.com/apache/airflow/issues/57618#issuecomment-3686353684
Hi @ephraimbuddy I got the same error for this MWAA environment. My task
logic finished and XCom was pushed, but at the end I got this error. Could it
be related?
```AirflowRuntimeError: API_SERVER_ERROR: {'status_code': 409, 'message':
'Server returned error', 'detail': {'detail': {'reason': 'invalid_state',
'message': 'TI was not in the running state so it cannot be updated',
'previous_state': 'failed'}}}
File
"/usr/local/airflow/.local/lib/python3.12/site-packages/airflow/sdk/execution_time/task_runner.py",
line 1351 in main
File
"/usr/local/airflow/.local/lib/python3.12/site-packages/airflow/sdk/execution_time/task_runner.py",
line 999 in run
File
"/usr/local/airflow/.local/lib/python3.12/site-packages/airflow/sdk/execution_time/comms.py",
line 204 in send
File
"/usr/local/airflow/.local/lib/python3.12/site-packages/airflow/sdk/execution_time/comms.py",
line 264 in _get_response
File
"/usr/local/airflow/.local/lib/python3.12/site-packages/airflow/sdk/execution_time/comms.py",
line 251 in _from_frame
```
--
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]