Zoho Desk Limit for Comma Separated Queries

Zoho Desk Limit for Comma Separated Queries

Hi,

I have just discovered a limit that I believed is not mentioned in any of Zoho's documentations.

My search query looks like so:

  1. "query: {"accountId":"786050000091629966,786050000163589273,786050000163589427,786050000162753705,786050000162112971,786050000161987643,786050000160752868,786050000167089504,786050000167089378,786050000167089024,786050000167070005,786050000166295256,786050000128153693,786050000110560021,786050000046594575,786050000039106461,786050000002225356,786050000076889093,786050000047895103,786050000043365354,786050000044765191,786050000041790249,786050000040359116,786050000037945198,786050000024605077,786050000000525015,786050000155333895,786050000157741437,786050000000718125,786050000011574353,","departmentId":"786050000042648070","status":"Finished","sortBy":"createdTime","customField2":"cf_completion_date:2025-01-28T03:00:00.000Z,2025-10-28T03:00:00.000Z","customField3":"cf_billed:false"}"

And that query is used in the following code:
  1. current_tickets = zoho.desk.searchRecords(ORG_ID,"Tickets",query,from_index,PAGE_SIZE);

As you can see, parameter accountId has exactly 30 IDs used for the search.

If I add one single ID to that comma separated string, I get an empty list as result.


Since no docs have described this limitation, here I am.

Each query field support at most 30 entries. I learned this by trial and error. :(

Hope this helps someone in the future.