# Download dataset failed

**URL:** <https://discuss.ego4d-data.org/t/download-dataset-failed/517>\
**Category:** Q&A\
**Created:** [March 4, 2024, 3:05am UTC](https://discuss.ego4d-data.org/t/download-dataset-failed/517 "2024-03-04T03:05:18Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ccll](https://avatars.discourse-cdn.com/v4/letter/c/ba8739/32.png) [@ccll](https://discuss.ego4d-data.org/u/ccll)\
**Post date:** [March 4, 2024, 3:05am UTC](https://discuss.ego4d-data.org/t/download-dataset-failed/517/1 "2024-03-04T03:05:18Z")

</div>

Firstly, thank you for your work. I tried to download the dataset via following command at my local machine and cloud server. But i faced the same question :"\*\*botocore.exceptions.ConnectionClosedError: Connection was closed before we received a valid response from endpoint URL: "[https://ego4d-iiith.s3.ap-south-1.amazonaws.com/“\*\*.”](https://ego4d-iiith.s3.ap-south-1.amazonaws.com/%22**.%22)  
I appreciate it if anyone can help me to solve it.

(ego4d) (base) /mnt/data/airaiot/LiangCheng/Ego4d\> python -m ego4d.cli.cli --output\_directory=“/mnt/data/airaiot/LiangCheng/data” --datasets full\_scale --video\_uids 19db1542-5537-46cd-82d1-7f72e356a2a9 --metadata --version v2 --aws\_profile\_name ego4d  
Datasets to download: {‘full\_scale’}  
Download Path: /mnt/data/airaiot/LiangCheng/data/v2  
Ego4D Metadata: /mnt/data/airaiot/LiangCheng/data/ego4d.json  
Checking requested datasets and versions…  
Created download directory for version ‘v2’ of dataset: ‘full\_scale’ at: /mnt/data/airaiot/LiangCheng/data/v2/full\_scale  
Only downloading a subset of the video files because the ‘video\_uids’ flag has been set on the command line or in the config file. A total of 1 video files will be downloaded.

Retrieving object metadata from S3…  
100%|█████████████████████████████████████████████████████████████████| 1/1 [00:00\<00:00, 1470.14object/s]  
Checking if latest file versions are already downloaded…  
0%| | 0/1 [00:09\<?, ?file/s]  
…

…  
botocore.exceptions.ConnectionClosedError: Connection was closed before we received a valid response from endpoint URL: “[https://ego4d-iiith.s3.ap-south-1.amazonaws.com/](https://ego4d-iiith.s3.ap-south-1.amazonaws.com/)”.

---

<div class="post-metadata">

**Author:** ![Amelia](https://avatars.discourse-cdn.com/v4/letter/a/9dc877/32.png) [@Amelia](https://discuss.ego4d-data.org/u/Amelia)\
**Post date:** [March 9, 2024, 3:07am UTC](https://discuss.ego4d-data.org/t/download-dataset-failed/517/2 "2024-03-09T03:07:49Z")

</div>

Hello, I also encountered this problem when downloading the dataset, have you solved it now? How should it be resolved?

---

<div class="post-metadata">

**Author:** ![johnHuang](https://avatars.discourse-cdn.com/v4/letter/j/e9a140/32.png) [@johnHuang](https://discuss.ego4d-data.org/u/johnHuang)\
**Post date:** [March 29, 2024, 8:42pm UTC](https://discuss.ego4d-data.org/t/download-dataset-failed/517/3 "2024-03-29T20:42:50Z")

</div>

i have same quention,
