Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 2806

Hana Native UI5 App Consuming iot service throws CORS issue

$
0
0

Hi Experts,

 

I am creating an XS Application  by Consuming standard iot service in Hana Cloud trail.

 

Workbench: SAP hana web Work bench

 

When i run the application i am getting CORS Issue. Please find the details below

 

XMLHttpRequest cannot load https://iotmms**********trial.hanatrial.ondemand.com/com.sap.iotservices.mms/v…522DF34?$filter=G_DEVICE%20eq%20%27da87ee64-311e-4c0f-80a9-68562006db07%27. Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'https://s12hanaxs.hanatrial.ondemand.com' is therefore not allowed access. The response had HTTP status code 401

 

Please help me in resolving this issue

 

Thanks & Regards,

Arun


Viewing all articles
Browse latest Browse all 2806

Trending Articles