# Git clone often gives 403 or 429 errors

**URL:** <https://discuss.huggingface.co/t/git-clone-often-gives-403-or-429-errors/144510>\
**Category:** Beginners\
**Created:** [March 6, 2025, 8:24pm UTC](https://discuss.huggingface.co/t/git-clone-often-gives-403-or-429-errors/144510 "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](https://discuss.huggingface.co/u/John6666)\
**Post date:** [March 19, 2025, 5:17am UTC](https://discuss.huggingface.co/t/git-clone-often-gives-403-or-429-errors/144510/7 "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](https://discuss.huggingface.co/t/proxy-issues-while-accessing-hugging-face/100169):
>
> 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](https://discuss.huggingface.co/t/403-client-error-forbidden-for-url/12563/16):
>
> 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](https://discuss.huggingface.co/t/error-403-when-downloading-model-for-sagemaker-batch-inference/12571/6)

### 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](https://discuss.huggingface.co/t/git-clone-often-gives-403-or-429-errors/144510)._
