Published on InterSystems Developer Community (https://community.intersystems.com)

Home > Mobile app not running but Web app running after deploying and compiling to cordova

Question
Peter (Sechaba)... · Nov 26, 2021

Mobile app not running but Web app running after deploying and compiling to cordova

kindly assist with this error, mobile app keeps loading after converting it using Cordova compiler from workbench but the web app is running well.

error message shows this when I check api link on postman:

{

    "errors": [

        {

            "code": 5002,

            "domain": "%ObjectErrors",

            "error": "ERROR #5002: ObjectScript error: <INVALID OREF>zSetSessionLanguage+7^HSPortal.API.Public.1",

            "id": "ObjectScriptError",

            "params": [

                "<INVALID OREF>zSetSessionLanguage+7^HSPortal.API.Public.1"

            ]

        }

    ],

    "summary": "ERROR #5002: ObjectScript error: <INVALID OREF>zSetSessionLanguage+7^HSPortal.API.Public.1"

}

#InterSystems IRIS
Product version: IRIS 2020.1

Source URL:https://community.intersystems.com/post/mobile-app-not-running-web-app-running-after-deploying-and-compiling-cordova