EPCOR · Example Payload

Epcor Arcgis Error Responses

EnergyCanadaUtilitiesElectricityNatural GasWaterGreen ButtonSmart MeteringGridOntarioAlbertaOutagesGeospatialOpen Data

Epcor Arcgis Error Responses is an example object payload from EPCOR, with 5 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

generatedmethodsourcenoteresponses

Example Payload

Raw ↑
{
  "generated": "2026-07-27",
  "method": "probed",
  "source": "https://services6.arcgis.com/Ji2rusuWXDFSqNsP/ArcGIS/rest/services",
  "note": "Verbatim error bodies returned by EPCOR's public ArcGIS feature services. Every one of these was returned with HTTP status 200 - the ArcGIS REST interface signals failure in the body, not in the status line.",
  "responses": [
    {
      "request": "GET /ocps_prod_av/FeatureServer/0/query?where=BOGUS(&outFields=*&f=json",
      "http_status": 200,
      "body": {
        "error": {
          "code": 400,
          "message": "Cannot perform query. Invalid query parameters.",
          "details": ["'where' parameter is invalid"]
        }
      }
    },
    {
      "request": "GET /ocps_prod_av/FeatureServer/99?f=json",
      "http_status": 200,
      "body": {
        "error": {
          "code": 400,
          "message": "",
          "details": ["The requested layer (layerId: 99) was not found."]
        }
      }
    },
    {
      "request": "GET /no_such_service/FeatureServer?f=json",
      "http_status": 200,
      "body": {
        "error": {
          "code": 400,
          "message": "Invalid URL",
          "details": ["Invalid URL"]
        }
      }
    }
  ]
}