My Oracle Support Banner

Error "blocked by CORS policy" When Calling Oracle Blockchain Platform REST Endpoint From ReactJS Application (Doc ID 2820266.1)

Last updated on SEPTEMBER 09, 2024

Applies to:

Blockchain Platform Cloud Service - Version N/A and later
Information in this document applies to any platform.

Symptoms

Unable to access Oracle Blockchain Platform (OBP) REST API from react.js application, getting below CORS policy error when trying to connect OBP REST endpoint from react.js application.

This issue is for specifically happening for react.js application (e.g. same package working for node.js application). How to resolve CORS policy.

Cause

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
Symptoms
Cause
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.