# Error: agent course

**URL:** </static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Ferror-agent-course%2F147345%3E%5C
**Category:** Beginners\
**Created:** [March 25, 2025, 1:16pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Ferror-agent-course%2F147345 "2025-03-25T13:16:31Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![John6666](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/john6666/32/27664_2.png) [@John6666](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2FJohn6666)%5C
**Post date:** [March 26, 2025, 6:23am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Ferror-agent-course%2F147345%2F5 "2025-03-26T06:23:53Z")

</div>

I think I’ve figured out the cause. (Even though it didn’t exist when the space was created, it still worked.) There was a change that made it so that it would no longer work unless the **HF\_TOKEN** secret was set, but the template didn’t support it.

If you set your valid READ token to the **HF\_TOKEN** secret, it should probably work.

> [@How to manage user secrets and API Keys?](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fhow-to-manage-user-secrets-and-api-keys%2F67948)%3A
>
> As per the above page I didn’t see the Space repository to add a new variable or secret. new variable or secret are deprecated in settings page. How to handle the API Keys and user secrets like Secrets Manager?

---

_[View the full topic](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Ferror-agent-course%2F147345)._
