5 Replies Latest reply on Jan 8, 2017 1:26 PM by Glen Robinson

    Trouble querying a site hosted on Tableau Online

    Christina Gremore

      The URL for my Tableau Online site looks like this in the browser:

       

      https://10az.online.tableau.com/#/site/acmeindustries/projects

       

      I'm trying to query the site, so I issue a GET command that looks like this:

       

       

      https://10az.online.tableau.com/api/2.4/sites/acmeindustries?key=name

       

      The response I get back looks like this:

       

      <?xml version='1.0' encoding='UTF-8'?>

      <tsResponse xmlns="http://tableau.com/api" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://tableau.com/api http://tableau.com/api/ts-api-2.4.xsd">

          <error code="404000">

              <summary>Resource Not Found</summary>

              <detail>Site 'acmeindustries' could not be found.</detail>

          </error>

      </tsResponse>

       

      What am I missing? Is there any other way to determine the site id than by querying the site?