2 Replies Latest reply on Nov 10, 2018 10:17 AM by Ludovic Breger

    Can you use the Tableau Server Client to publish to Tableau Public?

    Ludovic Breger

      I tried but I get an error. The API version check with https://public.tableau.com/api/2.4/serverInfo returns a Forbidden 403 code.

        • 1. Re: Can you use the Tableau Server Client to publish to Tableau Public?
          Ritesh Bisht

          Hi Lodovic,

           

          403 Forbidden error on publish workbook

          This question is Not Answered.

          Peter JonesGot Data?

          From the API Documentation it says:

          403403007Insufficient publishing permissionA non-administrator user attempted to publish a workbook, but the caller doesn't have sufficient project permissions.
          403403007Unlicensed publishing forbiddenA non-administrator user attempted to publish a workbook. This is disallowed for all projects (including the default project).
          403403007Overwrite forbiddenA workbook with the specified name already exists and the overwrite parameter was not set to true.
          403403007Problem connecting to datasourceThere was a problem connecting to a data source used by the workbook. This can be due to missing or invalid connection credentials or because the referenced data source is not available on the server.
          403403008Insufficient storage quotaThe workbook could not be published because there is not enough storage remaining on the server to accommodate its size.

           

          Well there is another cause of this error that should also be added to the documentation Page Size that exceeds the maximum for the workbook will cause a 403 Forbidden error, The below snip from fiddler web response from the API:

           

          HTTP/1.1 403 Forbidden

          Date: Tue, 05 Apr 2016 11:42:29 GMT

          Server: Tableau

          Content-Type: application/xml;charset=utf-8

          P3P: CP="NON"

          X-UA-Compatible: IE=Edge

          Transfer-Encoding: chunked

           

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

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

              <error code="403014">

                  <summary>Forbidden</summary>

                      <detail>The page size given '1024', is greater than the max page size of '1000'.</detail>

              </error>

          </tsResponse>

           

          An FYI for the documentation folks.

           

          Find more ----->403 Forbidden error on publish workbook

           

          Please mark the answer as HELPFUL and CORRECT if it really helps you so that it can help others as well

          Ritesh

          • 2. Re: Can you use the Tableau Server Client to publish to Tableau Public?
            Ludovic Breger

            Hi Ritesh,

             

            My problem happens even before this. The client attempts to figure out the server version and can't.

             

            Ludovic