My Oracle Support Banner

VBCS Instance Is Throwing CORS Error When Invoking Fusion REST API (Doc ID 2952078.1)

Last updated on MAY 30, 2023

Applies to:

Visual Builder Studio - Version 21.10.0 and later
Information in this document applies to any platform.

Goal

Below error is thrown on VBCS webapp page when Fusion rest API call :

"visualbuilder-dev-123-abc.builder.ocp.oraclecloud.com/:1 Access to fetch at
'https://fa-test-dev1-abc.fa.ocs.oraclecloud.com/fscmRestApi/resources/11.13.18.05/contracts?q=Id%20%3D%1234'
from origin 'https://vb-visualbuilder-dev-123-abc.builder.ocp.oraclecloud.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. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled."

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


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