Error Handling
How to handle errors across the Jockey API.
Error Response Format
All errors follow the same shape:
HTTP Status Codes
Retry Strategy
Common Errors by Endpoint
Assets
Knowledge Stores
Knowledge Store Items
Responses
Polling and Async Status
Jockey processes content asynchronously. Any time you create an asset or add a video to a knowledge store, processing happens in the background. You must poll for completion before proceeding.
Polling Helper
Usage
Recommended Intervals
Batch Polling
Wait for multiple resources in parallel:
Polling Pitfalls
- Don’t poll too aggressively - 1-second intervals waste rate limit budget
- Always handle
failed- failed resources don’t recover - Set a timeout - don’t poll forever if something goes wrong
- Webhooks not available yet - polling is the only option in Private Beta
Jupyter notebook
Download the notebook to run through error handling patterns interactively.