What does HRESULT 0x80072F86 (WININET_E_BAD_AUTO_PROXY_SCRIPT) mean?

 
Previous Next
WININET_E_PROXY_SERVER_UNREACHABLE WININET_E_UNABLE_TO_DOWNLOAD_SCRIPT

WININET_E_BAD_AUTO_PROXY_SCRIPT

WININET_E_BAD_AUTO_PROXY_SCRIPT means that the automatic proxy-configuration script is invalid. The failure is in the PAC configuration or its evaluation, not necessarily in the requested website or proxy server.

How to investigate

  • Identify the PAC URL and the exact user context whose WinINet settings are active.
  • Fetch and validate the script content, MIME delivery, syntax, and proxy decisions for the affected URL.
  • Check whether the script changed recently or relies on DNS functions that are unavailable on the affected network.

Separate script failure from connectivity failure

A broken PAC script can direct a request to no proxy or the wrong proxy. Validate the proxy decision independently before diagnosing the destination site as unavailable.

Microsoft: WinINet error messages · Microsoft: InternetErrorDlg proxy-script handling


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