diff --git a/s3fs/core.py b/s3fs/core.py index b8f44010..64fb1443 100644 --- a/s3fs/core.py +++ b/s3fs/core.py @@ -1309,7 +1309,7 @@ async def _info(self, path, bucket=None, key=None, refresh=False, version_id=Non ) return { "ETag": out.get("ETag", ""), - "LastModified": out["LastModified"], + "LastModified": out.get("LastModified", ""), "size": out["ContentLength"], "name": "/".join([bucket, key]), "type": "file",