2 Replies Latest reply on Sep 12, 2016 8:08 AM by Pauline Le Corvec Branched to a new discussion.

    403 Forbidden error on publish workbook

    Peter Jones

      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">


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




      An FYI for the documentation folks.