Scryfall · Schema

Scryfall Error

A Scryfall Error response returned for any failed request (non-2xx status).

Games And ComicsMagic The GatheringCard DataOpen DataFreeCommunity FundedPublic APIs

Properties

Name Type Description
object string
status integer
code string
details string
type string
warnings array
View JSON Schema on GitHub

JSON Schema

scryfall-error-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/scryfall/main/json-schema/scryfall-error-schema.json",
  "title": "Scryfall Error",
  "description": "A Scryfall Error response returned for any failed request (non-2xx status).",
  "type": "object",
  "required": ["object", "status", "code", "details"],
  "properties": {
    "object": { "type": "string", "const": "error" },
    "status": { "type": "integer" },
    "code": { "type": "string" },
    "details": { "type": "string" },
    "type": { "type": "string" },
    "warnings": { "type": "array", "items": { "type": "string" } }
  }
}