MISSING_API_KEY | 401 | No Authorization header in the request | Add Authorization: Bearer YOUR_KEY header |
INVALID_API_KEY | 401 | The API key was not found in the database | Check that you copied the full key correctly |
INACTIVE_API_KEY | 401 | The key exists but has been deactivated | Contact support or create a new key in your dashboard |
RATE_LIMIT_EXCEEDED | 429 | Monthly API call limit reached | Wait for the next billing period or upgrade your plan |
INVALID_NICHE | 400 | Niche ID doesn’t exist or isn’t on your plan | Call GET /api/v1/niches to see available niches |
INVALID_IMAGE | 400 | Image could not be decoded | Ensure the image is a valid JPEG, PNG, or WebP |
IMAGE_TOO_LARGE | 400 | Image exceeds 10MB | Resize or compress the image before sending |
MISSING_REQUIRED_FIELD | 400 | A required parameter is missing | Check the endpoint docs for required fields |
INVALID_DIMENSIONS | 400 | Width or height outside valid range | Dimensions must be between 10 and 1000 cm |
PROCESSING_ERROR | 500 | Internal error during pattern generation | Retry the request. If persistent, contact support |