Skip to main content

When using Amplitude and AppInsights together on the client side, the browser is flooded with error messages like below.

 

Access to XMLHttpRequest at 'https://api.appcues.net/v1/accounts/111111111111111' from origin 'http://222222222222' has been blocked by CORS policy: Request header field request-id is not allowed by Access-Control-Allow-Headers in preflight response.

Is is possible to make appcues accept the “request-id” header for OPTIONS request?

Hey @dshen thank you for posting this - for this one I have created a Support Ticket, and I will reach out to you there, since I would need some help form our Engineering team for this.

 


Hi Daniel,

 

I found AppInsights SDK allows you to define a domain exclusion list. I think it is a better way to resolve this issue.

 

Thanks.

 


Reply