1 Reply Latest reply on Aug 22, 2019 4:39 AM by Daniel Stanish

    Uploading data sources via REST API 3.3

    sarve vaid

      Hi,

       

      I am trying to upload a data source on my Tableau online instance via REST API.

      I am able to 'Initiate file upload' and generate a session id. For 'Append to file upload' request, I am getting a 500 Internal server error. The documentation is not clear about how to attach .csv or .twbx files in the request. So I am attaching the .twbx/.csv file as form data in the request body. Please advise if I am doing anything wrong.

      tempsnip.png

      Is there any other way to upload .csv file via REST API into my workbook on Tableau online instance.

       

      Thanks.