Hi Ramesh Shrestha,
Thank you for your reply.
I did what you suggested, but it still didn't work. It creates the following request:
http://[host]:8080/com.test.products/ProductSet?$skip=0&$top=100&$orderby=IdProduct asc&$filter=substringof('M',IdProduct) and substringof('M',Description)&$inlinecount=allpages
And ends in the same error. And yes, the "M" character is present in both fields of a few records.
But when I use only one of them they generate the following requests:
For idProduct:
http://[host]:8080/com.test.products/ProductSet?$skip=0&$top=100&$orderby=IdProduct asc&$filter=substringof('M',IdProduct)&$inlinecount=allpages
For description:
http://[host]:8080/com.test.products/ProductSet?$skip=0&$top=100&$orderby=description asc&$filter=substringof('M',description)&$inlinecount=allpages
And both work and return the matched records.