1 Reply Latest reply on Apr 21, 2016 2:30 PM by Nathan Panuco

    API REST multiple calls failed

    Laurent Vallier



      We are working on a web project which uses the REST API on Tableau Online.

      Unfortunately, we have troubles making multiple calls: randomly we get an error 401002.


      We proceed as follows:

      1 - Sending an authentication request

      2 - Save token, site id and user id

      3 - Sending requests with the previous credentials


      There are random delays between each call to avoid overloading the server.

      The authentication request works fine but some of the fallowing requests may fail with an error 401002.


      Request example:


      (with this header : X-Tableau-Auth: our_token)


      Besides, we does not call unauthorized methods that are not available for Tableau Online.


      How can we resolve this matter ?

      Is there some limits ? (requests per hour)