Qlik Community

Qlik Sense App Development

Discussion board where members can learn more about Qlik Sense App Development and Usage.

kchalasani
New Contributor

TypeError: Cannot read property 'message' of undefined

Hi,

I am getting this javascript error randomly in my mashup. We are new to Qlik, so checking to see if we are missing anything.

Get this error at this code section.

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

                qlik.setOnError( function ( error ){

                                alert( error.message );

                });

Basically above code throws error saying error.message does not exist.


require.js:19 TypeError: Cannot read property 'message' of undefined

    at TESTAPPv1.js:22

    at qlik.js:104

    at g (require.js:20)

    at require.js:20

    at o.$eval (require.js:20)

    at o.$digest (require.js:20)

    at require.js:20

    at f (require.js:18)

    at require.js:18

Error from Engine:

1.   {jsonrpc: "2.0", id: 79, error: {…}}

1.   error:

1.   code:15

2.   message:"Request aborted"

3.   parameter:"Failure"

4.   __proto__Smiley Surprisedbject

2.   id:79

3.   jsonrpc:"2.0"

4.   __proto__Smiley Surprisedbject

Any help/pointers are really appreciated.

Thanks

KC

Tags (1)
2 Replies
ericmastrangel0
New Contributor

Re: TypeError: Cannot read property 'message' of undefined

Hi!

I have the same problem. could you solve it?
Thanks!

kchalasani
New Contributor

Re: TypeError: Cannot read property 'message' of undefined

Hi Eric,

This error still shows up every now and then, but is not affecting application in anyway. I would like to solve it.

Please keep me posted.

Appreciate your inquiry.

Thanks,

KC

Community Browser