Persistent '404 Not Found' Error from Inference API on a specific machine

murali00150
Mon, 22 Sep 2025 09:11:02 +0000

Hello,

I am getting a consistent 404 Not Found error when trying to use the Inference API from my computer. I have done extensive debugging and need help diagnosing a machine-specific issue.

I have confirmed that:

The error happens with both public models (gpt2) and gated models.

It happens when I bypass my Python code and use Invoke-WebRequest (curl) directly in my terminal.

It happens with two different, valid Hugging Face accounts.

Most importantly, it happens on two different internet connections (my home WiFi and my mobile hotspot).

This proves the issue is not my code, my account, or my network, but something on my specific machine’s configuration (firewall, proxy, security software, etc.) that is causing the connection to fail. Can anyone provide guidance on what to check on my computer?