grubhub · JSON Structure

Grubhub Error Structure

Standard error response from the Grubhub API.

Type: object Properties: 3

Error is a JSON Structure definition published by grubhub, 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/grubhub/refs/heads/main/json-structure/grubhub-error-structure.json",
  "name": "Error",
  "description": "Standard error response from the Grubhub API.",
  "type": "object",
  "properties": {
    "error": {
      "type": "string",
      "description": "Error type identifier."
    },
    "message": {
      "type": "string",
      "description": "Human-readable error description."
    },
    "status": {
      "type": "int32",
      "description": "HTTP status code."
    }
  }
}