HubSpot · JSON Structure

Source Code Api Validation Error Structure

A validation error

Type: object Properties: 4 Required: 2
AnalyticsCommerceContentCRMCustomer ServiceEmail MarketingMarketingMarketing AutomationOperationsSales

ValidationError is a JSON Structure definition published by HubSpot, describing 4 properties, of which 2 are required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

message line column category

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/hubspot/refs/heads/main/json-structure/source-code-api-validation-error-structure.json",
  "name": "ValidationError",
  "description": "A validation error",
  "type": "object",
  "properties": {
    "message": {
      "type": "string",
      "description": "Error description",
      "example": "Syntax error: unexpected end of template"
    },
    "line": {
      "type": "int32",
      "description": "Line number where the error occurred",
      "example": 42
    },
    "column": {
      "type": "int32",
      "description": "Column number where the error occurred",
      "example": 15
    },
    "category": {
      "type": "string",
      "description": "Error category",
      "example": "HUBL_SYNTAX"
    }
  },
  "required": [
    "message",
    "line"
  ]
}