Youtube · Schema

ErrorItem

Individual error detail

GoogleMediaSocialStreamingVideoVideos

Properties

Name Type Description
domain string Error domain
reason string Error reason code
message string Detailed error message
locationType string Type of location where error occurred
location string Specific location of the error
View JSON Schema on GitHub

JSON Schema

youtube-erroritem-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/ErrorItem",
  "title": "ErrorItem",
  "type": "object",
  "description": "Individual error detail",
  "properties": {
    "domain": {
      "type": "string",
      "description": "Error domain",
      "example": "youtube.analytics"
    },
    "reason": {
      "type": "string",
      "description": "Error reason code",
      "example": "invalidParameter"
    },
    "message": {
      "type": "string",
      "description": "Detailed error message",
      "example": "The parameter 'startDate' has an invalid value"
    },
    "locationType": {
      "type": "string",
      "description": "Type of location where error occurred",
      "example": "parameter"
    },
    "location": {
      "type": "string",
      "description": "Specific location of the error",
      "example": "startDate"
    }
  }
}