HubSpot · JSON Structure

Hubspot Crm Associations Standard Error Structure

Standard error in batch operations

Type: object Properties: 7 Required: 3
AnalyticsCommerceContentCRMCustomer ServiceEmail MarketingMarketingMarketing AutomationOperationsSales

StandardError is a JSON Structure definition published by HubSpot, describing 7 properties, of which 3 are required. It conforms to the https://json-structure.org/draft/2020-12/schema meta-schema.

Properties

status id category message errors context links

Meta-schema: https://json-structure.org/draft/2020-12/schema

JSON Structure

Raw ↑
{
  "type": "object",
  "description": "Standard error in batch operations",
  "name": "StandardError",
  "properties": {
    "status": {
      "type": "string"
    },
    "id": {
      "type": "string"
    },
    "category": {
      "type": "string"
    },
    "message": {
      "type": "string"
    },
    "errors": {
      "type": "array",
      "items": {
        "type": "object",
        "description": "Details about a specific error",
        "properties": {
          "message": {
            "type": "string"
          },
          "code": {
            "type": "string"
          },
          "subCategory": {
            "type": "string"
          },
          "in": {
            "type": "string"
          },
          "context": {
            "type": "object"
          }
        },
        "required": [
          "message"
        ]
      }
    },
    "context": {
      "type": "object"
    },
    "links": {
      "type": "object"
    }
  },
  "required": [
    "status",
    "category",
    "message"
  ],
  "$schema": "https://json-structure.org/draft/2020-12/schema"
}