2 Replies Latest reply: Feb 16, 2018 2:52 AM by Iosu García Arrieta RSS

    Error From Engine on Variable Set through API

    Iosu García Arrieta

      Hello,

       

      I have a mashup which is constantly throwing error messages to the browser console. I have isolated the problem in a very simple mashup, which only sets a variable value:

       

      require( ["js/qlik"], function ( qlik ) {

       

           var app = qlik.openApp('MayApp.qvf', config);

       

           app.getObject('QV01','uGgnDc');

       

           // THIS SENTENCE THROWS THE ERROR:

           app.variable.setStringValue('var1', 'NewValue');

      } );

       

      The sentence works, because the variable 'var1' changes its value correctly. Even so, this is the error I get:

       

      Error.PNG

       

      I'm getting the same error both in Qlik Sense Server (November 2017 Release) and Qlik Sense Desktop (February 2017 Release).

       

      Any ideas on what could be the issue here? Thanks!!