Symptom
Calling CDC's endpoints may result in CORS error.
Examples:
- Loading screen-set with accounts.getScreenSets results in CORS error (Access-Control-Allow-Origin)
- Error: www.site.com/:1 Access to XMLHttpRequest at 'https://<api_domain_prefix>.site.com/accounts.getAccountInfo' from origin 'https://www.site.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.
Read more...
Environment
- SAP Customer Data Cloud
- Customer Identity
- REST APIs
- Web SDK
Product
SAP Customer Data Cloud all versions
Keywords
KBA , CEC-PRO-RAS , RaaS (Screen-Sets, Site Policies, Schema) , 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.