5 Replies Latest reply on Jul 29, 2016 1:19 PM by Glen Robinson

    Tableau Rest API ERROR:404003

    Shaw Qian

      Hi, All:

       

      Recently I am trying to use REST API to inquire some information. But I got the 404003 error, is that possible in the server there is no record of the project/workbook or it is just some code error?

           PUT https://****/api/2.2/sites/00947205-46AB-4107-AE07-A5ABE5B3A693/115177f1-b39e-4fad-805e-a8f87460bf74/default-permissions/workbooks

           Request Body:

      “     <tsRequest>

             <permissions>

            <granteeCapabilities>

            <project id="115177f1-b39e-4fad-805e-a8f87460bf74" />

            <user id="ff6edf2d-0282-45d8-86cd-9f902cd18e12" />

            <capabilities>

            <capability name="AddComment" mode="Allow" />

            </capabilities>

            </granteeCapabilities>

             </permissions>

           </tsRequest>”

       

      But the result I got is like:

           “<?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.1.2.xsd">

               <error code="404003">

            <summary>Unknown Resource</summary>

            <detail>URI Resource“/2.2/sites/00947205-46AB-4107-AE07-A5ABE5B3A693/c0e0db94-42e5-4eff-857d-6a4e9865e5a3/default-permissions/workbooks”Unknown</detail>

            </error>

           </tsResponse>”

       

      Please give me some answer or hint to solve this problem, thanks a lot.