Documentation Index
Fetch the complete documentation index at: https://docs.dualentry.com/llms.txt
Use this file to discover all available pages before exploring further.
Error Handling
The API uses standard HTTP status codes and returns errors in a consistent JSON format.HTTP Status Codes
| Status Code | Meaning |
|---|---|
| 200 | Success |
| 201 | Resource created successfully |
| 400 | Bad request (malformed request) |
| 401 | Missing API key |
| 403 | Invalid or revoked API key |
| 404 | Resource not found |
| 422 | Validation error |
| 429 | Rate limit exceeded |
| 500 | Server error |
| 503 | Service unavailable |
Error Response Format
All errors follow this structure:errors.__all__: General errors not specific to a fielderrors.<field_name>: Errors specific to a particular field
Common Errors
Authentication Error (403)
Validation Error (422)
Not Found (404)
Rate Limit Exceeded (429)
Handling Errors
Best Practices:
- Always check HTTP status codes
- Parse the
errorsobject for field-specific details - Implement retry logic for rate limits (429) and server errors (5xx)
- Log error responses for debugging
Example
Next: Explore the API Reference →
