JU

juicebox-common-errors

Provides diagnostic procedures to identify and fix common Juicebox API errors like quota exhaustion or invalid queries.

Install

mkdir -p .claude/skills/juicebox-common-errors && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/5961" && unzip -o skill.zip -d .claude/skills/juicebox-common-errors && rm skill.zip

Installs to .claude/skills/juicebox-common-errors

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

Diagnose and fix Juicebox API errors.
37 charsno explicit “when” trigger
Beginner

Key capabilities

  • Classify Juicebox API errors by category
  • Validate API connectivity and key status
  • Implement exponential backoff for rate-limited requests
  • Format datasets for CSV upload
  • Debug authentication and quota issues

How it works

It maps HTTP status codes to specific error categories like auth, rate_limit, or timeout, and provides recovery strategies for common API failures.

Inputs & outputs

You give it
HTTP status code and response body
You get back
Classified error object with category and message

When to use juicebox-common-errors

  • Resolve 403 quota exceeded errors
  • Debug dataset upload failures
  • Troubleshoot 401 unauthorized API key issues
  • Validate search query format

About this skill

Juicebox Common Errors

Overview

Juicebox provides AI-powered people search and analysis for recruiting and research workflows. API integrations cover search queries, profile enrichment, dataset operations, and quota management. Common errors include dataset format mismatches when uploading CSVs, analysis timeouts on large candidate pools, and quota exhaustion on free or starter plans. The quota system counts individual profile enrichments separately from search queries, which often surprises new integrators. This reference covers HTTP errors, business logic failures, and recovery strategies for reliable Juicebox integrations.

Error Reference

CodeMessageCauseFix
400Invalid query formatMalformed search query or empty filtersEnsure query is non-empty; validate filter field names
401invalid_api_keyAPI key missing or revokedVerify key at app.juicebox.ai > Settings > API
403quota_exceededPlan search limit reachedCheck quota in dashboard; upgrade plan or wait for reset
404Profile not foundCandidate removed or profile unavailableRe-run search to find updated profile data
408Analysis timeoutComplex query exceeded 60s limitReduce dataset size or narrow search filters
413Dataset too largeUpload exceeds 50MB or 100K row limitSplit dataset into smaller chunks before upload
422Invalid dataset formatCSV headers don't match expected schemaUse template from Juicebox docs; required: name, title, company
429Rate limitedExceeded 30 requests/minuteCheck Retry-After header; implement exponential backoff

Error Handler

interface JuiceboxError {
  code: number;
  message: string;
  category: "auth" | "rate_limit" | "validation" | "timeout";
}

function classifyJuiceboxError(status: number, body: string): JuiceboxError {
  if (status === 401 || status === 403) {
    return { code: status, message: body, category: "auth" };
  }
  if (status === 429) {
    return { code: 429, message: "Rate limited", category: "rate_limit" };
  }
  if (status === 408) {
    return { code: 408, message: body, category: "timeout" };
  }
  return { code: status, message: body, category: "validation" };
}

Debugging Guide

Authentication Errors

Juicebox API keys are passed via Authorization: Bearer header. Keys are scoped per workspace. If you receive 401, verify the key has not been rotated at app.juicebox.ai > Settings. A 403 indicates quota exhaustion, not a permissions issue -- check your plan's remaining searches.

Rate Limit Errors

The API enforces 30 requests/minute per key. Batch profile enrichment calls where possible. Use the Retry-After response header to determine wait time. For bulk operations, use the dataset upload endpoint instead of individual search queries.

Validation Errors

Dataset uploads require CSV format with headers matching the Juicebox schema: name, title, company are required columns. Optional enrichment columns include email, linkedin_url, and location. Files over 50MB or 100K rows are rejected -- split into chunks. Analysis queries that exceed 60 seconds timeout with 408; narrow filters by adding location, title, or company constraints to reduce result set size.

Error Handling

ScenarioPatternRecovery
Quota exceeded mid-batch403 after N successful callsTrack remaining quota via response headers; pause and resume
Dataset upload rejectedInvalid CSV formatDownload template, reformat, and retry
Analysis timeoutLarge candidate poolAdd location/title/company filters to narrow scope
Profile data stale404 on enrichmentRe-run search query to get current profile URLs
Rate limit during bulk search429 on sequential callsSwitch to dataset upload for bulk operations

Quick Diagnostic

# Verify API connectivity and key validity
curl -s -o /dev/null -w "%{http_code}" \
  -H "Authorization: Bearer $JUICEBOX_API_KEY" \
  https://api.juicebox.ai/v1/health

Resources

Next Steps

See juicebox-debug-bundle.

When not to use it

  • When uploading datasets exceeding 50MB or 100K rows
  • When performing analysis queries that exceed 60 seconds

Limitations

  • API enforces 30 requests per minute per key
  • Analysis queries timeout after 60 seconds
  • Dataset uploads limited to 50MB or 100K rows

How it compares

This provides a centralized error classification logic rather than handling raw HTTP codes individually throughout the codebase.

Compared to similar skills

juicebox-common-errors side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
juicebox-common-errors (this skill)127dReviewBeginner
appfolio-common-errors027dReviewIntermediate
fastapi-templates5202moNo flagsIntermediate
fastapi-pro794moNo flagsAdvanced

Try saying

Example prompts that trigger this skill in your AI assistant.

More by jeremylongshore

View all by jeremylongshore

analyzing-logs

jeremylongshore

Analyze application logs to detect performance issues, identify error patterns, and improve stability by extracting key insights.

14123

ollama-setup

jeremylongshore

Configure auto-configure Ollama when user needs local LLM deployment, free AI alternatives, or wants to eliminate hosted API costs. Trigger phrases: "install ollama", "local AI", "free LLM", "self-hosted AI", "replace OpenAI", "no API costs". Use when appropriate context detected. Trigger with relevant phrases based on skill purpose.

1167

backtesting-trading-strategies

jeremylongshore

Backtest crypto and traditional trading strategies against historical data. Calculates performance metrics (Sharpe, Sortino, max drawdown), generates equity curves, and optimizes strategy parameters. Use when user wants to test a trading strategy, validate signals, or compare approaches. Trigger with phrases like "backtest strategy", "test trading strategy", "historical performance", "simulate trades", "optimize parameters", or "validate signals".

1071

generating-database-seed-data

jeremylongshore

Process this skill enables AI assistant to generate realistic test data and database seed scripts for development and testing environments. it uses faker libraries to create realistic data, maintains relational integrity, and allows configurable data volumes. u... Use when working with databases or data models. Trigger with phrases like 'database', 'query', or 'schema'.

1033

cursor-codebase-indexing

jeremylongshore

Execute set up and optimize Cursor codebase indexing. Triggers on "cursor index setup", "codebase indexing", "index codebase", "cursor semantic search". Use when working with cursor codebase indexing functionality. Trigger with phrases like "cursor codebase indexing", "cursor indexing", "cursor".

885

testing-mobile-apps

jeremylongshore

Execute mobile app testing on iOS and Android devices/simulators. Use when performing specialized testing. Trigger with phrases like "test mobile app", "run iOS tests", or "validate Android functionality".

810

Search skills

Search the agent skills registry