Overview
Effective error handling ensures your integration with Alto Health is reliable and provides clear feedback when issues occur. This guide covers common errors, their causes, and how to resolve them.HTTP Status Codes
Alto Health uses standard HTTP status codes to indicate the success or failure of API requests:200 OK
200 OK
Request succeeded. The response body contains the requested data.When you’ll see this: Successful document uploads, extraction requests, and job status checks.
400 Bad Request
400 Bad Request
The request was malformed or missing required parameters.Common causes:
- Missing required fields
- Invalid data format
- Invalid entity type
- Malformed JSON
401 Unauthorized
401 Unauthorized
403 Forbidden
403 Forbidden
The request is valid but you don’t have permission to perform this action.Common causes:
- API key has been revoked
- Attempting to access another organization’s resources
- Insufficient permissions
404 Not Found
404 Not Found
The requested resource doesn’t exist.Common causes:
- Invalid job ID
- Record has been deleted
- Incorrect API endpoint URL
429 Too Many Requests
429 Too Many Requests
You’ve exceeded the rate limit.Rate limits:
- Document Upload: 100 requests/minute
- Entity Extraction: 50 requests/minute
- Job Status: 300 requests/minute
retry_after header.500 Internal Server Error
500 Internal Server Error
An unexpected error occurred on the server.Common causes:
- Temporary server issue
- Service degradation
- Bug in API
503 Service Unavailable
503 Service Unavailable
