We use cookies to make HubSpot's community a better place. Cookies help to provide a more personalized experience and relevant advertising for you, and web analytics for us. To learn more, and to see a full list of cookies we use, check out our Cookie Policy (baked goods not included).
Jan 21, 2022 12:29 AM
In Search Operation for sort can't we give more than 1 field? ..like one field want in ascending and one field require in descending in single query at the same time...in documentation sort is given as array..it means it can take more than one field,but when through postman tried,throwing error as
{
"status": "error",
"message": "too many sorts (count: 2, max allowed: 1)",
"correlationId": "eb421a70-2306-4731-9eb9-b79433ac80b1",
"category": "VALIDATION_ERROR"
}
Jan 27, 2022 3:12 AM
Hi @ShubhangiPawar ,
No , we can give only one filled: and max filter we can go for three only: here is screenshot: https://prnt.sc/26k0brh
Hope this helps!
If we were able to answer your query, kindly help the community by marking it as a solution.
Thanks and Regards.
Jan 24, 2022 10:30 AM
According to the documentation:
Only one sorting rule can be applied to any search.
![]() | Make sure to subscribe to our YouTube channel where you can find the HubSpot Community Developer Show |