# Remote: Repository not found

**URL:** <https://discuss.huggingface.co/t/remote-repository-not-found/136676>\
**Category:** Beginners\
**Created:** [January 21, 2025, 11:06am UTC](https://discuss.huggingface.co/t/remote-repository-not-found/136676 "2025-01-21T11:06:07Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![aqpeeb](https://avatars.discourse-cdn.com/v4/letter/a/82dd89/32.png) [@aqpeeb](https://discuss.huggingface.co/u/aqpeeb)\
**Post date:** [January 21, 2025, 11:06am UTC](https://discuss.huggingface.co/t/remote-repository-not-found/136676/1 "2025-01-21T11:06:08Z")

</div>

I created a private gradio space and was able to clone it and push to it multiple times.  
I create a new organization, and then moved the space into that organization.  
I did a: git remote set-url origin [https://huggingface.co/spaces/mindlytics/analytics-demo](https://huggingface.co/spaces/mindlytics/analytics-demo)  
But now when I try to pull/push, I get

remote: Repository not found  
fatal: repository ‘[https://huggingface.co/spaces/mindlytics/analytics-demo/](https://huggingface.co/spaces/mindlytics/analytics-demo/)’ not found

The old path gives me the same error. But the space is live on HF, I can visit the space and see the repo!

---

<div class="post-metadata">

**Author:** ![Alanturner2](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/alanturner2/32/37542_2.png) [@Alanturner2](https://discuss.huggingface.co/u/Alanturner2)\
**Post date:** [January 21, 2025, 1:12pm UTC](https://discuss.huggingface.co/t/remote-repository-not-found/136676/2 "2025-01-21T13:12:49Z")

</div>

Hey @aqpeeb !  
I think you should check your authentication with huggingface.  
**Authenticate with Hugging Face** : If authentication is required, make sure you’re logged in to Hugging Face via the CLI:

bash

CopyEdit

```auto
huggingface-cli login

```

Enter your token when prompted. If the Space belongs to an organization, ensure you have the proper permissions.

**And then you should check your huggingface api token has the authorization to use the organization or repository.**

 ![Capture](https://us1.discourse-cdn.com/hellohellohello/original/3X/d/2/d2117e29f8bc8ad733e0631616d613429f0e0c0e.png)

Hope this help!

---

<div class="post-metadata">

**Author:** ![aqpeeb](https://avatars.discourse-cdn.com/v4/letter/a/82dd89/32.png) [@aqpeeb](https://discuss.huggingface.co/u/aqpeeb)\
**Post date:** [January 21, 2025, 8:25pm UTC](https://discuss.huggingface.co/t/remote-repository-not-found/136676/3 "2025-01-21T20:25:38Z")

</div>

You are correct, that was exactly the problem. I missed the organization permissions.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/hellohellohello/original/2X/d/de4155eb4aa4108ecb32a1389d7cc37ae69f88b7.png) [@system](https://discuss.huggingface.co/u/system)\
**Post date:** [January 22, 2025, 8:26am UTC](https://discuss.huggingface.co/t/remote-repository-not-found/136676/4 "2025-01-22T08:26:31Z")

</div>

Closed on January 22, 2025, 8:26am UTC

This topic was automatically closed 12 hours after the last reply. New replies are no longer allowed.
