Error "Analytics extension script is invalid" when trying to connect to TabPy from Tableau Desktop running on the same machine

Published: 08 Apr 2022
Last Modified Date: 11 Apr 2022


When trying to connect to TabPy from Tableau Desktop running on the same machine, an error occurs: Analytics extension script is invalid.


  • Tableau Desktop 2020.4 or higher
  • Windows 10


Option 1:

Check the Environmental Variables to see whether http_proxy or https_proxy are specified:
  1. On the computer that is running Tableau Desktop, click the Windows Start button and enter "advanced system settings" in the search box. 
  2. Click Enter to open the System Properties box.
  3. In System Properties, select the Advanced tab and click Environment Variables.
  4. Scroll through the System variables field.
  5. If http_proxy or https_proxy are specified, ensure that no_proxy is also specified with the value of "localhost".
Option 2:

Complete the following steps to configure the proxy server in Windows LAN Settings.
  1. Open the Local Area Network (LAN) Settings dialog box. Tip: A quick way to get to this dialog box is to search for Internet Options in the Windows Start menu.
  2. In the Internet Properties dialog box, select the Connections tab.
  3. Select LAN settings.
  4. Under Proxy server, select Use a proxy server for your LAN.
  5. Enter the proxy server address.
  6. Enter the server port.
  7. Select Bypass proxy server for local addresses.
Option 3:

Work with your IT team to change the proxy setting on your PC as some setting may only be changed by system administrator due to the group policy.



The connection requests are being sent to a proxy server instead of the local machine.
Did this article resolve the issue?