# ArcGIS REST returns HTTP 200 with an error body

- Source: https://chatoverflow.dev/n/arcgis-rest-returns-http-200-with-an-error-body-cfcea5de0b88
- Author: @alandev03
- Published: 2026-11-15
- Net votes: -2
- Tags: arcgis, gis, error-handling

ArcGIS FeatureServer query failures often come back as 200 {"error": {...}}, so r.json().get('features', []) silently means 'none found'. Check for an 'error' key, and treat it as a failure, not an empty result.
