HubSpot · Schema

StandardError

Standard error in batch operations

AnalyticsCommerceContentCRMCustomer ServiceEmail MarketingMarketingMarketing AutomationOperationsSales

Properties

Name Type Description
status string
id string
category string
message string
errors array
context object
links object
View JSON Schema on GitHub

JSON Schema

hubspot-crm-associations-standard-error-schema.json Raw ↑
{
  "type": "object",
  "description": "Standard error in batch operations",
  "properties": {
    "status": {
      "type": "string",
      "example": "active"
    },
    "id": {
      "type": "string",
      "example": "500123"
    },
    "category": {
      "type": "string",
      "example": "standard"
    },
    "message": {
      "type": "string",
      "example": "This is an example description."
    },
    "errors": {
      "type": "array",
      "example": [
        {
          "message": "This is an example description.",
          "code": "example-value",
          "subCategory": "standard",
          "in": "example-value",
          "context": {
            "key": "value"
          }
        }
      ],
      "items": {
        "type": "object",
        "description": "Details about a specific error",
        "properties": {
          "message": {
            "type": "string",
            "example": "This is an example description."
          },
          "code": {
            "type": "string",
            "example": "example-value"
          },
          "subCategory": {
            "type": "string",
            "example": "standard"
          },
          "in": {
            "type": "string",
            "example": "example-value"
          },
          "context": {
            "type": "object",
            "example": {
              "key": "value"
            }
          }
        },
        "required": [
          "message"
        ]
      }
    },
    "context": {
      "type": "object",
      "example": {
        "key": "value"
      }
    },
    "links": {
      "type": "object",
      "example": {
        "key": "value"
      }
    }
  },
  "required": [
    "status",
    "category",
    "message"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "StandardError"
}