Skip to main content
Solved

OPTIONS request with "request-id" is blocked


Forum|alt.badge.img

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?

Best answer by dshen

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.

 

View original
Did this topic help you find an answer to your question?

2 replies

Amplitude Admin
Community Manager
Forum|alt.badge.img+9

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.

 


Forum|alt.badge.img
  • Author
  • New Member
  • 1 reply
  • Answer
  • March 22, 2021

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


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings