SearchRecord function in custom function doesn't work same as api for custom module

SearchRecord function in custom function doesn't work same as api for custom module

Hey,

We met a critical problem that blocks our script to work.

The searchRecords function for our custom module doesn't work in custom function same as the api.

We do exactly the same search with zoho.crm.searchRecords and zoho crm search api, in custom scripts it returns an 4500 error, but with api client it returns the expected result.

Really urgent, please investigate and let we know. Thank you for your updates!

Check the image: