3 Replies Latest reply on Oct 20, 2016 4:10 AM by Glen Robinson

    Publish Workbook using REST API causes 502 Bad Gateway error

    Steven Lloyd

      I am trying to publish a workbook to our live server using the REST API. 

      Here is what I am posting.  What is wrong?

      --tableau-boundary-string

      Content-Disposition: name="request_payload"

      Content-Type: text/xml

       

       

       

      <tsRequest>

        <workbook name="Sales Summary" showTabs="true" >

          <project id="8a240ff6-0717-4efc-beb0-913afc6a979f" name="FP&A" />

        </workbook>

      </tsRequest>

      --tableau-boundary-string

      Content-Disposition: name="Sales Summary"; filename="Sales Summary.twb"

      Content-Type: application/octet-stream

       

       

       

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

       

       

       

      <!-- build 10000.16.0812.0001                               -->

      <workbook source-build='10.0.0 (10000.16.0812.0001)' source-platform='win' version='10.0' xml:base='http://stage-reports' xmlns:user='http://www.tableausoftware.com/xml/user'>

        <repository-location derived-from='http://dca27003/workbooks/SalesSummary?rev=1.3' id='SalesSummary' path='/workbooks' revision='1.0' />

        <preferences>

          <preference name='ui.encoding.shelf.height' value='24' />

          <preference name='ui.shelf.height' value='26' />

        </preferences>

        <datasources>

          <!-- more content here - removed for security purposes -->

      </workbook>

       

       

       

      --tableau-boundary-string--