Did you try to send webrequest with a MIME payload? which programming u r using to upload?
Yes it's a mutlipart mime message and I'm using C#.NET.
If you are using server V 9.2 use Content-Disposition: form-data; name="request_payload". in the request body.
So what you are saying is I am missing "form-data;" from my request? Please thoroughly explain your answer I do not understand it.
P.S. By the way, I tried adding "form-data; " to my existing request body header "Content-Disposition: name="request_payload" and it didn't make any difference.
I would really appreciate if someone who has done this before and had it work for them respond to this question.
Once again answering my own question (Thank you Tableau Developers for your non-help with this) the problem causing the 500 Internal Server error was the "--" two dash delimiters were missing and/or in the wrong place in the message (See corrections below):
Content-type: multipart/mixed; boundary=Boundary:3c920e38-c4fc-4947-9b6d-cffa26cf32bb
<tsRequest><datasource name=StandardExtract_CID_BQ><project id="8b50dfd0-03bb-49ea-bca3-9fb835c30c81" /></datasource></tsRequest>
Content-Disposition: name="StandardExtract_CID_BQ"; filename="StandardExtract_CID_BQ.tds"
<binary data stream>
Thanks for the useful post! I'm seeing this same 500 error when trying to publish a data source. I've double checked my -- characters, headers, content length, multipart/mixed syntax, boundary syntax, etc. I also looked at Internal Server Error With Publish Datasource Method, which was useful, but ultimately didn't help either.
Anyone else have any ideas? Thanks in advance!