Gravatar · Schema

Error

An error response from the API.

AvatarsIdentityProfilesSocialImagesGraphQLREST

Properties

Name Type Description
error string The error message
code string The error code for the error message
View JSON Schema on GitHub

JSON Schema

error.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/gravatar/refs/heads/main/json-schema/error.json",
  "title": "Error",
  "type": "object",
  "description": "An error response from the API.",
  "properties": {
    "error": {
      "type": "string",
      "description": "The error message"
    },
    "code": {
      "type": "string",
      "description": "The error code for the error message"
    }
  },
  "required": [
    "error"
  ]
}