Expand my Community achievements bar.

SOLVED

CORS Policy issue on Browser on Offer Proposition update

Avatar

Level 1

We have offer rendered on the Browser and making the Update status call to update the proposition status. But we get CORS policy as shown below on the browser.

 

Access to XMLHttpRequest at 'https://<url>/interaction/liveRcp/<offerspace>?a=UpdateStatus&st=1&p=123' from origin '<browser_url>' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.

 

We got the DNS whitelisted on Adobe campaign server but it didnt help. Please suggest on how to solve this issue

 

Thanks in Advance.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi,

 

What does this line mean, out of curiosity?

'We got the DNS whitelisted on Adobe campaign server'

 

CORS can be enabled in Apache or IIS on the Interaction server following this guide:

https://www.w3.org/wiki/CORS_Enabled#For_Apache

 

Thanks,

-Jon

View solution in original post

3 Replies

Avatar

Correct answer by
Community Advisor

Hi,

 

What does this line mean, out of curiosity?

'We got the DNS whitelisted on Adobe campaign server'

 

CORS can be enabled in Apache or IIS on the Interaction server following this guide:

https://www.w3.org/wiki/CORS_Enabled#For_Apache

 

Thanks,

-Jon

Hi @Jonathon_wodnicki ,

 

We got the DNS whitelisted on Adobe campaign server -> we are accessing offers on a web page with URL for example - https://offer.abc.com . So we got the DNS:  *.abc.com whitelisted on adobe campaign server to solve the CORS issue. This didn't rectify the issue.

 

So, as per your comment, we need to get CORS enabled on abc.com server OR on the adobe campaign interaction server ? Please let me know.

 

Thanks,

Avatar

Community Advisor
No you have to enable it on the Apache or IIS server fronting the app server, per that guide.