cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Failed to initialize application data service - Error 0 (Unknown); GET https://webclient

boolan79
Explorer
0 Likes
3,013

Hello,

when I deploy the MDK app to Cloud Foundry Trial account or try to run it locally from BAS, the app is started, but it does not retrieve data from the destination - I get the following error:

But it works fine on mobile device.

I found the following hint in the DEV162 training materials from Teched 2021:

but it does not say where to check the number of user registrations and how to delete them.

In the Mobile Services I have registered only 1 app and cannot see any config option for user registrations:

Any hints?

With best regards,

Krzysztof.

View Entire Topic
boolan79
Explorer
0 Likes

Hello Jitendra,

I found the reason. It was missing options in the service definition - see screenshot.

On the right there is the correct file with missing lines underlined.

I have generated a new MDK app and compared the .service files.

Several lines were missing in the first app. When I copied the .service file from the new app to the old one, it started to work.

It looks like the .service file is not correctly regenerated or synced when you perform some changes.

Jitendra_Kansal78
Product and Topic Expert
Product and Topic Expert
0 Likes

boolan

Those highlighted options are optional.

I think, the issue was with correct PathSuffix value. On left side, you provided ZKBU_CS_WS_MAKE but on right side, you corrected it to zkbu_cs_ws_make.

PathSuffix (case-sensitive) should match exact path value to your backend.

yavuzasik
Participant
0 Likes
Hi Jitendra , Any other possible recommendations with this issue. I tried all the steps you mentioned in the replies. For me it does not even work for a new application that I kick started with a template project. I choose MDK project and a custom destination from the Mobile services. Any insight would be helpful. Thanks.