Last Modified Date: 01 May 2017
- Tableau Server 9.2 and newer versions
- REST API
Make sure that the payload for a Append to File Upload, Publish Datasource, and Publish Workbook request is formatted correctly, as shown in the following example. (The boundary strings,
filename values will be different for each upload.) The
request_payload part of the request payload has no content, just headers, and is formatted with two blank lines.
--6691a87289ac461bab2c945741f136e6 Content-Disposition: name="request_payload" Content-Type: text/xml --6691a87289ac461bab2c945741f136e6 Content-Disposition: name="tableau_workbook"; filename="usps-rates.twbx" Content-Type: application/octet-stream content here --6691a87289ac461bab2c945741f136e6--
CauseThis issue can occur if the payload in the request does not conform to the RFC 1341 specification for multi-part payloads. A typical problem is that the first part of the multi-part request is blank except for header information. Per the specification, a blank section of the payload requires at least two blank lines. In the Append to File Upload, Publish Datasource, and Publish Workbook requests, the blank section of the payload is the