My Oracle Support Banner

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 DECEMBER 19, 2019

Applies to:

Oracle Commerce Cloud Service - Version N/A to N/A
Generic (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


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.