How Do I Resolve a CORS Error?

A service connection and the REST API it's connecting to must have identical CORS settings. For example, if you're connecting to an Oracle REST Data Services (ORDS) endpoint, either both Visual Builder and ORDS must have CORS enabled, or neither must have CORS enabled.

If there's a mismatch, then the service connection won't work and you'll get an error: The REST API that you are connecting to doesn't seem to have Cross Origin Request sharing (CORS) for the Visual Builder domain. Try again after adding necessary CORS settings for the REST API you are connecting to.

To fix this, you can either change the service connection's connection type or enable the service to support CORS for the Visual Builder domain.