Feature Service with Async Operations moving result object?

373
0
12-13-2017 03:54 PM
JoshHeilmann
New Contributor

Our company has written an interface for using the ArcGIS Feature Service using the JSON format option. Our interface has been working but something has changed on your ArcGIS online servers that now make it impossible to reliably interface when working with large data sets.

 

The issue is when we try to Create Replica using Esri’s AGOL service with the async option set to “True”. We would then handle the Asynchronous operations until we receive the “resultUrl” with the status of “Completed”. This is where we run into our problem, we then download the JSON file from the “resultUrl” as we have always done, but now instead of getting our JSON file result we get an HTML result that says something like (note: I modified the href):

 

<html><head><title>Object moved</title></head><body>

<h2>Object moved to <a href="https://arcgisazureprod3.blob.core.windows.net/replicafiles/5f96895555ca49c0987beae08542c151.json?se...">here</a>.</h2>

</body></html>

I’ve manually navigated to the provided URL in the hyperlink and this does appear to be our JSON file moved to a different location.

 

This result is unexpected and I haven’t been able to find documentation that describes this behavior, so our interface doesn’t know how to handle it. It being an HTML page tells me that this isn’t supposed to be a standard output to your Feature Service request of a JSON object, but is intended to be human readable so it is subject to change. I imagine also that it isn’t intended for us to parse this html file. We need reliability with this interface. We can’t get around this issue as AGOL requires asynchronous requests for large datasets.

 

Is this a known issue that Esri may be working on? Please advise.

Thank You.

Tags (1)
0 Kudos
0 Replies