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 FEBRUARY 01, 2023

Applies to:

Oracle Commerce Cloud Service - Version N/A to N/A
Generic (Platform Independent)


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?



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

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