# Chapter 11 code quiz fails due to api-inference.huggingface.co DNS resolution error

> Source: <https://discuss.huggingface.co/t/chapter-11-code-quiz-fails-due-to-api-inference-huggingface-co-dns-resolution-error/177781#post_1>
> Published: 2026-07-13 20:07:31+00:00

Hi Hugging Face team,

I’m currently taking the Hugging Face LLM Course (Chapter 11) and I’m unable to complete the code quiz.

Every time I submit my solution, it fails with the following error:

MaxRetryError: HTTPSConnectionPool(host=‘[api-inference.huggingface.co](http://api-inference.huggingface.co)’, port=443): Failed to resolve ‘[api-inference.huggingface.co](http://api-inference.huggingface.co)’

The website itself loads correctly, but the code checker cannot reach the inference API, so my solutions are marked as incorrect.

I have already tried:

The issue still persists.

Could you please check if this is a problem with the course infrastructure or the API endpoint?

Hugging Face username: abhijeet0408

Thank you.
