SAP Knowledge Base Article - Preview

2914132 - Error: "Access to XMLHttpRequest"..." Has Been Blocked by CORS Policy"

Symptom

You are trying to access the endpoint from an integration or your Fiori/UI5 app using an OData Model, while your app is running on a localhost. An error similar to the following one occurs:

"Access to XMLHttpRequest at ‘ABC’ from origin ‘XYZ’ has been blocked by CORS policy" (where ABC represents the Odata URL being accessed, and XYZ represents the access point of the Odata URL)


Read more...

Environment

SAP Cloud for Customer

SAP Business ByDesign

Product

SAP Business ByDesign all versions ; SAP Cloud for Customer add-ins all versions ; SAP Cloud for Customer core applications all versions

Keywords

localhost, query, get, http , KBA , LOD-CRM-INT-API , OData API (C4C Only) , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.