Discord · Schema

Error

A single error, either for an API response or a specific field.

ChatCommunicationGamingMessagingSocialVideoVoice

Properties

Name Type Description
code integer Discord internal error code. See error code reference
message string Human-readable error message
View JSON Schema on GitHub

JSON Schema

discord-error-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/Error",
  "title": "Error",
  "type": "object",
  "description": "A single error, either for an API response or a specific field.",
  "properties": {
    "code": {
      "type": "integer",
      "description": "Discord internal error code. See error code reference"
    },
    "message": {
      "type": "string",
      "description": "Human-readable error message"
    }
  },
  "required": [
    "code",
    "message"
  ]
}