Firstly, Are you Signing In successfully into Tableau online?
Yes, I was able to successfully sign in and get my credential token, which I included as the X-Tableau-Auth header. However, I have admin access on several Tableau Online sites, so I'm not really sure which one I signed in to. It didn't seem to ask me to specify.
I don't have any Tableau online sites, so cant validate what I am saying.
However, the reference page states what when you sign in to Tableau online, you need to specify the site you are logging into.
(See link in previous response)
But the reference states
For Tableau Online, you must include the <site> element and provide a value for the contentUrl attribute. If these are missing, the Sign In request will fail.
Additionally, the response body for a successful login contains the site ID
<site id="9a8b7c6d-5e4f-3a2b-1c0d-9e8f7a6b5c4d" contentUrl="MarketingSite"/>
Are you able to share your sign request, and response?
All the best
Sorry Glen, you're right. It had been a day or two so I forgot... here is the sign request:
<credentials name="redacted" password="redacted" >
<site contentUrl="acmeindustries" />
And here is the response:
<?xml version='1.0' encoding='UTF-8'?>
<site id="82064ed3-65b1-49d9-8af4-3a80372b9e49" contentUrl="acmeindustries" />
<user id="83def0f7-1427-49eb-9289-c1eaf9942a11" />
I guess I didn't realize before that the site id was there, so I suppose I can use that to move forward with the other commands. However, if you have any insight about why the Query Site command wouldn't work with the site name, would love to hear it!
Good to hear that it is working.
Don't know why the Query Site fails using the
I have always used
and this has always worked fine.
Please try this to see whether this works, and gives you what you need
All the best