Error from Engine (showDialog) - Cannot read property 'then' of undefined.
There is a potential bug with Qlik Engine error handling.
The issue is when an error occurs in the Qlik engine such as "Error code: 5 (Access Denied), it is followed by an exception from within require.js. Instead of showing an error dialog, this leaves our iframe blank.
We can code around this on non-single object apps by binding a function to the qlikApp.model.session.Error, and handling the error on our own, but when loading a single app in an iframe we are unable to because of cross-domain.
I've attached a screenshot of the errors from console.
Console log displays the EXPECTED error due to Section Access, but it appears to error when trying to display the error dialog (showDialog):