agrio · JSON Structure

Agrio Error Response Structure

Standard error response.

Type: object Properties: 3
AgriculturePlant DiseasePest DetectionAICrop Advisory

Error Response is a JSON Structure definition published by agrio, describing 3 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

error message status

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/agrio/refs/heads/main/json-structure/agrio-error-response-structure.json",
  "name": "Error Response",
  "description": "Standard error response.",
  "type": "object",
  "properties": {
    "error": {
      "type": "string",
      "description": "Error code or type.",
      "example": "unauthorized"
    },
    "message": {
      "type": "string",
      "description": "Human-readable error message.",
      "example": "Invalid or missing API key."
    },
    "status": {
      "type": "int32",
      "description": "HTTP status code.",
      "example": 401
    }
  }
}