Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello,
I want to start task in QlikSense June 2017, using REST API in Talend.
So I defined component tRestClient in that way :
The response was :
Error 403 - Forbidden
The initial authentication request must be a "GET" request in order to be redirected to the authentication module.
So, I had another component with GET method.
Now the respons is --> HTTP 302 Found
I don't understand what is "Moved Temporarily" !
Can somebody help me ?
Thank's a lot.
The Authentication phase does not exactly work as you’re trying to do. Have a quick look here
At the QLIK SENSE ENTERPRISE part
In your case you need to authenticate a process (not a user). So if the process run on a trusted site I suggest you to use the certificates
Hi Vincenzo,
I did already that with a root certificate.
Anyway, I did it again :
- I have exported certificate from QlikSense,
- copied file pfx on my computer,
- convert pfx to pem (using openssl)
- insert certificate in my JVM (using keytool)
I ran my job.... same errors --> 302 on GET and 403 on POST.
I have surely something wrong, but I don't know what.
I forgot :
- I removed this item --> "Authorization" = "NTLM login:password" (in Base64)
I normally send certificate along side the authentication request, something I didn’t see on your first message.
Hi Vincenzo,
You're right but I don't know how to link requests with the certificate in JVM's keystore.
Is it a paramater in the header ? or something else ?
The scope in this case is different, but here you can find an example https://github.com/goldbergjeffrey/QlikSenseTicket.java/blob/master/Ticket.java