3 Replies Latest reply on Aug 28, 2018 3:17 PM by Bradley Bell

    Web Data Connector - missing password for Basic Auth

    Shantam M

      Hi all,

       

      I am trying to connect tableau with an API using WDC (web Data Connector). I am able to pull the data correctly in the simulator but when I run the same from Tableau Desktop. I end up with below error -

       

       

      I am not sure what's causing the issue as it works perfectly in WDC simulator. Any help is appreciated.

       

      Note - I have already integrated the credentials in js file using

       

      $.ajaxSetup({

      headers: {'Authorization': "Basic " + btoa("myusername" + ":" + "mypassword")}

      })

       

      myConnector.init = function(initCallback) {

            tableau.authType = tableau.authTypeEnum.basic;

            initCallback();

        };