# Remote: Repository not found

**URL:** </static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fremote-repository-not-found%2F136676%3E%5C
**Category:** Beginners\
**Created:** [January 21, 2025, 11:06am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fremote-repository-not-found%2F136676 "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](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Faqpeeb)%5C
**Post date:** [January 21, 2025, 11:06am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fremote-repository-not-found%2F136676%2F1 "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](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2FAlanturner2)%5C
**Post date:** [January 21, 2025, 1:12pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fremote-repository-not-found%2F136676%2F2 "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](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Faqpeeb)%5C
**Post date:** [January 21, 2025, 8:25pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fremote-repository-not-found%2F136676%2F3 "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](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fsystem)%5C
**Post date:** [January 22, 2025, 8:26am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fremote-repository-not-found%2F136676%2F4 "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.
