Error Codes
The Voyager API uses standard HTTP status codes and returns detailed error messages to help you understand what went wrong.HTTP Status Codes
| Code | Status | Description |
|---|---|---|
| 200 | OK | Request succeeded |
| 201 | Created | Resource created successfully |
| 204 | No Content | Request succeeded, no response body |
| 400 | Bad Request | Invalid request parameters |
| 401 | Unauthorized | Authentication required or invalid |
| 403 | Forbidden | Insufficient permissions |
| 404 | Not Found | Resource not found |
| 429 | Too Many Requests | Rate limit exceeded |
| 500 | Internal Server Error | Server error |
Error Response Format
All error responses follow this format:Common Errors
400 Bad Request
Invalid request parameters or malformed request body. Example:- Invalid UUID format
- Missing required fields
- Invalid parameter values
401 Unauthorized
Authentication failed or token expired. Example:- Verify your credentials
- Re-authenticate to get a new token
- Check token expiration
403 Forbidden
Valid authentication but insufficient permissions. Example:- Missing required capability (e.g.,
PROJECT_DATA_EXPORT) - Workspace-level restrictions
- Project-level access restrictions
- Contact support@lumafield.com to request capabilities
- Verify workspace membership
- Check project access permissions
404 Not Found
Resource doesn’t exist or was deleted. Example:- Verify the resource ID
- Check if the resource was deleted
- Ensure you have access to the resource
429 Too Many Requests
Rate limit exceeded. Example:- Implement exponential backoff
- Add delays between requests
- Contact support for higher limits
Field-Level Validation Errors
Some endpoints return field-specific errors:Error Handling Best Practices
1. Always Check Status Codes
2. Parse Error Messages
3. Implement Retry Logic
Next Steps
- Rate Limits - Learn about rate limiting
- Troubleshooting - Common issues and solutions
- API Reference - Complete endpoint reference