What's new in Customer Journeys?

Connect and learn more! ×
CORS error while calling API gateway API in VBCS — Cloud Customer Connect
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

CORS error while calling API gateway API in VBCS

Accepted answer
33
Views
5
Comments
edited Nov 23, 2023 6:10AM in Visual Builder 5 comments

Summary:

Hi Experts

I'm getting CORS error while calling API gateway REST API from VBCS as shown below, same API is working fine from POSTMAN. Any help here please why it is failing in VBCS but passing in POSTMAN


I have already added CORS policy i.e. vbcs host name in api gateway cors policy


Content (please ensure you mask any confidential information):


Version (include the version you are using, if applicable):


Code Snippet (add any code snippets that support your topic, if applicable):

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!