Out of interest have you tried to login using Postman? Does that work ok for you? Just asking to see if we can ascertain whether the issue may be within the code itself or a connectivity issue accessing the Tableau Server.
Good idea David.
I'm a postman newbie too but found the tableau API starter kit for it that got me started
I thought it was working because it was returning 200 OK
But then I noticed a popup message lower right that said Something went wrong check console before disappearing
On the postman console I see this error showing up after the response body
In the console I find in red
TypeError: Cannot read property 'tsResponse' of undefined
Poking around in the postman console I see a post and a get.
Under the get > Network > tls
I find authorizationError: "SELF_SIGNED_CERT_IN_CHAIN"
Are you trying to sign in to Tableau Online or to Tableau Server?
You need to enter the URL of your Server or of Tableau Online in TSC.Server. Looking at your code, it looks like you are trying to connect to tableau.com
server = TSC.Server('https://SERVER_URL')
I hope it is helpful,
It WAS helpful Gigi. I'm blowing a kiss your way. I will mark yours as correct so you get the credit and will fill in the details here.
You reply while not specifically correct, turned my thoughts into other things to try and it worked!
I was using
server = TSC.Server('https://tableau')
It is an in-house server, not tableau online.
The 'tableau' is an alias sort of thing that only works on our network.
I changed it to the real server name we use and waa-laa, success.
The working form looked something like this...
server = TSC.Server('http://RDOXXX01')