When the raw script is used instead of a webfile connection when using Qlik Web Connectors in Qlik Sense, the reload may fail with the error:
This statement only works with lib:// paths in this script mode.
Environment:
Qlik Sense Enterprise on Windows
Qlik Web Connectors
Qlik Sense may be running in Standard mode.
Resolution:
Disable standard mode in Qlik Sense.
Please reference this article for information on disabling standard mode: Legacy vs. Standard Mode in Qlik Sense: Explainer and Security Considerations