3 Replies Latest reply on Sep 15, 2018 3:13 PM by Ken Flerlage

    Cannot use python sdk to connect to Tableau online server

    thanakom.sangnetra.0

      From https://tableau.github.io/server-client-python/docs/,

      i followed the first program script and cannot connect to tableau online server.

      the code is below

       

      import tableauserverclient as TSC
      
      tableau_auth = TSC.TableauAuth('<user>', '<pass>', site_id='<site id>') 
      server = TSC.Server('https://online.tableau.com') 
      server.auth.sign_in(tableau_auth) 
      

       

      i got an error says

      tableauserverclient.server.endpoint.exceptions.ServerResponseError:

       

       

      405000: Method Not Allowed

      The HTTP method 'GET' is not supported for the given resource