
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
An error occured ErrorCode.-2
Hello,
When i open Sheet i have this error @"An error occured ErrorCode.-2"
What does it mean ? And how i can fix it?
Thanks
- « Previous Replies
-
- 1
- 2
- Next Replies »

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hey @Sir_Johanos
"ErrorCode.2": "The resource could not be found."
A full list is as follows
"ErrorCode.-128": "Internal engine error", "ErrorCode.-1": "Unknown error", "ErrorCode.0": "Unknown error", "ErrorCode.1": "Some data is not correctly specified.", "ErrorCode.2": "The resource could not be found.", "ErrorCode.3": "Resource already exists.", "ErrorCode.4": "Invalid path", "ErrorCode.5": "Access is denied", "ErrorCode.6": "The system is out of memory.", "ErrorCode.7": "Not initialized", "ErrorCode.8": "Invalid parameters", "ErrorCode.9": "Some parameters are empty.", "ErrorCode.10": "Internal error", "ErrorCode.11": "Corrupted data", "ErrorCode.12": "Memory inconsistency", "ErrorCode.13": "Action was aborted unexpectedly.", "ErrorCode.14": "Validation cannot be performed at the moment. Please try again later.", "ErrorCode.15": "Operation aborted", "ErrorCode.16": "Connection lost. Make sure that Qlik Sense is running properly. If your session has timed out due to inactivity, refresh to continue working.",
Credit to @ErikWetterberg from this article here

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
What's the best way to track *which* resource is missing?
I have an app that works completely without issue in QS, but gets the "ErrorCode.-2" randomly when I view it through an iFrame. Sometimes, the page will load completely, but then flickers, refreshes a few of the objects, and throws this error. I can't seem to get more detail from it.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This isn't a resource not found error. The error code is -2, not 2. We're getting the same thing.
It comes through as -2 because it's not found on the translation table.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Same issue here as well with Qlik Sense 2020 September Patch 6 and the code is -2
Hope someone finds why it is happening and possibly the way to fix the problem.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@woundine1 Are you going through a reverse proxy?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes, we are using Qlik Sense through reverse proxy

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
it's Enigma error
https://github.com/qlik-oss/enigma.js/blob/master/src/error-codes.js
I was able to get rid of this error when I removed the line from the extension app.variable.SetNumValue('MyVar',ValueOfMyVar)
this post also suggests that the source of the problems is app.variable

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
By any chance have you noticed any pattern when you see the error?
Does it occur after an specific selection?
Do you have any third party extensions, if so, if you remove them do you still see the error?
Have you seen if you have any obsolete objects in your app? for example qlik-show-hide-container is a deprecated object.
Kind Regards.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
There is a workaround posted here.
However, I am having trouble applying the app.on("error"...) method to a Mashup with iframes. I cannot seem to get app.on to work on the iframes. I am applying it in the Mashup .js. Any suggestions?

- « Previous Replies
-
- 1
- 2
- Next Replies »