CORS Policy issue on Browser on Offer Proposition update | Community
Skip to main content
August 11, 2020
Solved

CORS Policy issue on Browser on Offer Proposition update

  • August 11, 2020
  • 1 reply
  • 2203 views

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.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Jonathon_wodnicki

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

1 reply

Jonathon_wodnicki
Community Advisor
Jonathon_wodnickiCommunity AdvisorAccepted solution
Community Advisor
August 12, 2020

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

August 17, 2020

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,