API Error Handling
Handles and resolves AI Content Drop API errors with intelligent retry logic, rate limit throttling, and idempotency management.
The API Error Handling skill equips Claude with precise diagnostic and recovery strategies for the AI Content Drop API. It parses machine-readable error envelopes across 21 specific error codes, distinguishing between fatal request bugs, necessary user actions, and transient faults suitable for retry. By factoring in HTTP rate-limit headers, Retry-After delays, sandbox validation, and 24-hour idempotency keys, this skill prevents double spending and eliminates unneeded delays when integrating video and image generation endpoints.
主な機能
01Manages request pacing using RateLimit headers and exact Retry-After backoff delays
02Parses 21 machine-readable error codes into actionable retry, fix, or user-action workflows
03Prevents duplicate spending on network retries using 24-hour retention idempotency keys
040 GitHub stars
05Normalizes legacy string and standard JSON error response envelopes across generation endpoints
06Pre-validates generation payloads at zero cost using sandbox mode headers
ユースケース
01Validating complex generation parameters against sandbox endpoints without consuming credits
02Implementing resilient retry loops and backoff strategies for video generation pipelines
03Diagnosing and correcting 4xx client errors and 5xx upstream provider failures