missing_aggregate_property

`aggregate_property` is required for every aggregation except `count`.

HTTP status400
Error typeinvalid_request_error
RetryNo. Fix the request.

Response shape

{
  "error": {
    "type": "invalid_request_error",
    "code": "missing_aggregate_property",
    "message": "…",
    "doc_url": "https://docs.borga.is/errors/missing_aggregate_property",
    "request_id": "req_…"
  }
}

See all error codes and how to handle them.