CORS error when testing the Sample MediaCo app with the latest master branch #409
-
I was successfully testing the sample MediaCo app and after pulling the latest changes from the master branch, I am now getting a CORS error with the portals call, however the D_pxBootstrapConfig call is working successfully Portals call (failing): D_pxBootstrapConfig call(working ): |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
can you try adding "x-constellation-app" header in the allowed headers list Steps to get rid of CORS issue: |
Beta Was this translation helpful? Give feedback.
can you try adding "x-constellation-app" header in the allowed headers list
Steps to get rid of CORS issue:
- Open API Headers Allowed record
- security => Cross Origin Resource Sharing => APIHeadersAllowed
- Add this ‘x-constellation-app’ at the end of allowed headers