Android · Schema

Error

Error response from the API.

AIAndroidAutomotiveGoogleMachine LearningMobile DevelopmentSDKTVWearables

Properties

Name Type Description
error object
View JSON Schema on GitHub

JSON Schema

android-error-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/Error",
  "title": "Error",
  "type": "object",
  "description": "Error response from the API.",
  "properties": {
    "error": {
      "type": "object",
      "properties": {
        "code": {
          "type": "integer",
          "description": "HTTP status code."
        },
        "message": {
          "type": "string",
          "description": "A human-readable error message."
        },
        "status": {
          "type": "string",
          "description": "The status of the error (e.g., NOT_FOUND, UNAUTHENTICATED)."
        },
        "errors": {
          "type": "array",
          "description": "Detailed list of errors.",
          "items": {
            "type": "object",
            "properties": {
              "message": {
                "type": "string"
              },
              "domain": {
                "type": "string"
              },
              "reason": {
                "type": "string"
              }
            }
          }
        }
      },
      "example": "example_value"
    }
  }
}