Skip to Content
1
Dec 07, 2022 at 07:37 AM

CORS Policy issue when trying to call CPI endpoint from SAP CPQ

871 Views

Hi Experts,

We have developed some custom java code in SAP CPQ to trigger the CPI end point to fetch data from On-premise BRIM system, But below is the error we are facing in CPQ while trying to call CPI end point.

Access to fetch at 'https://zzzz-iflmap.hcisbp.bb.hana.ondemand.com/http/CPQ' from origin 'https://YYYycpq.com' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.

Could you please help us resolve the issue?