Skip to main content
The SeamlessOS API uses standard HTTP status codes and provides structured error responses to help you understand and resolve issues with your requests.

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 issue
  • code: Machine-readable code for the specific detail
  • property: The field or parameter that caused the error
  • suggestion: A suggested correct value (when available)
hint (optional): Additional guidance on how to resolve the error.

HTTP Status Codes

The SeamlessOS API uses standard HTTP status codes to indicate the general category of error: