My Oracle Support Banner

Unable To Access External REST Service Due To CORS Error (Doc ID 2897101.1)

Last updated on FEBRUARY 21, 2024

Applies to:

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

Symptoms

Just completed deploying a new  environment.

As part of this deployment, attempting to confirm some REST integrations between a VBCS web application and a REST service.

Getting a CORS error. The console log of the activity shows the following error:

 

Access to Fetch at '<SERVICE _URL>' from origin '<VISUAL BUILDER HOST>' 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.

Failed to load resource: net::ERR_FAILED

Tried all the available options for Connection Type on the service connection and none work.

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


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