Access to XMLHttpRequest at <endpoint_URL> from origin 'null' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource." Error Message When Sending an Ajax Call to OCCS Resource
(Doc ID 2611344.1)
Last updated on FEBRUARY 01, 2023
Applies to:
Oracle Commerce Cloud Service - Version N/A to N/AGeneric (Platform Independent)
Goal
When attempting to invoke an endpoint/SSE extension from a local HTML file that sends an Ajax request to OCCS, the following error occurs:
How to correct this error?
Solution
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Goal |
Solution |
References |