HubSpot · Schema

Error

Standard error response

AnalyticsCommerceContentCRMCustomer ServiceEmail MarketingMarketingMarketing AutomationSales

Properties

Name Type Description
category string Error category
correlationId string Unique identifier for error tracking
message string Human-readable error message
subCategory string Specific error subcategory
context object Additional error context
links object Links to relevant documentation
errors array Detailed error information
View JSON Schema on GitHub

JSON Schema

hubspot-source-code-error-schema.json Raw ↑
{
  "type": "object",
  "description": "Standard error response",
  "properties": {
    "category": {
      "type": "string",
      "description": "Error category",
      "example": "VALIDATION_ERROR"
    },
    "correlationId": {
      "type": "string",
      "description": "Unique identifier for error tracking",
      "format": "uuid",
      "example": "aeb5f871-7f07-4993-9211-075dc63e7cbf"
    },
    "message": {
      "type": "string",
      "description": "Human-readable error message",
      "example": "Invalid input (details will vary based on the error)"
    },
    "subCategory": {
      "type": "string",
      "description": "Specific error subcategory",
      "example": "standard"
    },
    "context": {
      "type": "object",
      "description": "Additional error context",
      "example": {
        "missingScopes": [
          "scope1",
          "scope2"
        ],
        "invalidPropertyName": [
          "propertyValue"
        ]
      }
    },
    "links": {
      "type": "object",
      "description": "Links to relevant documentation",
      "example": {
        "knowledge-base": "https://www.hubspot.com/products/service/knowledge-base"
      }
    },
    "errors": {
      "type": "array",
      "description": "Detailed error information",
      "example": [
        {
          "message": "Required property 'path' is missing",
          "code": "MISSING_REQUIRED_PROPERTY",
          "subCategory": "standard",
          "in": "body",
          "context": {
            "missingScopes": [
              "scope1",
              "scope2"
            ]
          }
        }
      ],
      "items": {
        "type": "object",
        "description": "Detailed error information",
        "properties": {
          "message": {
            "type": "string",
            "description": "Error message",
            "example": "Required property 'path' is missing"
          },
          "code": {
            "type": "string",
            "description": "Error code",
            "example": "MISSING_REQUIRED_PROPERTY"
          },
          "subCategory": {
            "type": "string",
            "description": "Error subcategory",
            "example": "standard"
          },
          "in": {
            "type": "string",
            "description": "Location of the error",
            "example": "body"
          },
          "context": {
            "type": "object",
            "description": "Additional context",
            "example": {
              "missingScopes": [
                "scope1",
                "scope2"
              ]
            }
          }
        },
        "required": [
          "message"
        ]
      }
    }
  },
  "required": [
    "category",
    "correlationId",
    "message"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Error"
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/hubspot-source-code-error"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.