cancel
Showing results for 
Search instead for 
Did you mean: 

running MDK tutorial in web

0 Kudos

Hello,

I'm getting an error when I run the tutorial Create Your First MDK Application | Tutorials for SAP Developers in web. It was working well at least few months ago in both of trial account and corporation account. But, it is not working in trial account any longer. It is working in corporation account. Could you please advise what is causing the issue? My team members have tried in 4 different trial accounts respectively, but we are all getting the same error.

We are on US trial account.

The error is:

Thanks in advance for your help.

Accepted Solutions (1)

Accepted Solutions (1)

Jitendra_Kansal
Product and Topic Expert
Product and Topic Expert

I can see that Token Service URL is not correct, it should also contain /oauth/token lat the end.
e.g., https://.../hana.ondemand.com/oauth/token

Hi Jitendra,

I must have missed it while repeating the tutorial! Sorry about that and thanks again! Appreciated.

Regards.

Answers (2)

Answers (2)

Jitendra_Kansal
Product and Topic Expert
Product and Topic Expert
0 Kudos

Looks like there is some configuration missing or not correct in your BTP destination. I suggest you to review your destination settings once as per step 4 of this tutorial. Please check the note in the last step.

0 Kudos

Hi Jitendra,

I double-checked my configuration in BTP destination. It seems correct. Please see below. FYI, this is not working in trial account, but working well in corporation account.

Thanks.

robert_hunger
Participant
0 Kudos

Hi,

have you already defined your sample service under mobile connectivity in the mobile service cockpit with the corresponding endpoints?

Maybe this answer will help you:getting-500-error-on-mdk-application-after-deploye.html

+robert

0 Kudos

Hi Robert,

I'm on Cloud Foundry trial account and deploying from BAS. Mobile connectivity is defined and the app is working on mobile device well. Destination in BTP cockpit is also defined for Web application. Please see below.

- mobile connectivity in Mobile Service

- destination in BTP cockpit