CORS error | Community
Skip to main content

Hi, 

We have been using Intercom without any issue. But recently we have started getting following error after the user has logged into our platform. 

Access to XMLHttpRequest at ‘https://api-iam.intercom.io/messenger/web/embedded/content’ from origin ‘https://portal.product.com’ has been blocked by CORS policy: No ‘Access-Control-Allow-Origin’ header is present on the requested resource. 

When the page is refreshed, the error disappears and status code changes to 200 OK but the user data is not updated in Intercom.

What’s the possible solution to this issue?

This started happening after we enabled “Prevent insecure updates via the Messenger” setting. After we disabled it we stopped getting this CORS issue. 


Reply