cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Boolean Filter replace error

quentinvillers
Explorer
0 Likes
1,451

Hello, I am struggling to filter with Boolean on an entity connected to BTP Gateway Destination

Here is my entity

When I add a filter here :

When I trigger the flow to Get Record Collection I have the error message :

"{"code":"unknown","status":-1,"message":"Error: r.replace is not a function","rawError":{}}

It does not call my backend odata function, I only get this error message.

If I only call with Text search it works.

View Entire Topic
Dan_Wroblewski
Developer Advocate
Developer Advocate

I think this is a bug. I tried many ways to get this to work but could not. Seems that it is looking for a number or string when creating $filter in the URL so if you do not supply a string or number it fails before sending a call. If you send the value to 0, for example, the OData call is sent but the server says it's not proper syntax.

I would report as bug.

I think there are many other $filter conditions and OData logic that will be added as time goes by.