CORS error when using Set Consent via Web SDK
I am using Adobe Standard v2 consent standard for communicating the consent preference via Web SDK extension. It works fine for non-gdpr regions but, for GDPR regions, it shows the CORS error. Below is the the error am getting.
Access to fetch at 'https://adobedc.demdex.net/ee/v1/privacy/set-consent?configId=<config id>:dev&requestId=781cafa4-03df-4e65-9711-13a1235400d1' from origin 'https://www.abc.com' has been blocked by CORS policy: 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.