Skip to main content
Announcements
Qlik Introduces a New Era of Visualization! READ ALL ABOUT IT
cancel
Showing results for 
Search instead for 
Did you mean: 
Sir_Johanos
Contributor II
Contributor II

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

11 Replies
TresSciuri
Contributor
Contributor

I should add:  I have found that using the iframe format generated using the "embed" function in the sheet itself throws the error far less frequently than using the format from the Single Configurator.  But it still occurs.

rnorris
Partner - Contributor III
Partner - Contributor III

Did anyone have any joy with fixing this? I thought that using a new extension object (SimpleFieldSelect) was causing it, but after removing that from my app I'm still getting the error. I get it whenever I open a new sheet within the app. However, older versions that have never had the extension don't get the error, so it's not merely having it installed that's causing the issue?

I'm kind of at a loss as to how to troubleshoot it, even. I've seen people mention adding lines of code, but I can't really imagine where or how?

Workaround:

The workaround is to manually catch the error and suppress it with app.on()

app.on('error', (er) => {YourErrorHandler})

That's all well and good, but I didn't create the extension, how / where would I add this? 

Thanks for any help you can provide.