SAP Knowledge Base Article - Preview

3703180 - Error: CORS policy blocked Search Intelligence request in composable storefront

Symptom

When opening the Composable Storefront in a browser, you might encounter the following error in the browser console:

Access to fetch at 'https://<tenant>-<siteId>.us.context.cloud.sap/search-intelligence/v1/sites/<siteId>/trendingSearches' from origin 'https://jsapps.***-***-***-public.model-t.cc.commerce.ondemand.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.

"Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental."


Read more...

Environment

  • SAP Commerce Cloud
  • Intelligent Selling Services for SAP Commerce Cloud

Product

SAP Commerce Cloud all versions ; intelligent selling services for SAP Commerce Cloud all versions

Keywords

CORS error, search intelligence, SAP Commerce Cloud, trending searches, 404 error, access-control-allow-origin, storefront configuration, API host, , KBA , CEC-CDS , SAP Commerce Cloud, context-driven services & ISS , 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.