When making a call to access resource file(like media files, .json, .txt, .glb) from a different domain, you could meet cross-origin issue with below kind of error in the browser console:
[Error] XMLHttpRequest cannot load *** due to access control checks.
[Error] Failed to load resource: Origin *** is not allowed by Access-Control-Allow-Origin
[Error] Access to XMLHttpRequest at *** from origin *** has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
, KBA , CEC-COM-CPS , SAP Commerce , CEC-HCS-CCAZ-CZO , Customer Zone on Azure , How To
About this pageThis is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP ONE Support launchpad (Login required).
Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.