4 Replies Latest reply on Jun 1, 2018 8:56 AM by James Lamb

    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?


      Content-Disposition: name="request_payload"

      Content-Type: text/xml





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

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




      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' />


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

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



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