As of about 5 minutes ago, initialization of the ESRI JSAPI 3.13 is failing on http://js.arcgis.com/3.13/esri/tasks/PrintTask.js and resulting in an "Unexpected end of input." SyntaxError
Even going to that URL directly doesn't load the full file (or at least, not what I would expect the full file to be). It ends with ""extent":k.geometry=E.fromExtent(q.geometry).toJson(),d.feature"
Is everyone experiencing this?
Cheer,s
jtm
Solved! Go to Solution.
ah, the full http://js.arcgis.com/3.13/esri/tasks/PrintTask.js just came through and the apps are loading again.
Thanks to Chris Smith for the suggestion re: a local copy of the libraries.
I'm getting the full file - it may be a CDN issue?
We are also seeing this issue as well. Our production site is using ESRI's CDN and is currently not functioning because of the problem.
We have a production app using 3.12 and development app using 3.14 - both are working well. I am accessing from Florida... One thing I would recommend doing - download the JavaScript API and host it on your server. In case the CDN goes down, you can flip a switch and point to the locally-hosted API as a failover.
Yep, for now going to try to just get a good copy of PrintTask.js from the API zip and add it in with our local modules, modifying the reference where we use PrintTask to use the local version instead.
We are in Canada. So, perhaps only a Canadian issue. I'll call ESRI Canada...
We are in US, so beyond Canada but still potentially only NA.
I have had similar issues in the past - usually, by the time anyone notices, all is back and in working order!
I am having the same problem with our JS applications. Our production, stage, and other environments use ESRI's CDN. I can go to the CDN in my browser and see the script there but they are not accessible by the applications.
I was having some issues with the 3.12 CDN, but they seem to have resolved themselves... I'd say it was down for about ten minutes.