Error Response Structure
All error responses follow a consistent structure with both human-readable messages and machine-readable codes:Error Fields
message (required): A human-readable description of the error suitable for displaying to developers or in logs.
code (required): A machine-readable error code that remains consistent across similar errors, enabling programmatic error handling.
details (optional): An array of specific validation errors or sub-errors, each containing:
message: Human-readable description of the specific issuecode: Machine-readable code for the specific detailproperty: The field or parameter that caused the errorsuggestion: A suggested correct value (when available)
hint (optional): Additional guidance on how to resolve the error.