# Git clone often gives 403 or 429 errors

**URL:** </static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fgit-clone-often-gives-403-or-429-errors%2F144510%3E%5C
**Category:** Beginners\
**Created:** [March 6, 2025, 8:24pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fgit-clone-often-gives-403-or-429-errors%2F144510 "2025-03-06T20:24:26Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![John6666](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/john6666/32/27664_2.png) [@John6666](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2FJohn6666)%5C
**Post date:** [March 19, 2025, 5:17am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fgit-clone-often-gives-403-or-429-errors%2F144510%2F7 "2025-03-19T05:17:19Z")

</div>

For a moment I thought it might be a Windows git problem, but if it’s happening with curl, it’s a different error that’s unrelated…

Hmm, I wonder if something is being blocked in the connection path…

> [@Proxy Issues While Accessing Hugging Face](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fproxy-issues-while-accessing-hugging-face%2F100169)%3A
>
> Hello, I’m experiencing issues while trying to access Hugging Face from my institute’s network. Here are the details of my problem: Error Message ProxyError: (MaxRetryError(“HTTPSConnectionPool(host=‘[huggingface.co](http://huggingface.co)’, port=443): Max retries exceeded with url: /api/whoami-v2 (Caused by ProxyError(‘Cannot connect to proxy.’, OSError(‘Tunnel connection failed: 403 Forbidden’)))”)) Steps Taken: Checked and unset the proxy variables. Changed the token key and tried to connect. Attempted to conne…

> [@403 Client Error: Forbidden for url](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2F403-client-error-forbidden-for-url%2F12563%2F16)%3A
>
> I’m kicking off the batch job from a sagemaker notebook instance, but the batch job runs in sagemaker. It still fails with 403. I tried it from a different aws account with the same results. More detail in this thread [Error 403 when downloading model for Sagemaker batch inference - #6 by philschmid](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Ferror-403-when-downloading-model-for-sagemaker-batch-inference%2F12571%2F6)

### For Windows users

> **[Git - Install for Windows](https://git-scm.com/downloads/win)**

> **[Git Large File Storage](https://git-lfs.com/)**
>
> Git Large File Storage (LFS) replaces large files such as audio samples, videos, datasets, and graphics with text pointers inside Git, while storing the file contents on a remote server like GitHub.com or GitHub Enterprise.

---

_[View the full topic](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fgit-clone-often-gives-403-or-429-errors%2F144510)._
