Mailchimp · Schema

Error

A standard error response from the Mandrill API.

CampaignsEmail MarketingMarketing AutomationNewslettersTransactional EmailAudience ManagementSMSE-CommerceWebhookMarketing Analytics

Properties

Name Type Description
status string Always "error" for error responses.
code integer The numeric error code.
name string The name/type of the error (e.g., Invalid_Key, ValidationError).
message string A human-readable description of the error.
View JSON Schema on GitHub

JSON Schema

mailchimp-error-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/Error",
  "title": "Error",
  "type": "object",
  "description": "A standard error response from the Mandrill API.",
  "properties": {
    "status": {
      "type": "string",
      "enum": [
        "error"
      ],
      "description": "Always \"error\" for error responses.",
      "example": "error"
    },
    "code": {
      "type": "integer",
      "description": "The numeric error code.",
      "example": 10
    },
    "name": {
      "type": "string",
      "description": "The name/type of the error (e.g., Invalid_Key, ValidationError).",
      "example": "Example Title"
    },
    "message": {
      "type": "string",
      "description": "A human-readable description of the error.",
      "example": "example_value"
    }
  }
}