Error Response Format
All API errors return a consistent JSON structure with anerror object:
Error Object Fields
| Field | Description |
|---|---|
message | Human-readable error message (safe to display to users) |
type | General error category |
code | Specific error code |
param | The parameter that caused the error (if applicable) |
Error Types
invalid_request_error
Your request has invalid parameters or is malformed.
Common causes:
- Missing required parameters
- Invalid parameter values
- Unknown parameters (typos)
- Incorrectly formatted data
authentication_error
Issues with your API key or authentication.
Common causes:
- No API key provided
- Invalid API key
- API key has been revoked
- Logged out session (dashboard use)
payment_error
Issues with account billing or payment.
Common causes:
- Insufficient account balance
- Payment method issues
- Account billing problems
rate_limited
Too many requests in a short time period.
Solution: Implement exponential backoff and retry logic.
internal_error
Something went wrong on Intelliprint’s servers.
Solution: Retry the request. If persists, contact support.
Error Codes
Parameter Errors
parameter_invalid
A parameter has an invalid value.
parameter_missing
A required parameter is missing.
parameter_unknown
An unknown parameter was provided (likely a typo).
Authentication Errors
no_api_key
No API key was provided.
invalid_api_key
The provided API key is invalid or has been revoked.
Data Errors
body_too_large
Request body exceeds size limits.
body_incorrect_format
Request body format is invalid (not valid JSON or multipart/form-data).
Resource Errors
not_found
The requested resource doesn’t exist.
forbidden
You don’t have permission to access this resource.
Rate Limiting
rate_limited
Too many requests in a short period.
Payment Errors
payment_error
Issues with account billing or balance.
Error Handling Best Practices
Comprehensive Error Handler
Retry Logic
Common Issues
'parameter_unknown: testmood'
'parameter_unknown: testmood'
Error:
Received unknown parameter: testmood (Did you mean testmode?)Cause: Typo in parameter nameSolution: Check spelling - it’s testmode not testmoodNo print job created but no error
No print job created but no error
Issue: API returns success but nothing appearsCause: Created as unconfirmed draftSolution: Set
confirmed: true to submit for printingAddress not showing in envelope window
Address not showing in envelope window
Issue: Address doesn’t appear in envelope windowCauses:
- Using dynamic addresses with wrong settings
- Address positioned incorrectly in PDF
- Wrong envelope window side selected
- Check address positioning (20mm from left, 45mm from top)
- Use
nudgeparameter for fine-tuning - Verify
address_windowsetting (left/right)
Cost values seem wrong
Cost values seem wrong
Issue: Cost shows as £54,000,000Cause: Not converting from 8-decimal precisionSolution: Divide by 100,000,000Learn more →
Cannot cancel print job
Cannot cancel print job
Issue: Cancellation fails or only partially succeedsCauses:
- Letters already in
printingstatus - Letters already
shipped
Debugging Tips
1. Enable Detailed Logging
2. Test with Minimal Example
Start with the simplest possible request:3. Check API Response Status
4. Use Test Mode
Always test withtestmode: true first:
Getting Help
If you’re still experiencing issues:- Check API Reference: docs.intelliprint.net/api
- Review Examples: Check our quickstart guides
- Contact Support: Email [email protected] with:
- Error message and code
- Request details (sanitized)
- Expected vs actual behaviour
- Print job ID (if applicable)
Contact Support
We’re here to help! Email [email protected] with any questions

