Community Spring Cleaning week is here! Join your fellow Maveryx in digging through your old posts and marking comments on them as solved. Learn more here!

Dev Space

Customize and extend the power of Alteryx with SDKs, APIs, custom tools, and more.

Refresh published Tableau data source extract with REST API

Inactive User
Not applicable

Hi,

I'm trying to create automated process for refreshing published Tableau data sources using REST API. Unfortunately, I'm failing at triggering that action.

I have the following configuration:

GGozdecki_3-1590061129666.png

GGozdecki_4-1590061167811.png

GGozdecki_5-1590061200943.png

GGozdecki_6-1590061232921.png


After run in such configuration, I receive this message: {"error":{"summary":"Bad Request","detail":"Payload is either malformed or incomplete","code":"400000"}}. I tried many different configurations, but it didn't help. Although this error indicate that the request body is incorrect, in the Tableau documentation it is written that it need no attributes in the body.

GGozdecki_1-1590061061390.png


Any idea what might be incorrect?

 

Thank you in advance!



1 REPLY 1
Inactive User
Not applicable

Friend of mine helped me to find the error. Instead of having accept header, we must include Content-Type with value of 'application/xml'.

Case closed.