# Build error: Error while cloning repository

**URL:** <https://discuss.huggingface.co/t/build-error-error-while-cloning-repository/113801>\
**Category:** Spaces\
**Created:** [October 24, 2024, 4:20pm UTC](https://discuss.huggingface.co/t/build-error-error-while-cloning-repository/113801 "2024-10-24T16:20:23Z")\
**Posts on this page:** 1\
**Showing post:** 2

<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:** [October 25, 2024, 12:49am UTC](https://discuss.huggingface.co/t/build-error-error-while-cloning-repository/113801/2 "2024-10-25T00:49:28Z")

</div>

I deleted the Gradio version specification in the requiements.txt file and changed the Gradio version specification in the README.md file to 4.x. The behavior changed a bit, but the git clone still fails…  
I wonder if it has something to do with the fact that the result of Space’s automatic virus scan is **unsafe**? It might not be related.

Edit:  
I’ve looked at the commit history and there doesn’t appear to be any git-related changes in the past month. Something about a spec change in the HF space or a bug.  
I can’t tell **which git clone is failing** , which is a problem to work around.  
I commented out the Dockerfile stuff and it still happens.

I found similar symptoms, but they do not seem to be exactly the same situation.

> [@Error while cloning Space repository - No Build Logs](https://discuss.huggingface.co/t/error-while-cloning-space-repository-no-build-logs/19221):
>
> Hi, I’ve seen this post [Error while cloning Space repository](https://discuss.huggingface.co/t/error-while-cloning-space-repository/16179) and wanted to check if I am experiencing a server error or if I’ve done something wrong. My app was working a few days ago, but when I went to share it with someone I encountered a build error (see below). There are no Build Logs or I’d provide those as well. Any help or guidance would be appreciated.

---

_[View the full topic](https://discuss.huggingface.co/t/build-error-error-while-cloning-repository/113801)._
