589941 - Improve error message for orderBy with missing parameters in aggregation framework
What does this MR do and why?
This MR changes error message for ordering by parameterized dimensions in the aggregation framework's GraphQL API with missing parameters
to be:
"specified identifier 'event_date' is not available for given parameters"
How to set up and validate locally
Run this query locally on this MR branch
query {
group(fullPath: "my-group") {
aiUsage {
events(
feature: "code_suggestions"
dateFrom: "2026-01-01"
dateTo: "2026-02-28"
orderBy: [{
identifier: "eventDate",
parameters: {granularity: "daily"},
direction: DESC
}]
) {
nodes {
dimensions {
eventDate(granularity: "daily")
feature
}
totalCount
}
}
}
}
}
References
MR acceptance checklist
Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Edited by Abdelrhman Deif