Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi Everyone,
I am working on Qliksense 3.2 version and I am trying to create a mash up on Dev Hub . I actually wrote some HTML codes and embedded 4 objects into the page. While I dragged the objects into the page, I could see them, but when I'm trying to view it. It gives me an error for (Rest Connection Failed). Below is a screenshot for the same.
Hi,
This error probably means that QIX Engine cannot communicate with the repository. Do you get this all the time or just sometimes? Check if there is any more errors in the browser console. Also verify the connection parameters and the appid.
Hope this helps
Erik Wetterberg
Hi Erik,
Thanks for replying.
I have never done this before . I tried doing it for the first time and getting this error everytime now. Now I am not able to see the Qliksense object on the preview section also. I have verified the app id. Can you please explain tell me what connection parameters you are talking about?
Thanks,
Akash
Hi Akash,
There is usually a section like this in the mashup:
var config = {
host: window.location.hostname,
prefix: prefix,
port: window.location.port,
isSecure: window.location.protocol === "https:",
openWithoutData: true
};
The config object should then be used in the openApp call:
app = qlik.openApp(appid, config);
Hope this helps
Erik Wetterberg
Hi Erik,
Thanks for your reply, Everything I have set up well. But sometimes now It doesn't give me error while sometime it shows me rest connection failed error.
Thanks,
Akash
I am also getting the same error
hi,
did you get solution for this issue