AniList · JSON Structure

Anilist Graphqlerror Structure

GraphQLError schema from AniList GraphQL API v2

Type: object Properties: 4
AnimeMangaEntertainmentMediaSocialDatabaseGraphQLOAuth2Public APIs

GraphQLError is a JSON Structure definition published by AniList, describing 4 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

message status locations path

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

anilist-graphqlerror-structure.json Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/anilist/refs/heads/main/json-structure/anilist-graphqlerror-structure.json",
  "name": "GraphQLError",
  "description": "GraphQLError schema from AniList GraphQL API v2",
  "type": "object",
  "properties": {
    "message": {
      "type": "string",
      "example": "Too Many Requests."
    },
    "status": {
      "type": "int32",
      "example": 429
    },
    "locations": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "line": {
            "type": "int32"
          },
          "column": {
            "type": "int32"
          }
        }
      }
    },
    "path": {
      "type": "array",
      "items": {
        "oneOf": [
          {
            "type": "string"
          },
          {
            "type": "integer"
          }
        ]
      }
    }
  }
}