klaviyo-common-errors

Featured

Diagnose and fix common Klaviyo API errors and exceptions. Use when encountering Klaviyo 4xx/5xx errors, debugging failed requests, or troubleshooting SDK integration issues. Trigger with phrases like "klaviyo error", "fix klaviyo", "klaviyo not working", "debug klaviyo", "klaviyo 400", "klaviyo 429".

AI & Automation 2,266 stars 315 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

# Klaviyo Common Errors ## Overview Quick reference for the most common Klaviyo API errors with real error payloads, root causes, and solutions. ## Prerequisites - `klaviyo-api` SDK installed - API credentials configured - Access to application logs ## Instructions ### Step 1: Identify the Error Klaviyo returns JSON:API error responses. Extract the status code and error detail: ```typescript try { await profilesApi.createProfile(payload); } catch (error: any) { console.error('Status:', error.status); console.error('Errors:', JSON.stringify(error.body?.errors, null, 2)); // error.body.errors[] has: { id, code, title, detail, source } } ``` ### Step 2: Match and Fix --- ### 400 -- Bad Request (Validation Error) **Actual Klaviyo response:** ```json { "errors": [{ "id": "abc-123", "code": "invalid", "title": "Invalid input.", "detail": "The email field is required.", "source": { "pointer": "/data/attributes/email" } }] } ``` **Common causes:** - Missing required field (email, metric name, list name) - Invalid phone number format (must be E.164: `+15551234567`) - Invalid filter syntax in query params - Wrong `type` value in JSON:API payload - Sending `snake_case` instead of `camelCase` (SDK uses camelCase) **Fix:** ```typescript // Wrong: snake_case { first_name: 'Jane', phone_number: '+155...' } // Right: camelCase (SDK convention) { firstName: 'Jane', phoneNumber: '+15551234567' } ``` --- ### 401 -- Unauthorized **Actual response...

Details

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

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Featured

customerio-common-errors

Diagnose and fix Customer.io common errors. Use when troubleshooting API errors, delivery failures, campaign issues, or SDK exceptions. Trigger: "customer.io error", "customer.io not working", "debug customer.io", "customer.io 401", "customer.io 429".

2,266 Updated today
jeremylongshore
AI & Automation Featured

shopify-common-errors

Diagnose and fix common Shopify API errors including 401, 403, 422, 429, and GraphQL errors. Use when encountering Shopify errors, debugging failed requests, or troubleshooting integration issues. Trigger with phrases like "shopify error", "fix shopify", "shopify not working", "debug shopify", "shopify 422".

2,266 Updated today
jeremylongshore
AI & Automation Featured

klingai-common-errors

Diagnose and fix common Kling AI API errors. Use when troubleshooting failed video generation or API issues. Trigger with phrases like 'kling ai error', 'klingai not working', 'fix klingai', 'klingai failed'.

2,266 Updated today
jeremylongshore
AI & Automation Featured

hubspot-common-errors

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".

2,266 Updated today
jeremylongshore
AI & Automation Featured

salesloft-common-errors

Diagnose and fix SalesLoft API errors: 401, 403, 422, 429, and 5xx. Use when encountering SalesLoft errors, debugging failed requests, or troubleshooting OAuth token issues. Trigger: "salesloft error", "fix salesloft", "salesloft not working", "salesloft 429".

2,266 Updated today
jeremylongshore