HubSpot · Schema

Error

Represents an error response from the API

AnalyticsCommerceContentCRMCustomer ServiceEmail MarketingMarketingMarketing AutomationSales

Properties

Name Type Description
category string The error category
correlationId string Unique identifier for the request, useful for debugging
message string Human-readable error message
subCategory string More specific error classification
context object Additional context about the error
links object Helpful links related to the error
errors array List of detailed error information
View JSON Schema on GitHub

JSON Schema

hubspot-crm-feature-flags-error-schema.json Raw ↑
{
  "type": "object",
  "description": "Represents an error response from the API",
  "properties": {
    "category": {
      "type": "string",
      "description": "The error category",
      "example": "VALIDATION_ERROR"
    },
    "correlationId": {
      "type": "string",
      "description": "Unique identifier for the request, useful for debugging",
      "format": "uuid",
      "example": "aeb5f871-7f07-4993-9211-075dc63e7cbf"
    },
    "message": {
      "type": "string",
      "description": "Human-readable error message",
      "example": "Invalid input JSON"
    },
    "subCategory": {
      "type": "string",
      "description": "More specific error classification",
      "example": "INVALID_PARAMETER"
    },
    "context": {
      "type": "object",
      "description": "Additional context about the error",
      "example": {
        "key": "value"
      }
    },
    "links": {
      "type": "object",
      "description": "Helpful links related to the error",
      "example": {
        "key": "value"
      }
    },
    "errors": {
      "type": "array",
      "description": "List of detailed error information",
      "example": [
        {
          "message": "flagState is required",
          "code": "REQUIRED_FIELD",
          "subCategory": "MISSING_FIELD",
          "in": "body",
          "context": {
            "key": "value"
          }
        }
      ],
      "items": {
        "type": "object",
        "description": "Detailed error information for specific validation failures",
        "properties": {
          "message": {
            "type": "string",
            "description": "Specific error message",
            "example": "flagState is required"
          },
          "code": {
            "type": "string",
            "description": "Error code",
            "example": "REQUIRED_FIELD"
          },
          "subCategory": {
            "type": "string",
            "description": "Error sub-category",
            "example": "MISSING_FIELD"
          },
          "in": {
            "type": "string",
            "description": "Location of the error (e.g., path, body, query)",
            "example": "body"
          },
          "context": {
            "type": "object",
            "description": "Additional context for the error",
            "example": {
              "key": "value"
            }
          }
        },
        "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-crm-feature-flags-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.