AnsweredAssumed Answered

esri.request is delaying sending an error callback with KML file

Question asked by stevel on Oct 1, 2013
Latest reply on Oct 2, 2013 by stevel
See the sample script at http://jsfiddle.net/slead/Lgbkm/3/ where I'm using esri.request to make an AJAX call to a KML file.

This call fails (I need to pass it via http://utility.arcgis.com/sharing/kml?url=) but that's not the issue. The problem is that the error callback isn't called for nearly a minute.

It should return an "error" popup but there's a long delay before it appears. If I use
url: "adsfdsaf",
the error is thrown immediately.

This isn't a pressing issue as I have a workaround (use the utility method if the URL contains ".kml" but I'm curious as to why this is occurring.

Thanks,
Steve

Outcomes