# Private Space 404 via API, accessible when public

**URL:** </static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fprivate-space-404-via-api-accessible-when-public%2F88872%3E%5C
**Category:** Spaces\
**Created:** [May 28, 2024, 2:59am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fprivate-space-404-via-api-accessible-when-public%2F88872 "2024-05-28T02:59:55Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![bennygards](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/bennygards/32/27480_2.png) [@bennygards](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fbennygards)%5C
**Post date:** [May 28, 2024, 2:59am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fprivate-space-404-via-api-accessible-when-public%2F88872%2F1 "2024-05-28T02:59:55Z")

</div>

Hey everyone,

Could someone help clarify something for me?

I’m trying to connect to my private Space via the API, but I keep getting a 404 error. This seems odd because I would expect a 403 error if there was an issue with my token. Does a 404 suggest that private Spaces can’t be connected to via the API at all?

I removed the authentication as well… still 404

I’ve read through some other posts, but I haven’t found a clear answer.

Can anyone confirm whether it’s possible to connect to a private Space via the API?

Thanks in advance!
