Errors
Explore the comprehensive error reference for the Lia API - HTTP status codes, error codes, and best practices for error handling.
Error Response Format
{
"code": "ERROR_CODE",
"message": "Human-readable error message",
"status": 400
}HTTP Status Codes
Code
Description
Common Causes
Error Codes
BAD_REQUEST
UNAUTHORIZED
FORBIDDEN
NOT_FOUND
TOO_MANY_REQUESTS
INTERNAL_ERROR
SERVICE_UNAVAILABLE
Example Error Responses
Validation Error
Authentication Error
Not Found Error
Error Handling Best Practices
Check HTTP Status Codes
Handle Specific Error Codes
Implement Retry Logic
Rate Limiting
Last updated
Was this helpful?