Battle.net · Schema

ErrorResponse

An error response from the API.

GamesGamingBlizzardWorld Of WarcraftDiabloHearthstoneStarcraft

Properties

Name Type Description
code integer HTTP error code.
type string Error type.
detail string A description of the error.
View JSON Schema on GitHub

JSON Schema

hearthstone-game-data-error-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/battle-net/refs/heads/main/json-schema/hearthstone-game-data-error-response-schema.json",
  "title": "ErrorResponse",
  "description": "An error response from the API.",
  "type": "object",
  "properties": {
    "code": {
      "type": "integer",
      "description": "HTTP error code.",
      "example": 404
    },
    "type": {
      "type": "string",
      "description": "Error type.",
      "example": "BLZWEBAPI00000404"
    },
    "detail": {
      "type": "string",
      "description": "A description of the error.",
      "example": "Not Found"
    }
  }
}