Skip to content

Instantly share code, notes, and snippets.

@olveirap
Created April 9, 2019 13:53
Show Gist options
  • Save olveirap/454d24e713c0c0bacbbf75752a6be4d2 to your computer and use it in GitHub Desktop.
Save olveirap/454d24e713c0c0bacbbf75752a6be4d2 to your computer and use it in GitHub Desktop.
DVC - Expired Token Stack Trace
Traceback (most recent call last):
File "/Users/polveira/Projects/dvc/dvc/command/status.py", line 54, in do_run
with_deps=self.args.with_deps,
File "/Users/polveira/Projects/dvc/dvc/repo/status.py", line 88, in status
all_tags=all_tags,
File "/Users/polveira/Projects/dvc/dvc/repo/status.py", line 52, in _cloud_status
used, jobs, remote=remote, show_checksums=show_checksums
File "/Users/polveira/Projects/dvc/dvc/data_cloud.py", line 167, in status
targets, jobs=jobs, remote=cloud, show_checksums=show_checksums
File "/Users/polveira/Projects/dvc/dvc/remote/local.py", line 604, in status
remote_exists = list(remote.cache_exists(md5s))
File "/Users/polveira/Projects/dvc/dvc/remote/base.py", line 303, in cache_exists
return list(filter(lambda checksum: checksum in checksums, self.all()))
File "/Users/polveira/Projects/dvc/dvc/remote/base.py", line 252, in <genexpr>
self.path_to_checksum(path) for path in self.list_cache_paths()
File "/Users/polveira/Projects/dvc/dvc/remote/s3.py", line 159, in _list_paths
for page in paginator.paginate(**kwargs):
File "/Users/polveira/Projects/dvc/.env/lib/python3.7/site-packages/botocore/paginate.py", line 255, in __iter__
response = self._make_request(current_kwargs)
File "/Users/polveira/Projects/dvc/.env/lib/python3.7/site-packages/botocore/paginate.py", line 332, in _make_request
return self._method(**current_kwargs)
File "/Users/polveira/Projects/dvc/.env/lib/python3.7/site-packages/botocore/client.py", line 357, in _api_call
return self._make_api_call(operation_name, kwargs)
File "/Users/polveira/Projects/dvc/.env/lib/python3.7/site-packages/botocore/client.py", line 661, in _make_api_call
raise error_class(parsed_response, operation_name)
botocore.exceptions.ClientError: An error occurred (ExpiredToken) when calling the ListObjectsV2 operation: The provided token has expired.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment