AnsweredAssumed Answered

REST API Query Geojson Format Error

Question asked by meperko on Apr 2, 2018
Latest reply on Oct 12, 2018 by bcollins@mt.gov

Hi.  I’m looking for some help with an error I get using the geojson query format when querying a particular map service layer hosted in AGS.  The error returned is “{"error":{"code":400,"message":"Failed to execute query.","details":[]}}” and seems to only occur on certain features. 

 

If you are interested, you can see what I mean here:

 

https://gis11.services.ncdot.gov/arcgis/rest/services/NCDOT_STIP/MapServer/1/query

 

In the WHERE clause, you’ll get a returned feature if you enter OBJECTID=284.  If you enter OBJECTID=285, you’ll get the error.

 

Any ideas on what’s going on or where to look is much appreciated.

 

Thanks.

Outcomes