SAP Knowledge Base Article - Preview

3169330 - MDK ReferenceError: regeneratorRuntime when calling an asynchronous MDK function


  • Unable to use asynchronous functions anymore. i.e. When calling the asynchronous function DownloadOrOpenDocument , the following stack trace is shown in the log:

JS: mdk.trace.ui: ReferenceError: regeneratorRuntime is not defined ReferenceError: regeneratorRuntime is not defined
JS:     at Rule._DownloadOrOpenDocument (file:///data/data/
JS:     at Rule.DownloadOrOpenDocument [as ruleFunction] (file:///data/data/com.example.appid /files/definitions/bundle.698.js:1863:34)
JS:     at (file: app\webpack:\appid\node_modules\mdk-core\rules\Rule.js:54:0)
JS:     at EventHandler._executeRule (file: app\webpack:\QIIW\node_modules\mdk-core\EventHandler.js:104:23)
JS:     at file: app\webpack:\QIIW\node_modules\mdk-core\EventHandler.js:48:0



MDK 6.1.3


SAP Cloud Platform Mobile Services all versions ; SAP Mobile Services all versions


KBA , MOB-MDK , Mobile Development Kit (MDK) , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.