Error Response

Error response from the QuickStats API.

AgricultureFederal GovernmentStatisticsOpen DataGeospatial

Properties

Name Type Description
error string Error type or description.
message string Human-readable error message.
View JSON Schema on GitHub

JSON Schema

quickstats-api-error-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/agricultural-statistics-service/refs/heads/main/json-schema/quickstats-api-error-response-schema.json",
  "title": "Error Response",
  "description": "Error response from the QuickStats API.",
  "type": "object",
  "properties": {
    "error": {
      "type": "string",
      "description": "Error type or description.",
      "example": "too many results"
    },
    "message": {
      "type": "string",
      "description": "Human-readable error message.",
      "example": "The request would return more than 50,000 records. Please narrow your query."
    }
  }
}