# \[BUG\] Unit 2.1 Quiz: 410 Client Error (Legacy API Endpoint)

**URL:** <https://discuss.huggingface.co/t/bug-unit-2-1-quiz-410-client-error-legacy-api-endpoint/173189>\
**Category:** Course\
**Created:** [February 8, 2026, 1:57am UTC](https://discuss.huggingface.co/t/bug-unit-2-1-quiz-410-client-error-legacy-api-endpoint/173189 "2026-02-08T01:57:34Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![IlyasFardaouixx](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/ilyasfardaouixx/32/57821_2.png) [@IlyasFardaouixx](https://discuss.huggingface.co/u/IlyasFardaouixx)\
**Post date:** [February 8, 2026, 1:57am UTC](https://discuss.huggingface.co/t/bug-unit-2-1-quiz-410-client-error-legacy-api-endpoint/173189/1 "2026-02-08T01:57:34Z")

</div>

I am encountering a **410 Client Error: Gone** when submitting the Unit 2.1 quiz for the AI Agents course.

**Error details:** \> The grader appears to be calling the retired endpoint: `https://api-inference.huggingface.co/models/Qwen/Qwen2.5-Coder-32B-Instruct`.

**Observed Behavior:**

- The error persists even when using the official solution.

- Manual sanity checks (submitting minimal code) return the same 410 error.

It seems the “Space-side” grader needs to be updated to use `https://router.huggingface.co`. Is there a fix planned for this grader?

---

<div class="post-metadata">

**Author:** ![John6666](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/john6666/32/27664_2.png) [@John6666](https://discuss.huggingface.co/u/John6666)\
**Post date:** [February 8, 2026, 4:01am UTC](https://discuss.huggingface.co/t/bug-unit-2-1-quiz-410-client-error-legacy-api-endpoint/173189/2 "2026-02-08T04:01:22Z")

</div>

I submitted a pull request for now [https://huggingface.co/spaces/agents-course/unit2\_smolagents\_quiz/discussions/23](https://huggingface.co/spaces/agents-course/unit2_smolagents_quiz/discussions/23)
