Could you elaborate on what you mean by attaching the tds file? Can you share your workflow? The Publish to Tableau Server tool does a POST request to the Tableau Server's REST API. Since you're getting a response from the Tableau REST API with an error, I did a quick search of that "400011" error to find out more.
Publishing a TWB for a workbook that references external files (TDEs, XLSX, etc). Solutions:
Re-save as a TWBX and publish the TWBX
Publish your datasource to data server first, and connect the workbook to that datasource on data server
Publishing a TWB that references a data server source that doesn’t exist on that Site. Per the previous post on the topic, you can publish a TWB that connects to a data server source with the same name on a different site. But if you haven’t published the data source first, expect 400011 to be your fate
Publishing a TWB that references a data server source that published correctly, but didn’t embed credentials that are necessary. This may seem strange, but Tableau Server generates thumbnails for each worksheet at publish time, so if it can’t verify the server connection because it lacks credentials, then you’ll get a friendly 400011 response code as a reminder. Side Note:If you ever see your publish times take a long time, it is probably held up on generating the thumbnails, and it isa sign that your databoards are going to be miserably slow when people view them as well. Stop showing so much unfiltered data without doing some guided analytics first.
^ These steps are pretty specific use cases to Tableau, not Alteryx, if none of that helps is it possible for you to output to a .tde, open tableau, and publishing your data source?
I've been getting the same error as above, but I've tried the solution above and keep getting the same error (Error Code 400011 Bad Request) when I try to publish incoming data in my Alteryx workflow as a .tdsx. The workflow publishes successfully when I simply try to publish as a .hyper extract (nothing entered in the "Data source metainfo" field). I have gone into the .tds file and changed the path for dbname to: dbname="Data/Extracts/TEST HYPER.hyper' (first screenshot below). My settings in the "Configure Data Source" window are as shown in the second screenshot below. Keep getting the same Bad Request error.
I have tried both regular path name for the .tds location and UNC path. Tried including .tds at end of filename in "Data Source Name" field and not including it. No luck.
Both Tableau Server & Tableau Desktop I'm using are 2018.1.
Not sure if you've made your way through this issue or not. But, in case you haven't, I think the issue is that the space between "TEST" and "HYPER" in will be replaced with an underscore in the file name on the server. So, in Data Source Name, this will be "TEST HYPER". In the tds, it needs to be dbname='Data/Extracts/TEST_HYPER.hyper'.
I've found that hyphens are also replaced with underscores. I am guessing this means anything other than alpha/numeric is replaced with an underscore. But, I have not personally confirmed this.