Error "Invalid JSON" When Passing a SCRIPT_BOOL Function To A Tabpy Server

Published: 19 Jul 2021
Last Modified Date: 08 Jul 2022


When passing a SCRIPT_BOOL function to a tabpy server, the following error message is displayed and the function cannot be executed.
  Error code: 5D40A5A7
  requestId: {56B490D4-ECC8-49D1-917D-5D27B8B2E580} Exception: Invalid JSON.


  • Tableau Desktop 2021.2
  • Windows


If http_proxy or https_proxy are specified as Environmental Variables, make sure that the domain or IP address specified for Hostname in the Manage Analytics Extensions Connection dialog is also specified for no_proxy as an environment variable.

For example, if "localhost" is specified as the Hostname in the Manage Analytics Extensions Connection dialog, the value of the no_proxy environment variable must also contain "localhost".
Manage Analytics Extensions Connection


The SCRIPT_BOOL function is being sent to a proxy server instead of Tabpy Server.
Configuring the no_proxy environment variable will allow Tableau Desktop to bypass the proxy.
Did this article resolve the issue?