AnsweredAssumed Answered

Invalid JSON Exception

Question asked by teknorix on Jun 11, 2018
Latest reply on Jun 13, 2018 by teknorix

On trying to load Layers as per the documented code that looks something like:


Uri serviceUri = new Uri("url ");

ServiceFeatureTable featureTable = new ServiceFeatureTable(serviceUri);

FeatureLayer  featureLayer= new FeatureLayer(featureTable);

await featureLayer.LoadAsync();


I get  “Esri.ArcGISRuntimeException: Invalid JSON  at System RuntimeExceptionServices.Exception”.

This Exception is thrown on a Android Device as well as iOS Ipad, both applications developed on Xamarin platform on the current build of Esri - v100.2.0.


If I run a query of this service in a browser it returns what seems to be correct JSON data and the layer in question here gets plotted on our web portal (via Javascript calls) too. 


Could this be a build issue ?