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

Not getting data and 401 Unauthorize error in Mobile Service Client.

madhav15
Participant
0 Kudos
1,568

Hi Team,

I am currently working on MDK app and trying to consume OData Service in Mobile Service. I have created destination in BTP as follows:

pic1.PNG

Destination using Basic Authentication. Consuming this destination in Mobile Services as SAP Destination Service:

pic2.PNG

Able to get data on OData Application Destination Test and Launch in Browser but when I tried with application in BAS and deploy on Mobile Service not able to get data through Mobile Service Client App(SVCS) and getting 401 unauthorized error.

shared image (1).jpg

Kindly check on this issue and if required more information on it feel free to reach out.

Thanks,

Madhav

View Entire Topic
madhav15
Participant
0 Kudos

Hi @panushjain ,

Thanks for responding, This is log for errorpic4.PNG

panushjain
Product and Topic Expert
Product and Topic Expert
0 Kudos
If "Launch in Browser" is able to load the oData then I don't see any reason why it should fail from the mobile app. I would recommend trying a fresh install, try uninstalling and reinstalling the application.
madhav15
Participant
0 Kudos

Hi @panushjain,

When I try to same in local dev space I am getting this and are using IAS for authentication purpose:pic5.PNG