Error running dlt pipeline to send loaded table query result to s3!
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/site-packages/s3fs/core.py", line 113, in _error_wrapper
    return await func(*args, **kwargs)
  File "/usr/local/lib/python3.10/site-packages/aiobotocore/client.py", line 411, in _make_api_call
    raise error_class(parsed_response, operation_name)
botocore.exceptions.ClientError: An error occurred (301) when calling the HeadObject operation: Moved Permanently

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/site-packages/dlt/pipeline/pipeline.py", line 726, in sync_destination
    remote_state = self._restore_state_from_destination()
  File "/usr/local/lib/python3.10/site-packages/dlt/pipeline/pipeline.py", line 1463, in _restore_state_from_destination
    state = load_pipeline_state_from_destination(self.pipeline_name, job_client)
  File "/usr/local/lib/python3.10/site-packages/dlt/pipeline/state_sync.py", line 119, in load_pipeline_state_from_destination
    state = client.get_stored_state(pipeline_name)
  File "/usr/local/lib/python3.10/site-packages/dlt/destinations/impl/filesystem/filesystem.py", line 448, in get_stored_state
    for filepath, fileparts in self._list_dlt_table_files(self.schema.state_table_name):
  File "/usr/local/lib/python3.10/site-packages/dlt/destinations/impl/filesystem/filesystem.py", line 381, in _list_dlt_table_files
    if not self.fs_client.exists(self.pathlib.join(dirname, INIT_FILE_NAME)):
  File "/usr/local/lib/python3.10/site-packages/fsspec/asyn.py", line 118, in wrapper
    return sync(self.loop, func, *args, **kwargs)
  File "/usr/local/lib/python3.10/site-packages/fsspec/asyn.py", line 103, in sync
    raise return_result
  File "/usr/local/lib/python3.10/site-packages/fsspec/asyn.py", line 56, in _runner
    result[0] = await coro
  File "/usr/local/lib/python3.10/site-packages/s3fs/core.py", line 1058, in _exists
    await self._info(path, bucket, key, version_id=version_id)
  File "/usr/local/lib/python3.10/site-packages/s3fs/core.py", line 1371, in _info
    out = await self._call_s3(
  File "/usr/local/lib/python3.10/site-packages/s3fs/core.py", line 362, in _call_s3
    return await _error_wrapper(
  File "/usr/local/lib/python3.10/site-packages/s3fs/core.py", line 142, in _error_wrapper
    raise err
OSError: [Errno 78] Moved Permanently

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/app/app/data_pipeline.py", line 1198, in target_analytics
    pipe_info = s3_pipeline.run(
  File "/usr/local/lib/python3.10/site-packages/dlt/pipeline/pipeline.py", line 222, in _wrap
    step_info = f(self, *args, **kwargs)
  File "/usr/local/lib/python3.10/site-packages/dlt/pipeline/pipeline.py", line 267, in _wrap
    return f(self, *args, **kwargs)
  File "/usr/local/lib/python3.10/site-packages/dlt/pipeline/pipeline.py", line 666, in run
    self.sync_destination(destination, staging, dataset_name)
  File "/usr/local/lib/python3.10/site-packages/dlt/pipeline/pipeline.py", line 176, in _wrap
    rv = f(self, *args, **kwargs)
  File "/usr/local/lib/python3.10/site-packages/dlt/pipeline/pipeline.py", line 795, in sync_destination
    raise PipelineStepFailed(self, "sync", None, ex, None) from ex
dlt.pipeline.exceptions.PipelineStepFailed: Pipeline execution failed at stage sync with exception:

<class 'OSError'>
[Errno 78] Moved Permanently