Skip to main content
Question

FME-Server: CORS-Error

  • November 20, 2018
  • 4 replies
  • 85 views

gpt_geoinfo
Contributor
Forum|alt.badge.img+2

Hey guys,

Why do I get the error (some texts replaced for security reasons):

Failed to load http://fme-serverdomain.com/fmedatadownload/repository/workspace.fmw?param1=somefile&param2=sometext&opt_responseformat=json&token=123456789&detail=high: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://someotherdomain.com' is therefore not allowed access.

although I configured CORS to allow all hosts

0684Q00000ArAy5QAF.png

4 replies

virtualcitymatt
Celebrity
Forum|alt.badge.img+35

I think in this case it's referring to the specific header 'Access-Control-Allow-Origin' add that into the list of allowed headers and try again


gpt_geoinfo
Contributor
Forum|alt.badge.img+2
  • Author
  • Contributor
  • November 21, 2018

Unfortunately this didn't help


laurawatsafe
Safer
Forum|alt.badge.img+11

Hi @gpt_executer,

How are you making the call to your FME Server when you're seeing this error? Are you attempting to open the URL to the datadownload service directly in a web browser or are you sending the request from another application? If you're running this from another application, would you be able to share an example of the code you're using to make the call?


runneals
Contributor
Forum|alt.badge.img+19
  • Contributor
  • February 13, 2025

I think I’m running into this issue as well. 

 


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