ValidationErrorResponse

Returned with HTTP 400 when a request fails validation — an unknown or out-of-range query parameter, a malformed value, or a body that does not satisfy the endpoint's schema. details names the offending field and the expected value.

  • error
    enum
    const:  
    validation_error
    required

    Stable machine-readable error code.

    values
    • validation_error
  • message
    Type: string · Message
    required

    Short human-readable summary.

  • details
    Type: string · Details

    Which field failed and why, prefixed by its location — for example query: sort_by: Input should be 'name' or 'volume' or body: min_amount: Input should be a valid integer.