Common Error Types
ValidationError
Occurs when request parameters are invalid or missing.- Missing required fields
- Invalid language codes
- Malformed request body
- Invalid parameter values
- Check all required fields are provided
- Validate language codes against Get Options
- Ensure request body is valid JSON
UnauthorizedError
Occurs when authentication fails.- Missing Authorization header
- Invalid API key
- Expired API key
- Wrong API key for the environment
- Include
Authorization: Bearer YOUR_API_KEY
header - Verify your API key is correct and active
- Generate a new API key if needed
PaymentRequiredError
Occurs when there’s insufficient balance or subscription access is required.- Account balance too low
- Feature requires active subscription
- Plan limits exceeded
- Check balance with Get Balance
- Top up your account
- Upgrade your subscription plan
VideoInfoError
Occurs when there are issues with the provided video.- Invalid video URL
- Video file corrupted or inaccessible
- Unsupported video format
- Video too large or too long
- Verify video URL is accessible
- Check video format is supported
- Ensure video meets size/duration limits
NotFoundError
Occurs when a requested resource doesn’t exist.- Invalid project ID
- Resource was deleted
- Wrong endpoint URL
- Verify the resource ID is correct
- Check if the resource was deleted
- Ensure you’re using the correct endpoint