Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

CORS Issue while consuming Hana's OData

miyanaleem
Participant
0 Kudos

Hi,

I am getting error in frontend

"Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin is therefore not allowed access."

I have set the advanced CORS settings via the XSADMIN tool and added the

"allowOrigin": ["*"] in the .xsaccess file in sap hana.

It will be great, if anyone help me.

Thanks and Regards,

Miyan Abdul Aleem

  • SAP Managed Tags:
0 REPLIES 0