So all of a sudden, a nice batch of our webmaps are crashing... but not all of the time.
They are providing the following type of error message:
"The layer, <insert name of random layer>, cannot be added to the map."
However, if you refresh, suddenly that layer loads just fine but another one won't load. But a refresh might bring back issues with the last layer or it might load perfectly?
We have checked fiddler, Google Developer Console, and the best I can tell is it keeps spouting on about a Syntax Error...
SyntaxError: Unexpected token <
at Object.b.fromJson (init.js:131)
at Object.json (init.js:84)
at r (init.js:88)
at c (init.js:103)
at d (init.js:103)
at b.Deferred.resolve.callback (init.js:105)
at k (init.js:107)
at t (init.js:107)
at d.resolve (init.js:109)
I'm lost. We've troubleshot everything I can think...
If you want to take a look, here is one of the maps... ArcGIS Web Application