AnsweredAssumed Answered

Layer loadError with JavaScript 3.12 API

Question asked by MLundin617 on Jan 9, 2015
Latest reply on Jan 14, 2015 by MLundin617

I'm working on upgrading to the 3.12 version of the ArcGIS JavaScript API, and I'm hitting a bit of a snag. If I create a separate page and add a layer to a map everything works fine, so I know I have the API set up correctly. However, in my application, there comes a point where if I create an ArcGISTiledMapServiceLayer, it is immediately created with a loadError of "Error: no match found". The error occurs before the layer is added to the map (and even if it's never added to the map). I'm trying to create the smallest possible set of code for reproducing the problem, but haven't been able to isolate where it's happening. I apologize for not including any code samples, due to that, and will continue to try and get to a point where I can.


More what I'm wondering is if anyone has hit this error before, and what it might mean. To make sure it wasn't my layer that was causing the problem, I have used multiple layers and I am currently trying with one of the ESRI base layers:


var layer = new ArcGISTiledMapServiceLayer('');


Using Fiddler, I've also noticed that when I do this, no http request is made to the endpoint.


Any help on this would be greatly appreciated.