Common Error Responses
Authentication Errors
Authentication Errors
Learn more about authentication errors
Template Required
list_templates first, then provide a template_id in your request.
Template Required
Learn how to handle template requirements
Credit/Quota Exceeded
https://app.poesius.com.
Generation Failed
- Check document format is supported (PDF, DOCX, TXT, MD)
- Verify document is not corrupted
- Try with simpler instructions
- Check document size (keep under 50MB)
- Contact support if issue persists
Invalid File Type
- Ensure you’re uploading a PowerPoint template file (.pptx or .ppt)
- Check file extension matches the actual file type
- Re-save the file in PowerPoint format if needed
File Too Large
- Reduce file size by compressing images
- Remove unnecessary content
- Split large documents into smaller files
- Use document optimization tools
Template Not Found
- Verify the template ID is correct
- Check that the template belongs to your account
- List templates to see available template IDs
- Ensure the template hasn’t been deleted
Rate Limit Exceeded
- Wait for the specified time before retrying
- Check your subscription tier limits
- Implement exponential backoff in your code
- Consider upgrading your plan for higher limits
Status Polling
When using async endpoints, poll the status endpoint properly:Status Polling
Learn about proper status polling
Best Practices
- Always Check Status: Don’t assume generation succeeded
- Handle Timeouts: Set maximum wait times for async operations
- Retry Logic: Implement retry logic for transient errors
- Error Logging: Log errors for debugging
- User Feedback: Provide clear error messages to users
Error Codes
| Code | Description | Solution |
|---|---|---|
AUTH_REQUIRED | Authentication missing or invalid | Check API key/token |
TEMPLATE_REQUIRED | Template not provided and no default | Provide template_id |
CREDITS_EXHAUSTED | Account credits depleted | Check account limits in web app |
INVALID_DOCUMENT | Document format not supported | Use supported formats (PDF, DOCX, TXT, MD) |
GENERATION_FAILED | Content generation error | Check document and retry |
RATE_LIMIT_EXCEEDED | Too many requests | Wait and retry after retry_after seconds |
INVALID_FILE_TYPE | File type not allowed | Use .pptx or .ppt for templates |
FILE_TOO_LARGE | File exceeds size limit | Reduce file size (max 50MB) |
TEMPLATE_NOT_FOUND | Template ID doesn’t exist | Verify template ID |
UNAUTHORIZED_ACCESS | Access denied to resource | Check resource ownership |
Authentication Errors
Detailed authentication error handling

