HubSpot · JSON Structure

Hubspot Authors Error Detail Structure

Detailed information about a specific error

Type: object Properties: 5 Required: 1
AnalyticsCommerceContentCRMCustomer ServiceEmail MarketingMarketingMarketing AutomationOperationsSales

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

Properties

message code subCategory in context

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

JSON Structure

Raw ↑
{
  "type": "object",
  "description": "Detailed information about a specific error",
  "name": "ErrorDetail",
  "properties": {
    "message": {
      "type": "string",
      "description": "Human-readable error message"
    },
    "code": {
      "type": "string",
      "description": "Machine-readable error code"
    },
    "subCategory": {
      "type": "string",
      "description": "Specific error subcategory"
    },
    "in": {
      "type": "string",
      "description": "Location where the error occurred"
    },
    "context": {
      "type": "object",
      "description": "Additional context about the error"
    }
  },
  "required": [
    "message"
  ],
  "$schema": "https://json-structure.org/draft/2020-12/schema"
}