2 Replies Latest reply on Sep 26, 2017 1:06 PM by Scott Senne

    A URL with parameters produces InitAPIObj error in Tableau Desktop

    Xevi Pujol

      Hi,

       

      I'm building a WDC in which, during the Interactive Phase, the user can select 2 different parameters from 2 dropdowns. If they select these params and click on the button to submit the form, everything works as expected.

       

      As an additional feature, I'm adding the capability of providing these params in the URL of the WDC (the user can log into our own platform, and get this URL with the params pre-populated). In this approach, the user only has to paste this URL in the WDC (the dropdowns will not even appear), and they will just have to click on submit.

       

      In other words, I have an URL like this:

       

      http://example.com/wdc/?param1=value1&param2=value2

       

      This approach works correctly in the Simulator, but it throws the following error in Tableau Desktop:

       

      An error occurred while communicating with the data source, InitAPIObj Unable to load URL: http://example.com/wdc/?param1=value1&param2=value2

       

      I have also tried to replace the query string params from the URL with routing params like this:

       

      http://example.com/wdc/param1/value1/param2/value2

       

      which produces the same error:

       

      An error occurred while communicating with the data source, InitAPIObj Unable to load URL: http://example.com/wdc/param1/value1/param2/value2

       

       

      Does anyone know what the error exactly means and what else could I try to fix it?

       

      Thanks.