# Error while downloading a repo : Max retries exceeded

**URL:** </static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Ferror-while-downloading-a-repo-max-retries-exceeded%2F26407%3E%5C
**Category:** Beginners\
**Created:** [November 20, 2022, 6:38pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Ferror-while-downloading-a-repo-max-retries-exceeded%2F26407 "2022-11-20T18:38:54Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Saben1](https://avatars.discourse-cdn.com/v4/letter/s/97f17d/32.png) [@Saben1](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2FSaben1)%5C
**Post date:** [November 20, 2022, 6:38pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Ferror-while-downloading-a-repo-max-retries-exceeded%2F26407%2F1 "2022-11-20T18:38:54Z")

</div>

Hello,

I’m trying to download a repo from huggingface using the code below. Sadly I got an error that I can’t resolve.

```auto
from huggingface_hub import snapshot_download

snapshot_download(repo_id="openclimatefix/era5-land", repo_type="dataset", 
cache_dir="/home/saben1/scratch/o/slurms/data_4", etag_timeout=120, 
resume_download=True)

```

```auto
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='huggingface.co', port=443): Max retries exceeded with url: /api/datasets/openclimatefix/era5-land/revision/main (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x2aba8ecc7070>: Failed to establish a new connection: [Errno 101] Network is unreachable'))

```

Can Someone please help me ?
