hubspot-common-errors

Featured

Diagnose and fix common HubSpot API errors with real error responses. Use when encountering HubSpot errors, debugging failed API requests, or troubleshooting integration issues with specific HTTP status codes. Trigger with phrases like "hubspot error", "fix hubspot", "hubspot 401", "hubspot 429", "hubspot not working", "debug hubspot API".

AI & Automation 2,944 stars 440 forks Updated today MIT

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# HubSpot Common Errors ## Overview Quick reference for the most common HubSpot API errors, their real error response bodies, and solutions. ## Prerequisites - `@hubspot/api-client` installed - API credentials configured - Access to application logs ## Instructions ### Step 1: Identify the Error Check the HTTP status code and response body. HubSpot returns structured errors: ```json { "status": "error", "message": "One or more validation errors occurred", "correlationId": "abc123-def456", "category": "VALIDATION_ERROR", "errors": [ { "message": "Property values were not valid: [{\"isValid\":false,\"message\":\"...\"}]", "context": { "propertyName": "email" } } ] } ``` ### Step 2: Match and Fix --- ### 401 Unauthorized **Real response:** ```json { "status": "error", "message": "Authentication credentials not found. This API supports OAuth 2.0 authentication and you can find more details at https://developers.hubspot.com/docs/methods/auth/oauth-overview", "correlationId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890", "category": "INVALID_AUTHENTICATION" } ``` **Causes:** - Missing `Authorization: Bearer` header - Expired OAuth access token (30-minute TTL) - Revoked or regenerated private app token **Fix:** ```bash # Verify token is set and valid curl -s https://api.hubapi.com/crm/v3/objects/contacts?limit=1 \ -H "Authorization: Bearer $HUBSPOT_ACCESS_TOKEN" | jq .status # Should return null (success) or "error" ``` --- ### 403...

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
1 years ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category