Here is the error message ```╭────────────────────...
# flyte-support
m
Here is the error message
Copy code
╭───────────────────── Traceback (most recent call last) ──────────────────────╮
│ /home/jguo/projects/flyte_project/workflows/retrain_and_deploy_model.py:642  │
│ in <module>                                                                  │
│                                                                              │
│ ❱ 642 │   fetch_and_upload_data(load_type="site")                            │
│                                                                              │
│ /home/jguo/projects/flyte_project/venv/lib/python3.10/site-packages/flytekit │
│ /core/base_task.py:358 in __call__                                           │
│                                                                              │
│ ❱ 358 │   │   return flyte_entity_call_handler(self, *args, **kwargs)  # typ │
│                                                                              │
│ /home/jguo/projects/flyte_project/venv/lib/python3.10/site-packages/flytekit │
│ /core/promise.py:1213 in flyte_entity_call_handler                           │
│                                                                              │
│ ❱ 1213 │   │   │   result = cast(LocallyExecutable, entity).local_execute(ch │
│                                                                              │
│ /home/jguo/projects/flyte_project/venv/lib/python3.10/site-packages/flytekit │
│ /core/base_task.py:335 in local_execute                                      │
│                                                                              │
│ ❱ 335 │   │   │   outputs_literal_map = self.sandbox_execute(ctx, input_lite │
│                                                                              │
│ /home/jguo/projects/flyte_project/venv/lib/python3.10/site-packages/flytekit │
│ /core/base_task.py:415 in sandbox_execute                                    │
│                                                                              │
│ ❱ 415 │   │   return self.dispatch_execute(ctx, input_literal_map)           │
│                                                                              │
│ /home/jguo/projects/flyte_project/venv/lib/python3.10/site-packages/flytekit │
│ /core/base_task.py:746 in dispatch_execute                                   │
│                                                                              │
│ ❱ 746 │   │   │   literals_map, native_outputs_as_map = self._output_to_lite │
│                                                                              │
│ /home/jguo/projects/flyte_project/venv/lib/python3.10/site-packages/flytekit │
│ /core/base_task.py:619 in _output_to_literal_map                             │
│                                                                              │
│ ❱ 619 │   │   │   │   │   raise TypeError(msg) from e                        │
╰──────────────────────────────────────────────────────────────────────────────╯
TypeError: Failed to convert outputs of task 
'retrain_and_deploy_model.fetch_and_upload_data' at position 0:
  USER:AssertionError: error=Failed to put data from 
/tmp/flyte9t3ezm8b/user_spacedrjmv7ip/local/raw_data_site_2022-08-31T17:00:00Z_2
023-03-03T11:00:00Z.csv to 
<s3://jielian-dev/local/raw_data_site_2022-08-31T17:00:00Z_2023-03-03T11:00:00Z.c>
sv (recursive=False).

Original exception: Session.__init__() got an unexpected keyword argument 
'cache_regions', cause=Session.__init__() got an unexpected keyword argument 
'cache_regions'