Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

hcpms hybrid app registration failed - Check your connection data error

Hi All,

I have created a hybrid offline app and deployed to emulator. On click of "register" button, i am getting an error

"Check your connection data". Registration failed pop up message. I have given the required details in index.html

var context = {

         "serverHost":  "hcpmsadmin-pxxxxxxtrial.hanatrial.ondemand.com", //Place your SMP 3.0 server name here

         "https": "true",

         "serverPort": "443",

         "user": "pxxxxxxx",       //user name for registration and the OData Endpoint

         "password": "xxxxxxxx",   //password for registration and the OData Endpoint

                                     //once set can be changed by calling sap.Logon.changePassword()

         "communicatorId": "REST",

         "passcode": "password",  //note hardcoding passwords and unlock passcodes are strictly for ease of use during development

                                  //once set can be changed by calling sap.Logon.managePasscode()

         "unlockPasscode": "password",

         "passcode_CONFIRM":"password",

         "ssoPasscode":"Password1"

    };

Rest Client - If i use the url,i am getting a status code 200.

http//hcpmsadmin-pxxxxxtrial.dispatcher.hanatrial.ondemand.com/odata/applications/latest/com.sap.northwindoffline/Connections

Attaching screen shot.

Is there anything other configuration i am missing? How can i resolve the error in emulator.

Please help.

Thanks,

Divya

Tags:
Former Member
Not what you were looking for? View more on this topic or Ask a question