I am hitting an exception when trying to execute the "QueryFeaturesAsync" with a query parameter of Polygon Geometry.
SDK Version: 100.1
Exception: "\"invalid start of json - expecting { or [\": < : 0"
I have tried the query with multiple different URI's and still hitting the same exception. When executing the query direct from the service (not through the SDK), I get a successful response with the data I expect.
Here is some of the code:
var featureTable = new ServiceFeatureTable(uri);
var queryParams = new QueryParameters();
queryParams.Geometry = geometry;
task = featureTable.QueryFeaturesAsync(queryParams);
try {
await task;
}
catch(Exception ex)
{
//expection occurs here
Console.WriteLine("Failed to complete query" + e.ToString());
}