You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I found two issues when testing BatchQuery using Azure Functions 1.x against an AGOL Hosted Feature Service:
I get an error like this:
"message": "Exception while executing function: -> Nullable object must have a value.",
"errorDetails": "Microsoft.Azure.WebJobs.Host.FunctionInvocationException : Exception while executing function: ---> System.InvalidOperationException : Nullable object must have a value.\r\n at System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)\r\n at async Anywhere.ArcGIS.PortalGatewayBase.BatchQuery[T](Query queryOptions,CancellationToken ct)\r\n
..."
I was able to fix this by changing PortalGatewayBase line 242 from:
I wasn't actually getting back all the results from the feature service. I was expecting 5000+ features, but I was only getting the results from the first query. I was able to fix this by changing PortalGatewayBase line 241 from:
I didn't have time to test against various types of AGS services so it is possible that these changes were unique to my setup, but wanted to send them along just in case.
Thanks for sharing this great repo!
The text was updated successfully, but these errors were encountered:
I found two issues when testing BatchQuery using Azure Functions 1.x against an AGOL Hosted Feature Service:
I was able to fix this by changing PortalGatewayBase line 242 from:
to
to
I didn't have time to test against various types of AGS services so it is possible that these changes were unique to my setup, but wanted to send them along just in case.
Thanks for sharing this great repo!
The text was updated successfully, but these errors were encountered: