1 Reply Latest reply on Aug 31, 2016 3:40 PM by Patrick A Van Der Hyde

    Tableau REST API: Response HTTP 302 Found

    Harish Awasthi



      I am new to Tableau. and Exploring Tableau Rest APIs using Java. I created a Java client and made a HTTP GET request to below target (Inclded header with value X-Tableau-Auth).

      The below URI works just fine when I try using POSTMAN.


      http://10az.online.tableau.com/api/2.0/sites/<****** Here I updated my site ID ******>/projects


      While making request I am getting HTTP 302. Please advice.


      Exception in thread "main" javax.ws.rs.RedirectionException: HTTP 302 Found

        at org.glassfish.jersey.client.JerseyInvocation.createExceptionForFamily(JerseyInvocation.java:1053)

        at org.glassfish.jersey.client.JerseyInvocation.convertToException(JerseyInvocation.java:1039)

        at org.glassfish.jersey.client.JerseyInvocation.translate(JerseyInvocation.java:819)

        at org.glassfish.jersey.client.JerseyInvocation.access$700(JerseyInvocation.java:92)

        at org.glassfish.jersey.client.JerseyInvocation$2.call(JerseyInvocation.java:701)

        at org.glassfish.jersey.internal.Errors.process(Errors.java:315)