Youtube · JSON Structure

Youtube Data Error Response Structure

A standard error response returned by the YouTube Data API.

Type: object Properties: 1
GoogleMediaSocialStreamingVideoVideos

ErrorResponse is a JSON Structure definition published by Youtube, describing 1 property. It conforms to the https://json-structure.org/draft/2020-12/schema meta-schema.

Properties

error

Meta-schema: https://json-structure.org/draft/2020-12/schema

JSON Structure

Raw ↑
{
  "type": "object",
  "description": "A standard error response returned by the YouTube Data API.",
  "name": "ErrorResponse",
  "properties": {
    "error": {
      "type": "object",
      "description": "The error details.",
      "properties": {
        "code": {
          "type": "integer",
          "description": "The HTTP status code of the error."
        },
        "message": {
          "type": "string",
          "description": "A human-readable description of the error."
        },
        "errors": {
          "type": "array",
          "description": "A list of individual errors.",
          "items": {
            "type": "object",
            "properties": {
              "message": {
                "type": "string",
                "description": "A human-readable description of the error."
              },
              "domain": {
                "type": "string",
                "description": "The domain in which the error occurred."
              },
              "reason": {
                "type": "string",
                "description": "The reason for the error."
              }
            }
          }
        }
      }
    }
  },
  "$schema": "https://json-structure.org/draft/2020-12/schema"
}