Error Response Format
All API errors follow a consistent format:Error Codes Reference
MISSING_API_KEY
HTTP Status: 401 TheX-API-Key header was not included in the request.
X-API-Key header to your request:
INVALID_API_KEY
HTTP Status: 401 The provided API key does not exist or has been revoked.- Verify your API key is correct (no extra whitespace)
- Check if the key was deleted in the API Keys dashboard
- Generate a new key if needed
INVALID_INPUT
HTTP Status: 400 The request body failed validation.urlis missing or not a valid URL (must includehttps://)goalis empty or missingbrowser_profileis not “lite” or “stealth”proxy_config.country_codeis not a supported 2-letter code
details field for specific validation errors.
RATE_LIMIT_EXCEEDED
HTTP Status: 429 Too many requests in a short period.- Implement exponential backoff in your code
- Space out requests (recommended: 1-2 seconds between calls)
- Use batch endpoints for high-volume workloads
- Contact support for higher rate limits
UNAUTHORIZED
HTTP Status: 401 Authentication failed for a reason other than missing/invalid key.- Check your account status at mino.ai/api-keys
- Verify your API key hasn’t expired
- Try generating a new API key
FORBIDDEN
HTTP Status: 403 Authentication succeeded, but you lack permission for this action.- No remaining credits
- Subscription has expired
- Attempting to access a resource you don’t own
NOT_FOUND
HTTP Status: 404 The requested resource does not exist.- Invalid
run_idinGET /v1/runs/:id - Run was deleted or never existed
- Typo in the run ID
/v1/automation/run-async or can be listed via GET /v1/runs.
INTERNAL_ERROR
HTTP Status: 500 An unexpected error occurred on the server.- Retry the request after a brief delay
- If the error persists, check status.mino.ai for outages
- Contact support with your request details and timestamp
Run Status vs Error Codes
Error codes indicate API-level failures (authentication, validation, server errors).For automation-level failures (browser crashed, goal couldn’t be achieved), check the
status and error fields in the run response. See Understanding Run Status.HTTP Status Code Summary
| Status | Meaning | Error Codes |
|---|---|---|
| 400 | Bad Request | INVALID_INPUT |
| 401 | Unauthorized | MISSING_API_KEY, INVALID_API_KEY, UNAUTHORIZED |
| 403 | Forbidden | FORBIDDEN |
| 404 | Not Found | NOT_FOUND |
| 429 | Too Many Requests | RATE_LIMIT_EXCEEDED |
| 500 | Server Error | INTERNAL_ERROR |