Google Gemini · Schema

ErrorResponse

Error response from the API.

Agentic AIArtificial IntelligenceCode GenerationEmbeddingsGenerative AIImage GenerationLLMMachine LearningMultimodal

Properties

Name Type Description
error object
View JSON Schema on GitHub

JSON Schema

google-gemini-errorresponse-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/ErrorResponse",
  "title": "ErrorResponse",
  "type": "object",
  "description": "Error response from the API.",
  "properties": {
    "error": {
      "type": "object",
      "properties": {
        "code": {
          "type": "integer",
          "description": "HTTP error code."
        },
        "message": {
          "type": "string",
          "description": "Human-readable error message."
        },
        "status": {
          "type": "string",
          "description": "Error status string."
        }
      }
    }
  }
}