4 Replies Latest reply on Nov 22, 2016 1:32 PM by Russell Christopher

    Trusted Authentication throws -1

    venkatesh.sharma

      Hi All,

       

      I have added trusted authentication and it returns -1 upon checking a article  I was asked to add content type as

       

      Content-Type is specified

      If you are designing an ASP.NET or C# application, you need to declare the content type in your HTTP request. For example, http.setRequestHeader("Content-Type","application/x-www-form-urlencoded;charset=UTF-8"). If you do not specify content type and Tableau Server returns a -1, the log files contain the error: "missing username and/or client_ip".

       

      I dont know where to add above script because  while invoking the view  using this  window.tableauSoftware.Viz(div, url, options); I dont see any options for that

       

      Kindly any one  reply

      Patrick A. Van Der

      Matt Lutton

       

      Thanks

      Aditya