Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Preflight Request failed because origin is not allowed by Access-Control-Allow-Origin.

koba47
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 27, 2019

I have created an Office Add-In which works in web environment and I am trying to fire a jira api, but the preflight request is not returning any response. An error is thrown on console

Preflight response is not successful
XMLHTTPRequest cannot load <API URL> due to access control checks.
Failed to load resource: Preflight request is not successful.

I have tried entering my ip address in WhiteList section in System management on Jira. But still the error is unresolved. I also came across a method to introduce a proxy before jira providing appropriate response headers, but that seems like a workaround. Is there any way to resolve this issue?

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events