What does HRESULT 0x80072F87 (WININET_E_UNABLE_TO_DOWNLOAD_SCRIPT) mean?

 
Previous Next
WININET_E_BAD_AUTO_PROXY_SCRIPT WININET_E_REDIRECT_NEEDS_CONFIRMATION

WININET_E_UNABLE_TO_DOWNLOAD_SCRIPT

WININET_E_UNABLE_TO_DOWNLOAD_SCRIPT means that WinINet could not download the automatic proxy-configuration script. Microsoft documents this result in the case where INTERNET_FLAG_MUST_CACHE_REQUEST is set.

What to check

  • Whether the PAC URL itself can be resolved and reached from the current network.
  • Whether bootstrap proxy settings create a loop while trying to fetch the proxy script.
  • Whether TLS, authentication, cache policy, or firewall rules prevent retrieving the script.

Operational distinction

This error is different from an invalid PAC script: here WinINet could not obtain the script at all. Log the PAC retrieval endpoint separately from the original request endpoint, otherwise troubleshooting can focus on the wrong host.

Microsoft: WinINet error messages · Microsoft: InternetErrorDlg


Looking for a different code? Search another status or error code.