web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :

CRM 2011/ 2013 OData Error: Expression of type 'System.Boolean' expected at position 0.

Aileen Gusni Profile Picture Aileen Gusni 44,524

When you do OData Query, somehow you can receive this following error:

“Expression of type 'System.Boolean' expected at position 0.”

Resolution:

Check your ODataQuery

$select=tfp_Color,tfp_extrafreecopiesrateId,tfp_Mono&$filter=tfp_ProductCategoryId/Id (guid'" + productCategoryId + "')

don’t forget to add the operator

$select=tfp_Color,tfp_extrafreecopiesrateId,tfp_Mono&$filter=tfp_ProductCategoryId/Id eq (guid'" + productCategoryId + "')

Try to access using your browser:

Before:

image

After:

SNAGHTML2bd923fc

Hope it helps!


This was originally posted here.

Comments

*This post is locked for comments