# Error in HF Space Docker

**URL:** </static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Ferror-in-hf-space-docker%2F151342%3E%5C
**Category:** Beginners\
**Created:** [April 19, 2025, 11:59pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Ferror-in-hf-space-docker%2F151342 "2025-04-19T23:59:19Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![cafzal](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/cafzal/32/45922_2.png) [@cafzal](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fcafzal)%5C
**Post date:** [April 20, 2025, 12:12am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Ferror-in-hf-space-docker%2F151342%2F2 "2025-04-20T00:12:08Z")

</div>

I’m encountering the same issue when trying to restart my space after my latest commit. My app won’t even load the prior commit and is stuck in “Build error” state. It runs fine locally!

> # build error
> 
> ## Unexpected job error
> 
> → Pushing image
> 
> → ERROR: failed to push spaces-registry.huggingface.tech/spaces/[…]:cpu-[…]: unexpected status from HEAD request to [https://spaces-registry.huggingface.tech/v2/spaces/[...]/manifests/cpu-[...]:](https://spaces-registry.huggingface.tech/v2/spaces/%5B...%5D/manifests/cpu-%5B...%5D:) 401 Unauthorized

---

_[View the full topic](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Ferror-in-hf-space-docker%2F151342)._
